Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-15 Thread Noel Jones
On 12/15/2011 2:12 PM, Simon wrote: > > On 15/12/2011, at 5:28 PM, Noel Jones wrote: > >>> >>> Thanks again... what if i just wanted postfix to check a mysql-based list >>> of approved sending email addresses and/or domains? e.g. NOT associate it >>> with a SASL login but has an approved sender

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-15 Thread Simon
On 15/12/2011, at 5:28 PM, Noel Jones wrote: >> >> Thanks again... what if i just wanted postfix to check a mysql-based list of >> approved sending email addresses and/or domains? e.g. NOT associate it with >> a SASL login but has an approved sender list. e.g. all SASL login's would be >> abl

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Noel Jones
On 12/14/2011 8:15 PM, Simon wrote: > > On 15/12/2011, at 3:05 PM, Noel Jones wrote: > >> The sender_login_maps and friends is the only built-in method to >> associate a SASL login with allowed envelope senders. >> >> As a more flexible alternative, you could use an external policy >> service. I

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Simon
On 15/12/2011, at 3:05 PM, Noel Jones wrote: > The sender_login_maps and friends is the only built-in method to > associate a SASL login with allowed envelope senders. > > As a more flexible alternative, you could use an external policy > service. I don't know of any policy services that handle

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Noel Jones
On 12/14/2011 7:38 PM, Simon wrote: > > On 15/12/2011, at 2:02 PM, Noel Jones wrote: > >> On 12/14/2011 3:18 PM, Simon wrote: >>> >>> >>> What we would like todo is update our config so that postfix will only send >>> "from" {anything}@clientdomain.com (where the domain is listed in our >>> "tr

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Simon
On 15/12/2011, at 2:02 PM, Noel Jones wrote: > On 12/14/2011 3:18 PM, Simon wrote: >> >> >> What we would like todo is update our config so that postfix will only send >> "from" {anything}@clientdomain.com (where the domain is listed in our >> "transport" mysql table) and from b...@externaldo

Re: Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Noel Jones
On 12/14/2011 3:18 PM, Simon wrote: > Hi There, > > We have a postfix server running on debian squeeze connected to mysql for > SASL authentication information... along with the following settings in > main.cf: > > smtpd_sender_restrictions = > permit_mynetworks, > permit_sasl_a

Restrict authenticated senders with domain/email SQL lookup table

2011-12-14 Thread Simon
Hi There, We have a postfix server running on debian squeeze connected to mysql for SASL authentication information... along with the following settings in main.cf: smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination,