Okay,so I'm sending mail using MIME:Lite because it allows me to easily send multipart mail.

However, the problem is that even though I'm setting the Return-Path key to the same e-mail address as the From key, both of my servers (shared virtual hosted servers) end up sending mail with the return path set to the master account e-mail address at the hosting company instead of the value I'm setting using "Return-Path".

Or at least so it appears. (some of the mail appears with the "correct" Return-Path, but since this is mail sent to the same domain as the server I'm sending from, I suspect something else is going on here.)

The point being, if mail is sent with a "different" Return-Path than the "From" many e-mail programs, including Outlook Express flag the mail as "junk". I'm obviously trying to avoid this.

So the questions are (1) Is there a way to solve this using a different Perl module (2) Is my problem a even a function of the server or is it a function of interpretation by the receiving server of the mail I'm sending (3) Am I doing something wrong. Why is the "Return-Path" value being overridden even though I expressly set it?

I suspect that if I were on a dedicated server, I'd have greater control over sendmail (currently I have no control) and this might solve part of my problem.
--
Filmo the Klown


In reply to Configuring Return-Path with MIME:Lite by filmo

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.