On 17/04/12 20:55, Sam Varshavchik wrote: >> If not, is there any "magic" I can tap into to make sure a message from >> a virtual IP for a particular domain will pass SPF checking using it's >> own SPF record?
To be clear, I meant using its own single IP on eth0:2, not the main eth0 interface of the server as well. > So, for all the domains you're sending, all that needs to happen is that > the domain's SPF record includes in the IP address the mail gets sent from. I presume you mean the default eth0 interface for where "the IP address the mail gets sent from"? 206.221.219.122 = eth0 206.221.219.125 = eth0:2 ~ grep 206.221.219 /etc/courier/esmtpd PORT=206.221.219.123.25,206.221.219.124.25,206.221.219.125.25 ~ dig +short a eth-os.org. 206.221.219.125 ~ dig +short txt eth-os.org. "v=spf1 ip4:206.221.219.125 -all" Received-SPF: fail (oziwide.com: domain of eth-os.org does not designate 206.221.219.122 as permitted sender) client-ip=206.221.219.122; envelope-from=ad...@eth-os.org; helo=eth-os.org; The point I was making about the postfix configuration is that it works when the SPF/TXT record for the domain only includes the IP of the domain on the virtual interface without having to include the default eth0 IP as well. This is the "magic" I was hoping courier could also emulate. Ie;... 206.221.219.125- unix - n n - - smtp -o smtp_bind_address=206.221.219.125 So is the bottom line there is no way for courier to provide a binding to the virtual interface so that it would pass SPF checks without having to add the default eth0 IP of 206.221.219.122 to the SPF record for eth-os.org? ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users