Articles of postfix

SPF:softfail(转换电子邮件的域名不会将2a01:4f8:121:2062 :: 2指定为允许的发件人)

我看到这个SPF软失败从我的服务器发送的电子邮件,我注意到2a01:4f8:121:2062 :: 2是一个IPV6地址。 当我检查2a01:4f8:121:2062 :: 2时,它被翻译为0.0.0.2 ipv4,所以ipv6地址似乎是假的。 我有一个没有configurationipv6的Centos服务器,我把所有的东西都设置为默认值。 我该如何解决这个问题? 我应该禁用ipv6在我的服务器上? 是postfix负责这个? 为什么postfix在没有configuration的情况下用ipv6发送邮件? 按要求(我用XX编辑了我有效的ipv4地址) [root@host ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr XX:XX:XX:2B:97:82 inet addr:XX.XXX.XXX.XX Bcast:XX.XXX.XXX.XX Mask:255.255.255.255 inet6 addr: 2a01:4f8:121:2062::2/64 Scope:Global inet6 addr: fe80::4261:86ff:fe2b:9782/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5906959065 errors:0 dropped:0 overruns:0 frame:0 TX packets:3933424961 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX […]

如何使用transport_maps覆盖特定域的MX值,但具有某种forms的冗余

我有一个postfix邮件服务器,我想覆盖特定域的MX值。 根据我的理解,这可以通过使用transport_maps来完成 http://www.postfix.org/postconf.5.html#transport_maps 你添加一行到/ etc / postfix / transport: example.com smtp:[9.9.9.9] 使用以下命令生成后期映射文件: postmap哈希:/ etc / postfix / transport 在/etc/postfix/main.cf中添加或编辑一行: transport_maps = hash:/ etc / postfix / transport 重新启动Postfix 我的问题是,当正常使用MX地址,你通常有多个邮件服务器的冗余(以防万一离线)我怎样才能达到一个传输地图,因为它似乎指向一个单独的IP地址相同的事情。 有没有什么办法来设置,以便在第一个失败的情况下尝试多个IP地址。

RoundCubelogin到本地IMAP服务器失败

我一直在遵循本指南在我的服务器上设置一个邮件服务器: http : //flurdy.com/docs/postfix/edition5.html唯一的区别是本教程使用MySQL数据库,而且我使用PostgreSQL。 但是我无法login到RoundCube。 这是我在RoundCube错误日志中得到的消息: [31-Dec-2013 16:40:42 +0100]: IMAP Error: Login failed for [email protected] from ABCD AUTHENTICATE CRAM-MD5: A0001 NO Login failed. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /?_task=login&_action=login) 这是从IMAP日志: [31-Dec-2013 16:40:37 +0100]: [CB8A] S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. […]

后缀RCPT TO临时查找失败451 &&邮件传输不可用

我configurationPostfix和dovecot在fedora 20我的问题是当设置RCPT返回我 451 4.3.0 <[email protected]>: Temporary lookup failure 我的后缀configuration main.cf # postfix config file # uncomment for debugging if needed soft_bounce=yes # postfix main mail_owner = postfix setgid_group = postdrop delay_warning_time = 4 # postfix paths html_directory = no command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix queue_directory = /var/spool/postfix sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path […]

邮件已经停止在CentOS上工作,因为开启MailScanner

我有一个VPS,我租用它运行Centos 6. VPS安装了ZPanel,用于托pipe一些网站和电子邮件。 我刚刚安装了Mailscanner,现在,我注意到,电子邮件似乎并没有工作。 我看着我的邮件队列,发现他们的电子邮件只是停留在队列中。 我检查了MailScanner是否正在运行,这是我发现: 传入sendmail:head:无法打开'/var/run/sendmail.in.pid 我能做些什么来得到这个工作? 仅供参考:这是我试图安装MailScanner的教程链接: http://xmodulo.com/mailscanner-clam-antivirus-spamassassin-centos.html

postfix配额postmaster每日邮件

我有一个Postfix / Courier和Quota的服务器。 现在我收到每日更新的配额。 2个问题: 我在哪里禁用这个每日更新,因为它总是一个空白的电子邮件: DAILY QUOTA REPORT: ———————————————- | % USAGE | ACCOUNT NAME | ———————————————- 我在哪里可以更改从这个配额邮件从/到领域。 PS。 我正在运行一个Ubuntu服务器

在Fedora Core 21上用PostfixconfigurationClamAV

在现代的Fedora系统上安装Clamav时,我无法find任何帮助。 所有的build议都是旧的,不适用 – 就我所知而言。 而且,我不知道该怎么办 最重要的缺失链接似乎是我告诉Postfix如何调用ClamAV。 但是,在何处定义configuration选项也是完全不清楚的。 我已经安装了这些版本: clamav-0.98.6-1.fc21.x86_64 clamav-filesystem-0.98.6-1.fc21.noarch clamav-data-0.98.6-1.fc21.noarch clamav-lib-0.98.6-1.fc21.x86_64 而且,这是Fedora Core 21.安装的Postfix是: postfix-2.11.3-1.fc21.x86_64 我似乎无法find一个名为clamav-milter.conf的文件,虽然有一个man page(尝试' man clamav-milter.conf ')我find了一个引用,指出文件属于/ man clamav-milter.conf 我想在Postfix的main.cf需要有一个条目来创build或添加一个名为smtpd_milters的条目,以包含告诉Postfix如何调用clamav所需的任何链接。 目前我有一个openDKIM的入口: # This is for openDKIM – missing are clamav and spamassassin: smtpd_milters = inet:localhost:8891 CLEARLY应该有安装方向的地方,但没有我发现有关这些版本。 请告诉我应该怎么做,或者指出我在哪里可以find一个合适的写法,适用于!

Centos 6 – Postfix不会发送到没有标志的自己的域名

我正在将网站移动到另一台服务器,并且遇到了PHP邮件的问题。 但只有当发送邮件到主机域例如[email protected]。 mail($send_to, 'Web contact' ,$message,null,"-r [email protected]"); 我可以通过邮件发送的唯一方法是添加-r标志,这似乎不在于标志后面input什么电子邮件地址。 这是从Centos 5迁移到6,我相信邮件现在使用Postfix而不是sendMail。 是否有一个Postfix设置,我可以改变停止必须添加此标志的每个电话的函数调用? 另外有没有办法强制使用sendMail,而不是使用Postfix,如果我不能解决这个问题? 我应该提到,我知道邮件是从日志中显示的内部路由: 编辑 这是没有标志的失败尝试 May 14 16:13:12 test sendmail[10244]: t4EFDCLq010244: from=apache, size=169, class=0, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost May 14 16:13:12 test postfix/smtpd[10245]: connect from localhost[127.0.0.1] May 14 16:13:12 test postfix/smtpd[10245]: 9EFB3256738: client=localhost[127.0.0.1] May 14 16:13:12 test postfix/cleanup[10248]: 9EFB3256738: message-id=<[email protected]> May 14 16:13:12 test sendmail[10244]: t4EFDCLq010244: […]

鸽子/后缀:转发所有当前消息

我试图做到这一点非常简单,而且在Google之后,很难相信我一直无法find解决scheme。 我想要的是将用户([email protected])的所有当前消息(已发送)转发给另一个外部,并且不在我的控制帐户([email protected])中。 源服务器(我们的)是一个带有postfix / dovecot的Ubuntu Server 14.04。 唯一想到的是通过一个bash脚本,例如,迭代每个明文邮箱的消息,操作其内容以删除标题,并使用sendmail转发它们,但我认为应该有一个简单的工具或选项众所周知的工具来指定要转发的目标帐户和邮件文件path。

OpenSSL没有客户端证书(SMTP,Postfix)

我使用OpenSSL创build一个私钥和自签名的公共证书。 然后,我创build了包含私钥和公共证书(mail.example.com.pem)的证书颁发机构文件。 在局域网中的客户端计算机上,我使用OpenSSL连接到端口587(SMTP)上的Postfix,并告诉OpenSSL使用证书颁发机构文件(mail.example.com.pem)。 openssl s_client -connect mail.example.com:587 -starttls smtp -CAfile /etc/pki/tls/private/mail.example.com.pem 这产生了相当多的输出。 包含在输出中的是来自证书颁发机构文件的公共证书。 所有的TLS,证书和其他安全信息后,我有一个闪烁的光标,所以我试图对你说Postfix。 EHLO mail.example.com 这个命令产生“没有客户端证书”。 这很奇怪,因为我可以从字面上看到前一个输出中的公共证书。 我有一种感觉,我在这里错过了一些概念。 例如,我是否需要告诉客户发送或使用公共证书? Postfix服务器上的公共证书是否与客户端证书不同? 目标:我的总体目标是configurationPostfix来encryption邮件,而不是发送没有encryption的邮件。 这是postconf -n命令的输出: data_directory = /var/lib/postfix home_mailbox = Maildir/ inet_interfaces = all inet_protocols = all mail_owner = postfix mailbox_command = mydestination = example.com, localhost.example.com, localhost mynetworks_style = host queue_directory = /var/spool/postfix smtpd_recipient_restrictions = permit_sasl_authenticated, […]