On Fri, 06 Feb 2009, mantra UNIX wrote: > # mailx -s "test email" [email protected] </dev/null > > # tail /var/log/maillog > ... > Feb 6 17:09:53 abc-host sendmail[11601]: n16N9rC7011601: from=root, > size=48, class=0, nrcpts=1, msgid=< > [email protected]>, relay=r...@localhost > Feb 6 17:09:53 abc-host sendmail[11601]: n16N9rC7011601: > [email protected], ctladdr=root (0/0), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=30048, relay=[127.0.0.1] [127.0.0.1], > dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] > ... > > NOTE: The firewall is stopped and Selinux disabled.
NOTE: mail(1) is using sendmail(8) instead of sendmail(1); the latter is Postfix, the former is Sendmail. Consult the CentOS documentation for instructions on properly purging Sendmail from your system. -- Sahil Tandon <[email protected]>
