[Techtalk] easy SMTP authentication with any MTA

Conor Daly conor.daly at oceanfree.net
Thu Feb 27 00:56:19 EST 2003


On Wed, Feb 26, 2003 at 04:28:57PM +1100 or so it is rumoured hereabouts, 
Mary thought:
> On Tue, Feb 25, 2003, Morgan Landry wrote:
> > I've tried doing something with sendmail, but it's been _way_ too
> > time consuming and confusing. There must be a simpler way,
> > but I haven't found it yet.  Any advice?
> 
> I would suggest looking at postfix instead. Hopefully someone here can
> tell you the two things you need:
> 
> 1. How to make Postfix smart-relay

relayhost = <your.smtp.smart.host>

> 2. How to make it authenticate to the server.

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass

/etc/postfix/saslpass:
foo.com		username:password
bar.com		username2:password3

Sorry I'm too tired to wax lyrical on the subject just now but be warned:
I found the postfix learning curve to be quite steep but that could be a
reflection on the complexity of what I was trying to do...

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 11:49pm  up 2 days,  2:50,  0 users,  load average: 0.08, 0.02, 0.01
Hobbiton.cod.ie
 11:47pm  up 2 days,  2:50,  2 users,  load average: 0.09, 0.07, 0.08



More information about the Techtalk mailing list