The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sendmail perl scripts suddenly not working - where to troubleshoot?

Discussion in 'E-mail Discussions' started by RandyL712, Aug 12, 2011.

  1. RandyL712

    RandyL712 Well-Known Member

    Joined:
    Jul 31, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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@domain.com /var/log/exim_mainlog
    Where email@domain.com can either be the sending or the receiving address.
     
  3. RandyL712

    RandyL712 Well-Known Member

    Joined:
    Jul 31, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Yes, I checked that and it does show the emails the script is sending.

    Code:
    2011-08-12 13:42:43 1Qrwgt-0003FA-8H <= domain@server2.domain.com U=domain P=local S=390
    2011-08-12 13:42:43 1Qrwgt-0003FA-8H => email <email@domain.com> R=virtual_user T=virtual_userdelivery
    2011-08-12 13:42:43 1Qrwgt-0003FA-8H Completed
    
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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).
     
  5. RandyL712

    RandyL712 Well-Known Member

    Joined:
    Jul 31, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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!
     
  7. RandyL712

    RandyL712 Well-Known Member

    Joined:
    Jul 31, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Thanks - I've created ticket 1806338 for this issue.
     
Loading...

Share This Page