Thanks for your help.

I made the change. I had to create the file /usr/local/courier/etc/esmtproutes, it wasn't there. I restarted courier. Now, how can I test that it is working properly?

Jeff Gamsby



Jeff Jansen wrote:
On Friday 02 April 2004 20:33, Jeff Gamsby wrote:
  
This may be a dumb question, but I would like to force all outgoing mail 
to a specific smtp server.
    

Not asking is dumber! :-)  Put a line in the 'esmtproutes' file in courier's 
etc directory (usually "/etc/courier" if you built rpms, 
"/usr/lib/courier/etc" otherwise) that says:

: mail.domain.com

with the name of the server you want courier to send everything to.  If you 
use an ip address enclose it in brackets:

: [10.1.1.1]

Now courier will relay ALL mail to this server.  If you need to authenticate 
to relay through this machine then put the info in a file called 
'esmtpauthclient' also in courier's etc directory in the form:

server username password

Make sure that "server" matches the name (or ip address) that you put in 
esmtproutes.  Again, put an ip address in brackets.

Jeff Jansen


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
  

-- 
Jeff Gamsby
Systems Administator III
Center for X-Ray Optics
Lawrence Berkeley National Laboratory
(510)486-7783

Reply via email to