>> # To enable authenticated SMTP relaying, uncomment AUTHMODULES,
>> # and set ESMTPAUTH to ESMTP authentication mechanisms we support.
>> Currently
>> # AUTHMODULES="authdaemon"
>> # ESMTPAUTH="LOGIN CRAM-MD5"
> Well yes, but how do I overwrite this on per-IP basis?

Simply add stuff into smtpaccess. 

192.168.14.7 allow,RELAYCLIENT 

Works on a single IP basis, or on a netblock basis (192.168.14 
allow,RELAYCLIENT). 

> and similar, but that doesn't work. (I don't want authentication for my local 
> computers).

So add their IPs or their netblock into smtpaccess, uncomment those lines I 
mentioned in esmtpd, and anyone sending from an IP that is not in smtpaccess 
will have to authenticate to relay via your smtp server.  Anyone sending 
from the IPs you've allowed 'relayclient' for, will be able to relay without 
autentication. 

As Bill says, if you have AUTH_REQUIRED turned on anywhere (including 
esmtpd), remove it.  It's not what you're looking for. 

 --James 


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to