Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

Replies are listed 'Best First'.
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>,<>, (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?
      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 ''.

      '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.
      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://223344]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2018-07-19 16:04 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (411 votes). Check out past polls.