我设法使用postfix和dovecot设置我的第一个Debian邮件服务器。 我使用roundcube访问由MySQL数据库中的虚拟用户定义的IMAP帐户。 一切工作到目前为止。 我现在想做的是从其他服务器(例如hotmail)获取邮件并将其分发到相应的虚拟帐户。 由于我完全不知道从哪里开始,所以我想我会试一试,只是要求一个大方向。 任何帮助深表感谢。
我想在我的服务器上运行postfix + dovecot。 我是第一次这样做。 Postfix和Dovecot在本地工作 – 我可以通过telnet连接,并使用命令发送/接收电子邮件。 当我尝试从外部连接时,使用邮件客户端(在我的情况下,Thunderbird),我总是看到客户端警报: Authentication failed 。 我的/ var / log / maillog文件说: dovecot: pop3-login: Disconnected: Shutting down (auth failed, 6 attempts): user=<test.user>, method=PLAIN, rip=xxx.xxx.xxx, lip=xxx.xxx.xxx 。 发行是CentOS 6 编辑( postconf -n ): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix […]
我想使用postfix和dovecotbuild立邮件服务器,使用maildir格式存储邮件,我不希望这些文件中的任何一个进入用户的主目录。 无论我在哪里search如何使postfix使用maildir,他们只是说设置 home_mailbox = Maildir/ 但是这将邮件放置在家庭主目录中。 dovecot很好地让你指定任何path,也给你%u来定制它,所以我把它设置为 mail_location = maildir:/var/mail/users/%u/:INBOX=/var/mail/users/%u/INBOX 我并不介意将INBOX移到其他地方,只要它不在/家中,但我找不到任何方法来做到这一点。 我不想打扰虚拟用户或procmail,或任何东西。
我一直在尝试在我的服务器上设置MX,并且能够使用Dovecot在SSL下使用IMAP部分,但是我无法使用Dovecot作为SASL身份validation来使用SMTP部分。 当我telnet example.com 587 , ehlo给了我以下内容: 250-example.com 250-PIPELINING 250-SIZE 30720000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 在ehlo中没有身份validation,但是如果我通过openssl s_client -starttls smtp -connect example.com:587执行ehlo openssl s_client -starttls smtp -connect example.com:587 ,我得到以下内容: 250-example.com 250-PIPELINING 250-SIZE 30720000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 而使用'\ 0username \ 0password'的base64的普通login返回OK 。 我认为这里的问题不是SASL,因为用户得到authentication,问题在于连接,但我不知道是什么会导致这样的问题。 由于我的收件人限制不允许非SASLauthentication用户通过,默认的telnet给我一个错误。 如何将SASL添加到默认的非STARTTLS连接,以便我可以将其与我的邮件客户端一起使用? 这是我的main.cf: ## […]
我已经build立了我的电子邮件服务器跟随ISPMail教程与虚拟用户在后缀+ dovecot + sieve。 我的问题是:筛中的envelop “variables”不包含原始收件人。 我有一个邮件帐户,我们称之为[email protected]和为postfix设置的其他别名,这些别名都提供给上述地址: [email protected] -> [email protected] @domain.com -> [email protected] 后者是一个全面的地址。 使用master.cfg的以下configuration行后缀调用dovecot: dovecot unix – nn – – pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${user}@${nexthop} -a ${recipient} 用筛我想把收到的所有邮件收件人地址到一个特定的文件夹。 我的筛码看起来像这样: if envelope :is :domain "To" "domain.com" { fileinto "special-folder"; } 这可悲的是不起作用。 进一步挖掘,我发现envelop内的东西总是最终的交付地址, [email protected] 。 我发现这使用以下规则: if envelope :matches "To" "*" { fileinto […]
我有一个与SQL身份validation的后缀邮件服务器,我想实施筛。 筛工作相对良好,包含“fileinto”的规则被完美执行。 我在Sieve中configuration了一个规则,将包含“redirect”的邮件redirect到指定的外部目的地。 因此,实际上,来自[email protected]的用于本地用户[email protected]的电子邮件应当被redirect到[email protected],当主题包含“redirect” if header :contains ["subject"] ["redirect"] {redirect "[email protected]"; stop;} 当我testing它时,我得到以下日志条目 postfix/smtpd[32114]: NOQUEUE: reject: RCPT from mail.server.net[xx.xx.xx.xx]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail.server.net> 我怎么能告诉postfix让dovecot / sieve转发电子邮件? 有人可以提示吗? postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix content_filter = […]
我需要在我的postfix / dovecot服务器上实现解决scheme,每次消息到达时都会执行bash脚本。 为此,我在master.cfconfiguration中做了以下的事情 myhook unix – nn – – pipe flags=F user=customUser argv=/path/to/script.sh ${sender} ${recipient} smtp inet n – – – – smtpd -o content_filter=myhook:dummy 只要您不想通过dovecot发送邮件到邮箱,就可以正常工作。 问题是,不知怎的,我需要把所有东西都扔回去。 或者也许有一个更好的方法,这是我不知道的。 在这种情况下,我感谢每一个想法或提示。
我最近在我的VPS(OVH)上设置了一个postfix / dovecot邮件服务器,但由于某种原因,我无法通过它接收电子邮件。 任何人都可以检查我的DNSlogging和我的Postfix / dovecotconfiguration,看看我出错了。 我的域名是jeroened.be,邮件由mail.jeroened.be处理 提前致谢 DNS: mail 0 IN CNAME vps115965.ovh.net. 0 IN MX 10 mail mail 0 IN A 5.196.227.108 mail 0 IN AAAA 2001:41d0:51:1::1e68 后缀: [jeroen@vps105180 ~]$ sudo postconf -n alias_database = $alias_maps alias_maps = hash:/etc/postfix/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = […]
我在这个周末安装了一个新的邮件服务器,通过ispconfig和dovecot托pipe帐户超过当前。 当我运行doveadm时遇到doveadm 。 但首先这里的configuration: # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.1 auth_debug = yes auth_debug_passwords = yes auth_failure_delay = 1 secs auth_verbose = yes auth_verbose_passwords = yes auth_worker_max_count = 20 disable_plaintext_auth = no imap_metadata = yes mail_attribute_dict = file:Maildir/dovecot-metadata mail_debug = yes mail_gid = 20000 mail_location = maildir:~/Maildir mail_plugins = acl imap_acl […]
我在mail.log上发现了这个错误 May 13 22:11:37 vmi2115 dovecot: dovecot: User [email protected] not allowed to log in using too low UNIX UID 103(postfix) (see first_valid_uid in config file) 我该如何解决? 谢谢