On Friday 24 October 2003 08:00, Jan Gehring wrote: > i want to create a mail relay server with courier. The courierserver > runs at "mail.mydomain.edu". And when someone sends a mail to > "[EMAIL PROTECTED]" the mail should be redirect to a second (not > available from the internet) mailserver "mail.intern.mydomain.edu". > > Can i use the esmtproutes file for this like the example below ? > # /etc/courier/esmtproutes > mydomain.edu: mail.intern.mydomain.edu
That should work fine. You also need to put "mydomain.edu" into /etc/courier/esmtpacceptmailfor.dir/default (or any file inside the esmtpacceptmailfor.dir directory) and run 'makeacceptmailfor'. Do not put "mydomain.edu" into either locals or hosteddomains or else courier will think those addresses are local and will bounce all the mail since the recipient is an "unknown" address. Jeff Jansen ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
