sendmail null client

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
Posts: 11
Joined: 2006/04/15 19:04:09

sendmail null client

Post by dreamgear » 2008/04/07 16:54:51

How does one configure sendmail on Centos 4 to just send all outgoing mail to a local smtp server ? I think what I want is a "null client" config. I've tried a few things without much luck.

Posts: 77
Joined: 2007/03/19 10:12:59
Location: Belgium/brussels

Re: sendmail null client

Post by markske » 2008/04/07 19:51:32

Do you meen a local smtp in your network (not localhost?)

you can define in your a smarthost (relay all to one address)

edit /etc/mail/ and add this line in your config (make a copy first for rollback)


activate this
cd /etc/mail

stop/start sendmail (make sure you stop all deamons if one keeps running its possible that the routing is not correct)
(if you run stop 2 times it will kill all instanses)
service sendmail stop
service sendmail start

Post Reply

Return to “CentOS 4 - Server Support”