Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: (nrd) Bloody sendmail

by newrisedesigns (Curate)
on Dec 31, 2002 at 15:45 UTC ( #223344=note: print w/ replies, xml ) Need Help??


in reply to Bloody sendmail

This may not help, but it's from experience...

How long did you wait to check your mail? It may not have gone through. I ended up getting fifteen "test" emails because my company's ISP was lagging that day. :(

Do as pfaut says, check the sendmail logs first, then ask your ISP if they're having problems.

John J Reiser
newrisedesigns.com


Comment on Re: (nrd) Bloody sendmail
Re: Re: (nrd) Bloody sendmail
by ok (Scribe) on Dec 31, 2002 at 15:57 UTC
    I've given them days so it's not that. this is the error in mail log.

    Dec 31 10:46:35 finn sendmail12925: gBVFkYsF012925: to=<anders@localhost>,<afinn@purdue.edu>, ctladdr=anders@finn.ws (500/100), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60558, relay=localhost.nycap.rr.com. 127.0.0.1, dsn=4.0.0 , stat=Deferred: Connection refused by localhost.nycap.rr.com.

    any ideas?
      Edit the file /etc/mail/access and add
      localhost.nycap.rr.com RELAY
      Restart sendmail - it should now allow relaying from this host.

      Michael

      Your local sendmail probably thinks that 'localhost.nycap.rr.com' is not local, and is denying a relay.
      Make sure your /etc/hosts file has both 'localhost' and 'localhost.nycap.rr.com' entries, both defined as '127.0.0.1'.
      Doug

      'Connection refused' is a TCP/IP error, not a sendmail error. It means you are attempting to connect to a port where there is no server running. Make sure that there is actually a sendmail daemon running on whatever localhost.nycap.rr.com translates to (probably the machine you are running your script on) and that it is running in server mode.

      If this were a relaying problem, he'd be getting something like 'relay denied', not 'connection refused'. He hasn't even established a connection to sendmail. Relaying has not yet come into play here.

      How are you sending the mail? Are you piping to sendmail or mail? Are you using modules? Your original note was light on details.

      --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
        exactly my point pfaut. I've actually tried several things. I've done the mail:sendmail thing with perl. I've tried mail function in PHP. (so yea, going through sendmail both times) and neither worked. I'm thinking my problem may lie in it's trying to mail from localhost.nycap.rr.com. My domain is finn.ws however, since we reside on the roadrunner network, I'm thinking something is resolving our dns to the roadrunner one instead of the finn.ws one. . . Sendmail hasn't had problems until now and mailing from imap and pop3 still works fine inside and outside the network.

        See, to me, I'm thinking the connection refused is comming up because there is no localhost.nycap.rr.com and it should be connecting to localhost or finn.ws. to mail.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://223344]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-23 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (134 votes), past polls