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_sasl_password_maps => per user not per domain

From: mouss (usebsdfree.fr)
Date: Sun Jul 02 2006 - 08:07:39 CDT


est_sego2.pl wrote:
> Hi!
>
> First of all sorry for my english, but it is not my native language...
>
> I have postfix 2.1.1 installed on my Suse Enterprise Server ... and I do
> MX backup for some company.
>
> I have one problem with it. In smtp_sasl_password_maps I can use only
> one user:password entry per domain, but I need something like this:
>
> user1mydomain.com user01:pass01
> user2mydomain.com user02:pass02
> ...
>
> and so on (for 30 users...)
>

why? if you're a backup, they should give you _one_ login:password to
authenticate to their server.
The key in smtp_sasl_password_maps is a server, not a domain or an email
address (nor a telephone number ;-p)

If you're trying to authenticate users when they connect to you, then
smtp_* is not the right place (smtp != smtpd). If so, look for sasl
configuration.

> Is it posible to do it with this version of postfix (2.1.1 ...) ?
>
if you mean that for the same remote server, your postfix client would
use different login:pass depending on the sender address, then the
answer is no.