MrOzone writes:

Sorry for asking this again, but I am having issues with configuring a box to allow relaying only for specific users. This box will not be listed as a mx server but when we are out of town,  it will allow us to authenicate to send email through. Also there are a servers on the same network who need to send email through it but do not need to authenicate to send.   So I have done the following changes:   Set Auth_login=1

Set where?

There is no such setting in any Courier configuration file.

under smtpaccess in a file called default i have added the following line 192.168.0  allow,relayclient   So when I run makesmtpaccess Then restart courier and everything is required to auth (which is what I want). But I thought that listing that ip range listed in smtpaccess will allow those servers to send without authenicating, but alas they are also required to auth also. Is there a setting that I am missing?

If you set AUTH_REQUIRED (and not "Auth_login") in the esmtpd configuration file, remove that setting. You misunderstood its purpose. Authentication is always required for using the server to relay, and is not required to receive mail for local mail delivery. AUTH_REQUIRED forces authentication even for mail addressed to local domains.

Furthermore, all settings are case sensitive. The correct setting in smtpaccess is "allow,RELAYCLIENT", and not "allow,relayclient". That disables the requirement to authenticate in order to relay mail. That's the only thing that you need to do.


Attachment: pgphCQdjXVE07.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to