OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to authenticate with different accounts to same smtp server depending on sender id

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Mon Nov 03 2003 - 11:03:43 CST


* Patrick Ben Koetter <pstate-of-mind.de>:
> * Rainer Stengele <rainerdiplan.de> [031103 17:48]:
> > I have the same smtp server (provider) for different independent
> > accounts (mailboxes). Wanting to authenticate myself to the server I
> > think I have to use SASL and
> >
> > ...
> > /etc/postfix/sasl_passwd:
> > smtp.provider.de username:password
> > bar.com username
> > ...
> >
> > Am I wrong?
>
> Yupp, you're wrong. You're looking at Postfix client side
> authentication, but you need Postfix server side authentication.

No, he isn't wrong.
But what he wants to do can't be done -- there can be only ONE
user:pass combination for any relayhost that requires SMTP-AUTH.
--
Ralf Hildebrandt Ralf.Hildebrandtcharite.de
my current spamtrap spamtrapcharite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
"My computer's sick. I think my modem is a carrier."