Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-07 Thread Heiko Wundram
Am 07.09.2011 19:06, schrieb Jeroen Geilman: On 2011-09-06 13:58, Heiko Wundram wrote: Am 06.09.2011 13:42, schrieb Noel Jones: Or use firewall rules to redirect connections from that client to a different port with different smtpd_sasl_security_options. Thanks, after an off-list reply sugges

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-07 Thread Jeroen Geilman
On 2011-09-06 13:58, Heiko Wundram wrote: Am 06.09.2011 13:42, schrieb Noel Jones: Or use firewall rules to redirect connections from that client to a different port with different smtpd_sasl_security_options. Thanks, after an off-list reply suggesting just that I tried that out, and that wor

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread /dev/rob0
On Tuesday 06 September 2011 05:39:03 Heiko Wundram wrote: > Am 06.09.2011 12:29, schrieb Patrick Ben Koetter: > > You can offer a different SASL policy on a different port on the > > Postfix server side. > > > > Clone the "smtp ... smtpd" service line and configure it to > > listen on a different

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Heiko Wundram
Am 06.09.2011 13:42, schrieb Noel Jones: Or use firewall rules to redirect connections from that client to a different port with different smtpd_sasl_security_options. Thanks, after an off-list reply suggesting just that I tried that out, and that works like a charm. Adding the client to mynet

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Noel Jones
On 9/6/2011 4:35 AM, Heiko Wundram wrote: > Am 06.09.2011 11:24, schrieb Patrick Ben Koetter: >> * Heiko Wundram: >>> As the title says: is there a possibility to set different >>> smtpd_sasl_security_options depending on the connecting IP (or >>> rather subnet) of the client that tries to do authe

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Heiko Wundram
Am 06.09.2011 12:29, schrieb Patrick Ben Koetter: You can offer a different SASL policy on a different port on the Postfix server side. Clone the "smtp ... smtpd" service line and configure it to listen on a different port e.g. 2525. Then add "-o smtpd_sasl_security_options=noanonymous" and let

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Patrick Ben Koetter
* Heiko Wundram : > Am 06.09.2011 11:24, schrieb Patrick Ben Koetter: > >* Heiko Wundram: > >>As the title says: is there a possibility to set different > >>smtpd_sasl_security_options depending on the connecting IP (or > >>rather subnet) of the client that tries to do authentication? > > > >No, yo

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Heiko Wundram
Am 06.09.2011 11:24, schrieb Patrick Ben Koetter: * Heiko Wundram: As the title says: is there a possibility to set different smtpd_sasl_security_options depending on the connecting IP (or rather subnet) of the client that tries to do authentication? No, you can't. Which problem are you trying

Re: Setting different smtpd_sasl_security_options depending on connecting IP

2011-09-06 Thread Patrick Ben Koetter
* Heiko Wundram : > As the title says: is there a possibility to set different > smtpd_sasl_security_options depending on the connecting IP (or > rather subnet) of the client that tries to do authentication? No, you can't. Which problem are you trying to solve? Maybe there's another way to do it.