OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: SMTP auth using some other server

From: Ramprasad (ramnetcore.co.in)
Date: Wed Mar 01 2006 - 00:14:47 CST


On Tue, 2006-02-28 at 12:54 +0100, Patrick Ben Koetter wrote:
> * Ramprasad <ramnetcore.co.in>:
> > Can I configure postfix to do smtp auth for the incoming mail and use
> > some other SMTP server to do the authentication.
>
> You mean, server A uses the credentials given by a mail client and tries to
> authenticate with these data at server B. If that succeeds, server A considers
> the mail client to be authenticated?
>

Precisely

> If that's what you are looking for, then Cyrus-SASL.2.x (it does
> authentication on request from Postfix) cannot do it.
>
> > Using cyrus sasl I can user the "rimap" mechanism to authenticate
> > against a remote imap server, is there a similar "rsmtp" available ?
>
> Nope, there's no "rsmtp" method for Cyrus-SASL.2.x. You can either use rimap
> with saslauthd to authenticate against an IMAP server or the sql (MySQL,
> PostgreSQL, SQLite) or ldapdb (OpenLDAP, ...) auxprop plugins to access
> database backends.
>

Oh, But if the Server B was a third party server , I would not always
get access to their datastore ( may be SQL, ldap or even shadow
passwd )

Also IMHO it is much easier if you dont have to manage these plugins
especially when there is already a server doing that already

Thanks
Ram