我正在玩Exim试图为公司创build一个邮件服务器,基本上我能够发送电子邮件没有问题使用命令行或通过本地。 我试图设置SPF头,但我可以弄清楚,文档是非常低的水平,我应该指出正确的方向。 正如你可以看到在电子邮件的标题我有这个
Delivered-To: [email protected] Received: by 10.194.54.131 with SMTP id j3csp145253wjp; Sun, 23 Nov 2014 14:04:51 -0800 (PST) X-Received: by 10.194.189.81 with SMTP id gg17mr28397292wjc.115.1416780291387; Sun, 23 Nov 2014 14:04:51 -0800 (PST) Return-Path: <[email protected]> Received: from mydomain ([2a01:7e00::f03c:91ff:fe89:9bac]) by mx.google.com with ESMTPS id l17si9093719wiv.106.2014.11.23.14.04.51 for <[email protected]> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 23 Nov 2014 14:04:51 -0800 (PST) Received-SPF: fail (google.com: domain of [email protected] does not designate 2a01:7e00::f03c:91ff:fe89:9bac as permitted sender) client-ip=2a01:7e00::f03c:91ff:fe89:9bac; Authentication-Results: mx.google.com; spf=fail (google.com: domain of [email protected] does not designate 2a01:7e00::f03c:91ff:fe89:9bac as permitted sender) [email protected] Received: from root by mydomain with local (Exim 4.76) (envelope-from <[email protected]>) id 1XsfH1-00032X-53 for [email protected]; Sun, 23 Nov 2014 22:04:51 +0000 Subject: subject2 From: EmailControls <[email protected]> To: <[email protected]> X-Mailer: mail (GNU Mailutils 2.2) Message-Id: <E1XsfH1-00032X-53@mydomain> Date: Sun, 23 Nov 2014 22:04:51 +0000 body mail
在这种情况下,电子邮件已交付给一个Gmail帐户。 我从来没有碰过SPFconfiguration,所以我认为这是正常的,它没有通过。 我知道我必须设置一些txtlogging到我的DNS,但我不知道如何pipe理Exim中的SPFconfiguration。 谢谢
您不能configurationSPF标头。 您查看的标题是在查找您的SPFlogging后由Google添加的。 但是,您可以configuration您的服务器,以便显示SPF通行证。 我已经写了一篇关于使用SPF保护您的电子邮件信誉的文章。 一旦你把所有这些工作看在DKIM和DMARC上。
我看到一些问题。 看起来你已经启用了IPv6,所以你想把exim绑定到一个静态的IPv6地址,并且适当地configurationDNS。 (IP地址和域是文档示例,请相应编辑。)
2001:DB8::25 )。 smtp.example.com )。 AAAA DNSlogging,为IPv4logging添加Alogging TXT DNSlogging“v = spf1 a -all”。 Exim绑定到地址( interface = <; 192.0.2.25 ; 2001:DB8::25; ::1 )。 Exim使用指定的域( primary_hostname = smtp.example.com )。 [email protected]的testing消息并检查标题。 在继续之前先完成这个工作。 abuse和postmaster地址以向您发送电子邮件。 [email protected]并validation。 在继续操作之前先完成这个工作 example.com上的MXlogging更改为smtp.example.com 。 example.com )的SPF TXT DNSlogging,例如vspf1 ipv4:192.0.2.25 ipv6:2001:DB8::25 mx -all 。 研究RFC和其他相关文档。 我的博客上有更多关于运行和电子邮件服务器的信息 。 我还有几个其他的EMail文章,其中一些是Exim特有的。
你不接触后缀; 从SPF的angular度来看,这只会与收到的邮件有关。 对于外发邮件,正确设置DNSlogging – 您可能会发现这个问题和答案是有用的 – 让别人担心标题。