in reply to How does one override 550 relays for Mail::Sendmail?

Unless I've missed my guess, the problem isn't with your mailserver (you shouldn't be getting rejected by sendmail on localhost, so it seems it's not running there). I'm assuming you haven't changed Sendmail.pm per the POD documentation for the module. Sendmail.pm uses SMTP, and so it needs an SMTP server. The default server list is qw( localhost smtp.site1.csi.com ). I haven't a clue who manages the latter, but I'd imagine they pretty quickly became fed up with every user of Mail::Sendmail trying to bounce messages through them. I suspect the 550 you see is not from your SMTP server, but smtp.site1.csi.com. So, what you need to do is change the line in Sendmail.pm to point to your SMTP server. This may not seem kosher, but it's recommended by the docs. The doc also gives a couple of alternatives to modifying the module, in case you anticipate moving boxes and forgeting you did it, for instance.

Replies are listed 'Best First'.
RE: RE: How does one override 550 relays for Mail::Sendmail?
by PipTigger (Hermit) on Jun 22, 2000 at 01:13 UTC
    Thank you. I changed the .pm and the exim configs on my Debian box and now it allows mails to get relayed from localhost correctly but my other computer is using RedHat6.2 and a normal sendmail (instead of an alias to exim). I really do want the O'Reilly books on the matter but I cannot afford them just yet. I know smtp configuration is not directly related to Perl but I was hoping someone would know what I need to do. I've checked /etc/mail/access and it contains "localhost RELAY" but still won't allow mail from a local address to be sent anywhere but back to itself. I'll read the Sendmail docs shortly. Thanks again. TTFN & Shalom.

    -PipTigger

    p.s. The Soul Still Burns!
    p.p.s. Sorry to have so many RE:'s above.