Feature request; automatically send out from server ip

tristan

Verified User
Joined
Feb 11, 2005
Messages
707
Location
The Netherlands
With Spamblocker becoming more intelligent every day; wouldn't it be a good time to introduce some more logic at the remote_smtp section?

As documented here: http://help.directadmin.com/item.php?id=152, you can add a specific IP by adding a line:
Code:
interface = 1.2.3.4
And you probably should because if you ever decide to add an IP address to your DirectAdmin server lower than the current one, Exim starts sending out from that one thus breaking all SPF records. Because of that a lot of receiving mail servers will falsely tag your email as spam of course. Same goes for when you add an IPV6, if you didn't disable this specifically in your exim.conf chances are Exim will start using that IPv6 over your default server IP.

Wouldn't it be easier to manage when there would be an "interface =" line with the server IP by default since this same server IP is also used to write the SPF records? It could maybe be parsed from /usr/local/directadmin/data/admin/ips/ from the filename where "status=server" is present or from /usr/local/directadmin/scripts/setup.txt?
 
It's already in the pipeline for implementation :)
More in the sense of sending from the "owned" IP, but adding the server IP as the fallback would be easy enough (and likely required anyway)

John
 
Back
Top