Results 1 to 11 of 11
Thread: urgent email problem in cPanel
-
08-24-2007, 10:36 AM #1Junior Guru
- Join Date
- Nov 2006
- Posts
- 185
urgent email problem in cPanel
Hi,
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
LOG: MAIN
<= root@servername.com U=root P=local S=36
Do you guys know what may be the problem?
-
08-24-2007, 10:41 AM #2Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
... is that the rest of the log file? It's not very helpful.
Linux ?:
tail -f /var/log/exim_mainlog
FreeBSD:
tail -f /var/log/exim/mainlog
Rerun the command above while tailing the correct log file and post the output here.RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
08-24-2007, 10:55 AM #3Junior Guru
- Join Date
- Nov 2006
- Posts
- 185
Here is the output.
2007-08-24 09:53:04 1IOaX2-0005ZK-8l <= root@zzz.xx*********** U=root P=local S=356
some how it is not connecting to any external mail server. What may be the problem?
-
08-24-2007, 11:52 AM #4Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
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?RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
08-24-2007, 12:16 PM #5Junior Guru
- Join Date
- Nov 2006
- Posts
- 185
There is no error messages, but mails are in the queue. What may be the prolbem?
-
08-24-2007, 12:21 PM #6Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
Strange that there are no error messages... Have you made any recent changes to your firewall rulesets?
Try:
telnet gsmtp163.google.com 25
Does that connect properly?RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
08-24-2007, 12:24 PM #7Web Hosting Master
- Join Date
- May 2006
- Location
- India
- Posts
- 661
Make sure gmail.com is resolving from iside your server.
#dig mx gmail.com
also you can try re-installing exim mail server using
#/scripts/eximup --force██ SparkSupport.Com - The Premier Tech Company
██ Cloud Solutions|Email Infra setup|VOIP|Video Streaming|Software Development
██ Email: info@sparksupport.com █ Phone : 1- 408-600-1449 | Skype : shijils
-
08-24-2007, 12:26 PM #8Junior Guru
- Join Date
- Nov 2006
- Posts
- 185
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.
-
08-24-2007, 01:15 PM #9Death is Sex
- Join Date
- Jun 2006
- Location
- Ahh' UnderPants
- Posts
- 1,013
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.
-
08-24-2007, 01:18 PM #10New Member
- Join Date
- Aug 2007
- Posts
- 4
try to check your firewall ports
or try to disable the firewall and retry again
if you are running APF
service apf
service apf stop
/scripts/updatenow
/scripts/sysup
/scripts/reseteximtodefaults
/scripts/eximup --force
ps ax | grep apf
-
08-25-2007, 01:04 AM #11Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
Do you see "unrouteable domain gmail.com" in the server logs? If yes, try changing the resolver nameservers of your server.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android