On 9/6/2011 4:35 AM, Heiko Wundram wrote:
> Am 06.09.2011 11:24, schrieb Patrick Ben Koetter:
>> * Heiko Wundram<modeln...@modelnine.org>:
>>> 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.
> 
> Thought so; the problem I'm trying to solve is getting software
> which is connected via LAN to a mail relay to be able to use the
> relay. :-)

Seems the easiest solution is to add the client's IP to mynetworks
and don't use SASL.

Or use firewall rules to redirect connections from that client to a
different port with different smtpd_sasl_security_options.

Or use stunnel on the client to connect to port 465/smtps on the relay.


  -- Noel Jones

Reply via email to