Recently CIHOST.com has run into problems with AOL whereby AOL started rejecting e-mail from any of CIHOST's network (propagation.net). There now seems to be an agreement between the two that as long as some rules are followed mail can be accepted by AOL. One of those rules is that scripts, such as with perl, cannot use the user "nobody" to send e-mails to AOL users.

The question I have is how can I configure my script to use a user other than "nobody"?
When I send an e-mail using MIME::LITE or Mail::Mailer, my maillog shows the two e-mail addresses that were sent, one to AOL user and one to a Yahoo user. The AOL e-mail never gets to its destination but I never see an error in my spooler. The Yahoo e-mail gets to the user successfully.

Oct 29 21:43:37 xxxxxx sendmail[24352]: i9U2hb924350: to=someuser@aol. +com, ctladdr=nobody (99/99), delay=00:00:00, xdelay=00:00:00, mailer= +relay, pri=98308, relay=mail.mx2.propagation.net. [63.249.128.130], d +sn=2.0.0, stat=Sent (Ok: queued as 8DDA7AFBC8) Oct 29 21:43:48 xxxxxx sendmail[24352]: i9U2hb924350: to=someuser@yaho +o.com, ctladdr=nobody (99/99), delay=00:00:11, xdelay=00:00:11, maile +r=esmtp, pri=98308, relay=mx3.mail.yahoo.com. [64.156.215.7], dsn=2.0 +.0, stat=Sent (ok dirdel 2/0)
Here is the snippet from my Perl program:

my $msg = MIME::Lite->new( To => 'someuser@aol.com', From => 'admin@server.com', Subject =>'some subject', Type =>'multipart/related' ); $msg->attach(Type => 'text/html', Data => qq{ (html goes here) } ); $msg->send();
FYI, sendmail from the command line to an AOL user does work when I am logged on as root or another user.

In reply to Using "nobody" to send e-mail by db2admin

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.