Postfix Configure Multiple ISP Client SMTP Authentication

Posted on in Categories , , , , , , , , , , , , last updated March 13, 2009

How do I support multiple ISP accounts in the Postfix SMTP client (smarthost) for relaying email? For example:

[a] user1@isp1.com must be relay via smtp.isp1.com.
[b] user1@isp2.com must be relay via smtp.isp2.com.
[c] me@mycorp.com must relay all my default email via smtp.mycorp.com.

Postfix Configure Client SMTP Authentication ( Smarthost Authentication )

Posted on in Categories , , , , , , , , , , , last updated March 12, 2009

My ISP requires that mail from my dynamic IP to our small business email addresses uses their outgoing SMTP servers. This is probably done to reduce abuse and spam but now I’m not able to send email and local Postfix log file displays authentication failure message. How do I relay mail through my mail ISP servers using Postfix SMTP under Linux / UNIX like operating systems?