in reply to Re: Re: SMTP stopped
in thread SMTP stopped

We're wandering away from Perl here, but nevertheless: you can check the mailqueue on the smtp server (if you have access to it) with the mailq command. It gives you a list of stuff that's waiting to be sent, with an explanation as to why it was not sent, if applicable.

If your mail does not show up, check the mailer logs (somewhere in /var/adm or /var/log, depending on your Unix version). If your mail does not show up there, it never got to the server.

If your mail server is on a Windows machine, people more knowledgeable about that than me will provide you with the equivalent commands and log files to check this (I hope ;) ).

CU
Robartes-

Replies are listed 'Best First'.
Re: Re: Re: Re: SMTP stopped
by geo300 (Initiate) on Jan 22, 2003 at 12:33 UTC
    Robartes, your suggestions led me to the answer. I didn't have access to the SMTP server, but found the person who does. The mail was reaching the SMTP box but was failing with an unknown user. Unfortunately, the guy couldn't explain why it ever worked before, but he did explain how to get it working. I had to change the extension @company.com bit to something slightly different and hey presto.

    Thanks for your pointers, especially as this turned out to be a non-Perl problem.