nmh-workers
[Top] [All Lists]

[Nmh-workers] local domain expansion

2004-08-10 05:35:04
it it possible to get post to rewrite headers in order to fully-qualify
local recipients, before handing the message to the local MTA via smtp?

    - qmail's smtp server does not rewrite addresses -- it
        just passes them on.
    - sendmail, traditionally, adds the local domain to any
        unqualified address it sees. 
    - mh doesn't fully-qualify addresses in the headers.  in the
        everything-is-sendmail world, this was okay.
    - my local mta is qmail, and i have "mts: smtp" set in mts.conf

the problem comes if i send mail to both a local and a remote
recipient at the same time:

    To: sam, joe(_at_)example(_dot_)com

sam gets the message just fine.  joe also gets the message.  but
if joe's MTA is sendmail, what joe will actually receive is an
incorrectly expanded address:

    To: sam(_at_)example(_dot_)com, joe(_at_)example(_dot_)com

which is clearly unreplyable.

is there a way to tell mh never to send mail with unqualified addresses
in the headers?

paul
=---------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 63.7 degrees)


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>
  • [Nmh-workers] local domain expansion, Paul Fox <=