[lug] Sendmail Relay

Atkinson, Chip CAtkinson at Circadence.com
Wed Oct 11 08:43:52 MDT 2000


(Red Hat centric) That should be possible.  You need to set the relay host
to the machine that you are forwarding to and add the acceptable domains to
/etc/mail/access.  Specifically, 
in /etc/sendmail.cf, add/modify the entry
DSyourrelayhost

For example, 
DSez0.ezlink.com

Then in /etc/mail/access add the line(s)
somedomain       RELAY
someotherdomain  RELAY

cd /etc/mail;make

killall -HUP sendmail 

That should do it.  You should then test it by tail -f /var/log/maillog
whilst sending a message.  Examine your logs to make sure that the message
went through.

Chip

-----Original Message-----
From: Stephen G. Smith [mailto:ss2chef at hotmail.com]
Sent: Wednesday, October 11, 2000 7:13 AM
To: lug at lug.boulder.co.us
Subject: [lug] Sendmail Relay


Hello all

How can I have Sendmail accept mail for domains and then forward
it to another machine right away..?

Thanks,

SGS
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list