MrOzone wrote:
Im having a bit of trouble trying to configure smtp so Im not a open relay to send email externally but also internally too. 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? Users do need to smtp auth to send email through it, but the biggest problem is spammers can connect to it and spam our company (to send to our local domain you dont need to smtp auth).

Requiring smtp auth to relay is the default for Courier. You can add a range of IP's that are always allowed to relay by modifying the smtpaccess file. See the man page at:

http://www.courier-mta.org/makesmtpaccess.html

for details on the format of smtpaccess files and the making the data file. My suggestion though is to require auth for relaying on all but the dumbest of smtp clients which don't support smtp authentication (i.e. leave the smtpaccess file as a last ditch workaround).

Jay

--
Jay Lee
Network/Systems Administrator
Information Technology Department
Philadelphia Biblical University

begin:vcard
fn:Jay Lee
n:Lee;Jay
org:Philadelphia Biblical University;Information Technology Department
adr;dom:;;;Langhorne, PA
email;internet:[EMAIL PROTECTED]
title:Network/Systems Administrator
x-mozilla-html:TRUE
url:http://www.pbu.edu
version:2.1
end:vcard

-------------------------------------------------------------------------
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

Reply via email to