On Fri, 9 Jul 2010 09:36:56 +0200 (SAST)
David Jacobson <dav...@synaq.com> articulated:

> From: "Noel Jones" <njo...@megan.vbhcs.org> 
> To: postfix-users@postfix.org 
> Sent: Thursday, July 8, 2010 5:04:07 PM 
> Subject: Re: SASL Authentication per recipient domain 
> 
> On 7/8/2010 8:24 AM, David Jacobson wrote: 
> > Hi There, 
> > 
> > First post to postfix mailing list, be nice... ;) 
> > 
> > Postfix 2.6.6.2z 
> > 
> > We have a hosted mail platform with 100's of companies, some 
> > companies require our MTA to talk to a smarthost for their 
> > domain with authentication. 
> > 
> > As per SASL_README 
> > 
> > The above can be achieved with something like this : 
> > 
> > /etc/postfix/sasl_passwd: 
> > # destination credentials 
> > [mail.isp.example] username:password 
> > # Alternative form: 
> > # [mail.isp.example]:submission username:password 
> > 
> > The problem with the above is it will use the auth details 
> > when talking to mail.isp.example for ALL companies which is 
> > not what we want, we want to simply state that the recipient 
> > domain x.com uses auth and no one else. 
> > 
> > The above method doesn't help us as we can't have anyone who 
> > mails mail.isp.example to use that clients auth details. 
> > 
> > As per http://www.postfix.org/SASL_README.html#client_sasl_sender 
> > 
> > We can do what we want to achieve on a per sender basis which 
> > would give the desired results we are looking for, however 
> > this becomes a problem for us in terms of managing users in 
> > this file when new users are created/removed etc - we would 
> > prefer not to write scripts to try and manage this, it will 
> > get messy. 
> > 
> > So, my question is with SASL Authentication, can we do SMTP 
> > AUTH on a per sender domain basis and not on a per destination 
> > host basis nor a per user basis. 
> > 
> > I'm not quite sure why we can't do something simple like 
> > @domain.com or *...@domain.com if per sender works fine. 
> 
> Now would be a good time to read 
> http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps 
> 
> -- Noel Jones 
> 
> Hi Noel, 
> 
> Thanks for the response, we are already using sender_dependent_relayhost_maps 
> the problem is that from what we can see you cannot specify sender dependant 
> SASL password's, which is our original problem and exactly what we are after. 
> 
> Please let me know if we are wrong here? 

Could this be what you are looking for:

http://www.postfix.com/postconf.5.html#smtp_sasl_password_maps

-- 
Jerry ✌
postfix-u...@seibercom.net

_____________________________________________________________________
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

We are all born equal... just some of us are more equal than others.

Reply via email to