Qmail SMTP Whitelist & SMTP Authentication

authenticationemailsmtpwhitelist

How can I get qmail to work with both an smtp whitelist and smtp authentication?

If my IP is whitelisted, SMTP authentication does not seem to work (error: "the server does not support SMTP password authentication). This is particularly annoying when using our SMTP server on a roaming device, eg. an iPhone.

As soon as the iPhone is not using the whitelisted IP (ie. not in the office, but over 3G), then SMTP authentication works fine.

Best Answer

If you have the option, install something specifically as a Mail Submission Agent (MSA) for authenticated SMTP mail submission listening on port 587, and have that forward mails to your qmail MTA for subsequent delivery.