Re: Disable sendmail and configure mailx to use an external Postfix server?

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



Dan Burkland wrote:
> Is there anyway I can disable sendmail on my various machines and configure mailx on them to utilize my Postfix SMTP server?

leave sendmail there and in /etc/mail/sendmail.mc add the line:
FEATURE(`nullclient', `smtp.server.example.com')dnl

restart sendmail

nullclient will send all mail to the relay, no local queuing, no local headers.
smarthost will try to deliver locally(if it's a local account), and queue locally.
smarthost is close, but nullclient might be what is wanted.

ref: Sendmail Cookbook, chapter 3.1, Passing All Mail to a Relay
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux