我有一个邮件服务器(Postfix / Dovecot),其configuration如下:电子邮件转到每个虚拟用户的本地邮箱,并转发到Google Apps地址(例如[email protected] .COM)。 这一切正常工作,邮件传递到服务器邮箱和谷歌。 但是,日志中出现了一个奇怪的问题。 服务器路由邮件后,它会接收来自Google Apps服务器的连接,并引用他们刚收到的电子邮件 – 拒绝接受“拒绝中继访问”。 我不确定为什么会发生这种情况,Google正在发送什么样的响应。 这不是一个大问题,但是我对它是什么感兴趣……我有一个怀疑,这是我忽视的东西,但我的searchfu是逃避我! 示例(消毒)邮件日志: Mar 20 13:51:03 services postfix/pipe[15363]: 076BF13A005: to=<[email protected]>, relay=dovecot, delay=0.93, delays=0.45/0.01/0/0.47, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 20 13:51:04 services postfix/smtp[15364]: 076BF13A005: to=<[email protected]>, orig_to=<[email protected]>, relay=gmail-smtp-in.l.google.com[173.194.78.27]:25, delay=1.1, delays=0.45/0.01/0.09/0.57, dsn=2.0.0, status=sent (250 2.0.0 OK 1363787301 fu5si2128331wib.94 – gsmtp) Mar 20 13:51:04 services postfix/qmgr[20596]: […]
我有一个数据库,其中有一个用户名,密码和密码盐。 密码使用SHA512散列。 我的用户数据库中的数据如下所示: user = testuser password_hash = 4acf9dc364843d1adfadfadf42de7d5707b791cc3ee8a2013f15efa8bdb password_salt = QYhZ47zsQA = 我正在尝试使用dovecot sql身份validation和SSHA512对此数据库进行身份validation。 我已经打开身份validationdebugging,我看到这在mail.log: dovecot: auth-worker(8603): Debug: sql(testuser,22.22.22.22): query: SELECT username as user, password_hash as password, password_salt as salt FROM users WHERE username='testuser'; dovecot: auth-worker(8603): sql(testuser,22.22.22.22): Password mismatch dovecot: auth-worker(8603): Debug: sql(testuser,22.22.22.22): SSHA512(testpassword) != '4acf9dc364843d1adfadfadf42de7d5707b791cc3ee8a2013f15efa8bdb' dovecot: auth: Debug: client passdb out: FAIL#0111#011user=testuser#011salt=QYhZ47zsQA= dovecot: […]
所以在我的服务器,我通常会遇到一个问题,不同的电子邮件客户端调用一些特殊的文件夹,如Sent和Trash不同的名称,如Deleted Items Sent Items和Deleted Items 。 我的问题是,我可以以某种方式“别名”所有这些名称,并在内部将它们映射到服务器上的同一个已Sent文件夹? 我设法改变我的dovecot.conf包括部分如: mailbox Sent { special_use = \Sent auto=subscribe } mailbox "Sent Messages" { special_use = \Sent } mailbox "Sent Items" { special_use = \Sent } 这是解决这个烦人的问题的正确方法吗? 它似乎工作,至less有没有在服务器上真正的重复,但一些电子邮件客户端可能会select所有重复的文件夹。 谢谢。
Postfix + dovecot和sasl。 到目前为止工作1域。 添加了一个虚拟域。 传入邮件为这个作品。 但是,传出SASL身份validation失败。 为什么失败我不知道。 /etc/sasl2/smtpd.conf看起来像: pwcheck_method: auxprop auxprop_plugin: sasldb mech_list: PLAIN LOGIN postconf -n输出: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailbox_size_limit […]
我有一个使用dovecot 2.1.7和dspam 3.10.1的反垃圾邮件插件的问题。 我认为,反垃圾邮件插件不能识别垃圾文件夹,因为日志报告 Mar 25 13:11:22 mail imap: antispam: mailbox_is_spam(Junk): 0 在Googlefind很less的结果之后,我很确定,输出结果应该是 mailbox_is_spam(垃圾):1 鸽舍反垃圾邮件configuration如下: protocol imap { mail_plugins = $mail_plugins antispam } plugin { antispam_debug_target = stdout antispam_verbose_debug = 1 antispam_backend = dspam antispam_signature = X-DSPAM-Signature antispam_signature_missing = error antispam_trash = Trash antispam_spam = Junk antispam_dspam_binary = /usr/bin/dspam antispam_dspam_args = –client;–user=%u;–source=error } 当用Thunderbird手动将消息移动到垃圾文件夹时,会发生以下情况: Mar […]
我最近在Centos6 / postfix / dovecot服务器上安装了Roundcube。 默认安装很好,但我想configuration一些我似乎无法解决的选项。 我的最终结果将是一个用户命中: http://domainname1.com/mail http://domainname2.com/mail 要么 http://mail.domainname1.com http://mail.domainname2.com 我已经设定 $rcmail_config['include_host_config'] = true; 在我的main.inc.php中创build了domainname1.inc.php和domainname2.inc.php 我改变了以下每个 $rcmail_config['default_host'] = array('domainname1.com'); $rcmail_config['default_host'] = array('domainname2.com'); 我不确定其他事情,否则我需要改变。 任何帮助,将不胜感激
我试图configurationdovecot来处理配额限制。 我遵循指南并configuration了正确的步骤。 我甚至比较他们与我们目前的邮件服务器。 问题是,Dovecot不写入数据库中的quota2表。 我已经检查了两个mysql日志和maillog文件(dovecot日志位置),但是我没有看到有关配额的任何错误。 所有其他查询工作完美。 用户表中的配额也被提取。 有人有线索吗? 我错过了什么? Dovecot -n输出: # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 3.14.35-28.38.amzn1.x86_64 x86_64 ext4 auth_mechanisms = plain login dict { quotadict = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } mail_location = maildir:/var/spool/mail/virtual/%d/%n mail_plugins = quota mail_privileged_group = mail mbox_write_locks = fcntl passdb { args = /etc/dovecot/conf.d/dovecot-sql.conf.ext driver = sql } plugin { quota = […]
在我用Ubuntu上的Postfix和Dovecot设置邮件服务器的过程中,我现在可以发送邮件到其他域。 但是,我不能接受别人。 在它读取的日志中 Jun 14 09:34:35 postfix/smtpd[27426]: connect from mail-wg0-f44.google.com[74.125.82.44] Jun 14 09:34:35 postfix/smtpd[27426]: warning: SASL: Connect to private/auth failed: Permission denied Jun 14 09:34:35 postfix/smtpd[27426]: fatal: no SASL authentication mechanisms Jun 14 09:34:36 postfix/master[18697]: warning: process /usr/lib/postfix/smtpd pid 27426 exit status 1 Jun 14 09:34:36 postfix/master[18697]: warning: /usr/lib/postfix/smtpd: bad command startup — throttling 我不知道我的configuration有什么错误。 […]
我处于陡峭的电子邮件处理学习曲线的早期阶段,温柔的赞赏:-)。 我有一个设置与后缀和dovecot。 我试图将我的电子邮件服务器(域example.com )从我家迁移到其他地方( test.example.com )运行的实例。 这个想法是,当事情似乎工作,我会改变DNS和取代test.example.com example.com )。 我怀疑我所拥有的问题可能是过渡性的,但希望得到任何validation。 在我的旧服务器上,我有实际的Unix账户,并在/ etc /别名中有以下内容: a: \a, b 以便发送到[email protected]电子邮件除了本地副本外, [email protected]转发到[email protected] 。 在我的新服务器上(目前test.example.com [email protected], [email protected] ),我有虚拟用户[email protected], [email protected] , $virtual_alias_maps包含 @test.example.com @example.com [email protected] [email protected], [email protected] 其中发送到[email protected]电子邮件将按照预期的方式交付,而无需循环。 然后,我以下面的方式将spamassassin添加到main.cf中,似乎只有一个例外。 smtp inet n – – – – smtpd -o content_filter=spamassassin spamassassin unix – nn – – pipe user=debian-spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail […]
我一直摆弄main.cf文件很长一段时间,但仍然无法find原因。 我已经build立了一个电子邮件服务器与这个教程电子邮件与Postfix,Dovecot和MariaDB在CentOS 7 这是关于后缀的部分: myhostname = server.example.com mydestination = localhost, localhost.localdomain mynetworks = 127.0.0.0/8 inet_interfaces = all message_size_limit = 30720000 virtual_alias_domains = virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_mailbox_base = /home/vmail virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = […]