From: "Sahil Tandon" <sa...@freebsd.org>
To: postfix-users@postfix.org
Sent: Friday, July 9, 2010 2:03:23 PM
Subject: Re: SASL Authentication per recipient domain

On Fri, 2010-07-09 at 12:20:12 +0200, David Jacobson wrote:

> I appreciate your response, however if you read my original message
> you will notice that we have had a look at all support
> smtp_sasl_password_maps options and it only allows for the following
> scenario according to the docs:
>
> 1) use SMTP auth for _destination_ mail server
> 2) use SMTP auth PER _email address_ to destination mail server
>
> It does not allow for SMTP auth per _sending domain_
>
> Option 2 will give desired results but is a nightmare to manage
> individual email addresses in the file, we just want to say
> *...@sendingdomain.com uses auth.

Have you explored PCRE to match *...@example.org on the LHS of
smtp_sasl_password_maps?

--
Sahil Tandon <sa...@freebsd.org>

Hi Sahil,

We tried PCRE matches to no avail.  Based on your request we tried to change sasl_passwd lookup from hash to pcre (I'm no postfix guy, so have no idea if this should work or not, but postfix restart didn't complain)

smtp_sasl_password_maps = pcre:/opt/zimbra/postfix/conf/sasl_passwd

Then in sasl_passwd tried various combinations including:

/@domain\.com$/                  username:password

And it did not work, please advise what you mean?  It just seems like SASL doesn't support PCRE.

Thanks!

 

       
David Jacobson
Technical Director
Tel: 011 262 3632
Fax: 086 637 8868
Cell: 083 235 0760
Email: dav...@synaq.com
Web: www.synaq.com

Sandhaven Office Park, Pongola Crescent
Eastgate Ext 17 Sandton

Reply via email to