Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: (nrd) Bloody sendmail

by pfaut (Priest)
on Dec 31, 2002 at 17:15 UTC ( [id://223389]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (nrd) Bloody sendmail
in thread Bloody sendmail

'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';

Replies are listed 'Best First'.
more on Bloody sendmail
by £okì (Scribe) on Dec 31, 2002 at 17:37 UTC
    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://223389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found