Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 5th, 2000, 07:04 AM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
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?

Reply With Quote
  #2  
Old November 5th, 2000, 07:57 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>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?

Reply With Quote
  #3  
Old November 5th, 2000, 12:05 PM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
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!


Reply With Quote
  #4  
Old November 5th, 2000, 12:39 PM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
now i'm getting this

No local mailer defined
QueueDirectory (Q) option must be set

Reply With Quote
  #5  
Old November 5th, 2000, 01:57 PM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
HI

I've now discovered all Messages are in
/var/spool/mqueue
but not going anywhere

Reply With Quote
  #6  
Old November 5th, 2000, 05:46 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
1) Restart Sendmail and see what happen

2) Telnet to port 25 and send mail from there. Please ask if you need instruction.

Reply With Quote
  #7  
Old November 6th, 2000, 02:43 AM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Hi
Restarted Sendmail and reinstalled - got rid of the
"No local mailer defined
QueueDirectory (Q) option must be set"

problem.

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 123.123.123.123:25
the 123's being the IP address.

Reply With Quote
  #8  
Old November 6th, 2000, 03:30 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Type in bold below.

telnet 123.123.123.123 25
Trying 123.123.123.123...
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)
helo foo.bar.com
250 foo.bar.com Hello foo.bar.com, pleased to meet you
mail from:<des@foo.bar.com>
250 <des@foo.bar.com>... Sender ok
rcpt to:<someone@foo.bar.com>
250 <someone@foo.bar.com>... Recipent ok
data
354 Enter mail, end with "." on a line by itself
Type your message here
.
250 Mail accepted
quit
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).]

Reply With Quote
  #9  
Old November 6th, 2000, 05:44 AM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Hi

Tried that

connection refused - unable to connect to remote host.

Reply With Quote
  #10  
Old November 9th, 2000, 09:17 AM
des des is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 73 des User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
it was our co - hosts problem its OK now
Thanks for your help


Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > sendmail

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap