[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to configure mail server to send all message to a smart host?



>     I'm a newbie. I want to configure mail server to send all messages
> (incoming and outgoing) to another mail server (smart host). Please help me
> how to modify the sendmail.cf to do that.

*** If you are using stock sendmail (8.8.x or 8.9.x) look at the
nullclient.mc (only has 2 lines and one of them defines the mailhub). If
you *really* want to mess with sendmail.cf you'll need to put something
like:

# major relay host: use the $M mailer to send mail to other domains
DR ddn-gateway
CR ddn-gateway

where ddn-gateway is the name of your smarthost..

--Nino

---
nino@well.ox.ac.uk   |   nino@acm.org  |  http://www.well.ox.ac.uk/~nino
The Wellcome Trust Centre for Human Genetics, University of Oxford.
Tel: 44 1865 740079  |  Fax: 44 1865 742196  |   GSM/SMS: 44 385 291920
---