root@hostname cannot send mail

persiasoft

Active Member
Nov 15, 2004
29
0
151
root@hostname cannot send mail for Root/cPanel notification mails

how to resolve?

every day i have more than 1000 msg. in Queue how to resolve this ?
 

cbwass

Well-Known Member
Mar 29, 2002
149
0
316
Have you configured 'Change System Mail Preferences' under 'Server Contacts' in WHM to tell WHM where to send the mail for Root?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You should also tail your exim mainlog and then force delivery of one of those messages in the queue through WHM and watch for errors.
 

persiasoft

Active Member
Nov 15, 2004
29
0
151
cbwass said:
Have you configured 'Change System Mail Preferences' under 'Server Contacts' in WHM to tell WHM where to send the mail for Root?
i did this

chirpy said:
You should also tail your exim mainlog and then force delivery of one of those messages in the queue through WHM and watch for errors.
2005-10-23 04:02:12 1ETJ3y-0005Nd-KC == [email protected] routing defer (-51): retry time not reached

i can send email via all smtps to [email protected] but not from this server,

also my server is an open relay ( found from dnsreport.com ) how to resolve this ?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
If you have the standard cPanel configuration without any additional ACL's (e.g. if you run /scripts/reseteximtodefaults) then you won't have an open relay no matter what dnsreport.com says. If you have made ACL and other setting changes in exim.conf try resetting back to defaults and test it again.

Those errors don't help as they didn't force a redelivery of the mail, you could try and find the orignal reason for it being queued with:

grep 1ETJ3y-0005Nd-KC /var/log/exim_mainlog