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.

In reply to RE: How does one override 550 relays for Mail::Sendmail? by athomason
in thread How does one override 550 relays for Mail::Sendmail? by PipTigger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.