Qmail virtual domain outgoing IP address patch
I do not know if it already had been done, but incase not, here it is...
Good luck!


Title: qmail

Qmail virtual domain outgoing IP address patch.

digitaldaemon.com uses qmail in combination with vpopmail. Using those two packages together is great for dealing with email of virtual domains. digitaldaemon.com runs about 50 virtual domains.

However, with several net block's all outgoing email processed by qmail-remote is being sent through the first IP address on the interface. In case of digitaldaemon.com this means that customers using their own domains to relay email always will have a reference to digitaldaemon.com in the message headers once the email is being processed by the system and sent to a remote system. In case they legally bulk mail (or SPAM) and are being reported digitaldaemon.com is being reported as well as their own domain.

To prevent this qmail-remote has been patched to use the IP address of the virtual domain and also use the virtual domain as HELO host instead of the default, i.e. the first IP address of the interface and teh domain name stored in me or helohost. In case qmail-remote is not able to determine the domain name or the domain name is not a local domain which can happen in case of forwarding the default is being used.

The following files were patched:

With a bit of luck you should be able to just drop these files into a current build and rebuild qmail. The changes are being marked with "// JAK".

Reply via email to