-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MrOzone <[EMAIL PROTECTED]> wrote on 2008-Apr-17: > I have a server setup for users on the outside to send email through it, > but im trying to configure it so that everyone needs to do smtp > authentication except 1 ip range. Is this possible?
By default, courier is set up the way you want. You didn't tell us which version of courier on which OS, but assuming you didn't change anything, it probably handles SMTP AUTH correctly. Look in the 'esmtpd' file in your courier 'etc' directory (normally '/etc/courier' or /usr/lib/courier/etc') and find the lines which says "ESMTPAUTH" and "ESMTPAUTH_TLS". That's where you set which types of authentication you allow under which circumstances. There are examples in the file which you can follow. Do *NOT* set "AUTH_REQUIRED" if this is a publicly facing mail server. To allow an ip address range, use the file in the 'smtpaccess' directory. Read the 'makesmtpaccess' man page to see the syntax. You want to set something like 192.168.1 allow,RELAYCLIENT This will allow the entire 192.168.1.0/24 network work to connect and relay mail without authenticating. HTH Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIB3VkGfIHDMaiC9cRAkHOAJ9snUFdUsy3w1HrUYi4leGeXShP9ACfRtzR bur/9aDGbZzIpJEV3MUdmfQ= =KasZ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
