sendmail perl scripts suddenly not working - where to troubleshoot?

RandyL712

Well-Known Member
Jul 31, 2002
68
0
156
I've got a handful of scripts that use sendmail to email us contact form results. Suddenly, they're not working. No errors that I can find, they just never arrive.

I'm not even sure where to start to troubleshoot this - it worked last around July 13th (at least, that's the last email I got). Any help would be appreciated. Thanks!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Have you checked the exim logs for whether they are even trying to send?

Code:
exigrep [email protected] /var/log/exim_mainlog
Where [email protected] can either be the sending or the receiving address.
 

RandyL712

Well-Known Member
Jul 31, 2002
68
0
156
Yes, I checked that and it does show the emails the script is sending.

Code:
2011-08-12 13:42:43 1Qrwgt-0003FA-8H <= [email protected] U=domain P=local S=390
2011-08-12 13:42:43 1Qrwgt-0003FA-8H => email <[email protected]> R=virtual_user T=virtual_userdelivery
2011-08-12 13:42:43 1Qrwgt-0003FA-8H Completed
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
How about on the machine that is receiving it? If the server shows the email is sending, this normally means it is the receiving server doing something with it (like putting it into spam filtering or something).
 

RandyL712

Well-Known Member
Jul 31, 2002
68
0
156
Nope, nothing arriving at all. I've tried using sendmail as an email on the same domain as the website, as a gmail account, TO a gmail account, etc. Nothing is getting there. No bouncebacks, no spam folder, nothing. I'm baffled.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Could you please open up a ticket for us to investigate this further. While we cannot troubleshoot coding for a script, we can troubleshoot sendmail itself working properly. You can open up a ticket using WHM > Support Center > Contact cPanel or via the link in my signature. Please post the ticket number upon opening one on this thread, so we can follow up with the results. Thanks!