Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: (nrd) Bloody sendmail

by ok (Scribe)
on Dec 31, 2002 at 15:57 UTC ( #223355=note: print w/replies, xml ) Need Help??

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

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>,<>, (500/100), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=60558,, dsn=4.0.0 , stat=Deferred: Connection refused by

any ideas?

Replies are listed 'Best First'.
Re: Re: Re: (nrd) Bloody sendmail
by slugmax (Hermit) on Dec 31, 2002 at 17:04 UTC
    Your local sendmail probably thinks that '' is not local, and is denying a relay.
    Make sure your /etc/hosts file has both 'localhost' and '' entries, both defined as ''.
Re: Re: Re: (nrd) Bloody sendmail
by pfaut (Priest) on Dec 31, 2002 at 17:15 UTC

    '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 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 My domain is however, since we reside on the roadrunner network, I'm thinking something is resolving our dns to the roadrunner one instead of the 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 and it should be connecting to localhost or to mail.
Re: Re: Re: (nrd) Bloody sendmail
by mpeppler (Vicar) on Dec 31, 2002 at 17:00 UTC
    Edit the file /etc/mail/access and add RELAY
    Restart sendmail - it should now allow relaying from this host.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://223355]
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2018-08-17 01:10 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (174 votes). Check out past polls.