Portal Home > Knowledgebase > Articles Database > urgent email problem in cPanel
urgent email problem in cPanel
|Posted by koppan, 08-24-2007, 10:36 AM|
Some how one of our server is not trying to connect to external server when sending email. I can ping or do nslookup without any problem.
Here is the command I am trying and it is not connecting to external mail server, but incoming works fine.
/scripts]# echo testing | mail -v abx....@gmail.com
<= firstname.lastname@example.org U=root P=local S=36
Do you guys know what may be the problem?
|Posted by Patrick, 08-24-2007, 10:41 AM|
|is that the rest of the log file? It's not very helpful.
tail -f /var/log/exim_mainlog
tail -f /var/log/exim/mainlog
Rerun the command above while tailing the correct log file and post the output here.
|Posted by koppan, 08-24-2007, 10:55 AM|
|Here is the output.
2007-08-24 09:53:04 1IOaX2-0005ZK-8l <= email@example.com*********** U=root P=local S=356
some how it is not connecting to any external mail server. What may be the problem?
|Posted by Patrick, 08-24-2007, 11:52 AM|
|That's the very last line from when you try to send an email? Even if it times out, it should still produce an error message...
Have you checked the Exim mail queue to see if the message is there, then try to deliver it and see what error message you get?
|Posted by koppan, 08-24-2007, 12:16 PM|
|There is no error messages, but mails are in the queue. What may be the prolbem?
|Posted by Patrick, 08-24-2007, 12:21 PM|
|Strange that there are no error messages... Have you made any recent changes to your firewall rulesets?
telnet gsmtp163.google.com 25
Does that connect properly?
|Posted by SparkSupport, 08-24-2007, 12:24 PM|
|Make sure gmail.com is resolving from iside your server.
#dig mx gmail.com
also you can try re-installing exim mail server using
|Posted by koppan, 08-24-2007, 12:26 PM|
|Yes, it is working fine some how it is not connecting to the server using exim. I have no clue where the problem is.
I have resintalled exim and didn't help. Any help should be appreciated.
|Posted by Woooo, 08-24-2007, 01:15 PM|
|Is it a cpanel and it worked before it automatically upgraded to cpanel11?
If yes, then you just need to force courier/exim daemon, more details are in cpanel official forums, a lot of peoplr faced email unaccessible on cpanel serveres after upgrade.
|Posted by alrhost, 08-24-2007, 01:18 PM|
|try to check your firewall ports
or try to disable the firewall and retry again
if you are running APF
service apf stop
ps ax | grep apf
|Posted by david510, 08-25-2007, 01:04 AM|
|Do you see "unrouteable domain gmail.com" in the server logs? If yes, try changing the resolver nameservers of your server.
Add to Favourites Print this Article