[CentOS] my mail is refusing messages

Robert kerplop at sbcglobal.net
Thu Nov 19 17:19:21 UTC 2009



Eero Volotinen wrote:
> Nelson Gonzaga wrote:
>   
>> Hi there,
>> I trying to send e-mail using this:
>>
>> mail -s "maillog" ngonzaga at yahoo.com <mailto:ngonzaga at yahoo.com> < 
>> /var/log/maillog
>>
>> but sendmail refused and I don't know why, see my maillog:
>>
>> Nov 19 14:31:33 servertdoc sendmail[11258]: nAJGVXXi011258: from=root, 
>> size=353085, class=0, nrcpts=1, 
>> msgid=<200911191631.nAJGVXXi011258 at servertdoc.toshiba.fmg>, 
>> relay=root at localhost
>>
>> Nov 19 14:31:33 servertdoc sendmail[11258]: nAJGVXXi011258: 
>> to=ngonzaga at yahoo.com, ctladdr=root (0/0), delay=00:00:00, 
>> xdelay=00:00:00, mailer=relay, pri=383085, relay=[127.0.0.1] 
>> [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
>>
>> There is some wrong setup, what can be?
>>     
>
> Yes, you need to setup smarthost correctly and start sendmail ..
>   
I recently solved this one using a small program named "email", 
available at http://www.cleancode.org/projects/email



More information about the CentOS mailing list