November 5th, 2000, 07:04 AM
I call sendmail from a perl script but the message returns to me and doesn't go to the receipent - the script is fine as it has worked before.
does anyone know is this a sendmail thing or something else?
November 5th, 2000, 07:57 AM
>>the script is fine as it has worked before
You believe it's fine but it may not.
>>does anyone know is this a sendmail thing or something else?
Show us your script and give more details. For example:
- Are you running it from command line?
- Is it your own server? If so, do you have root access?
- Have you tried emailing the same receipent via hotmail?
November 5th, 2000, 12:05 PM
yes I have tried runing some from the command line others are called from form pages etc..
yes to all other questions
All scripts will execute but the mail portion will not no scripts have been changed. It just stopped sending mail!
November 5th, 2000, 12:39 PM
now i'm getting this
No local mailer defined
QueueDirectory (Q) option must be set
November 5th, 2000, 01:57 PM
I've now discovered all Messages are in
but not going anywhere
November 5th, 2000, 05:46 PM
1) Restart Sendmail and see what happen
2) Telnet to port 25 and send mail from there. Please ask if you need instruction.
November 6th, 2000, 02:43 AM
Restarted Sendmail and reinstalled - got rid of the
"No local mailer defined
QueueDirectory (Q) option must be set"
The people who co-host our server have gone down this morning so I cannot telnet yet (I'm begining to think this may be a problem their end as they had e-mail problems during the week)
As for port 25 am I right in saying:
telnet open 126.96.36.199:25
the 123's being the IP address.
November 6th, 2000, 03:30 AM
Type in bold below.
telnet 188.8.131.52 25
Connected to foo.bar.com.
Escape character is '^]'.
220 foo.bar.com ESMTP Sendmail 8.11.0/8.11.0; Mon, 6 Nov 2000 01:02:57 -0800 (PST)
250 foo.bar.com Hello foo.bar.com, pleased to meet you
250 <email@example.com>... Sender ok
250 <firstname.lastname@example.org>... Recipent ok
354 Enter mail, end with "." on a line by itself
Type your message here
250 Mail accepted
221 foo delivering mail
Connection closed by foreign host.
Then su, su someone, mail and see if it's smtp problem.
[This message has been edited by freebsd (edited November 06, 2000).]
November 6th, 2000, 05:44 AM
connection refused - unable to connect to remote host.
November 9th, 2000, 09:17 AM
it was our co - hosts problem its OK now
Thanks for your help