I'm wondering, how one could set the "Return-Path:" header field properly
using options available in muttrc. Consider the following:

  I'm using corporate network, which has it's own name service, not
registered anywhere in Internet - let's say it's "office.domain". I'm
connecting to the Internet mail server from behind a firewall. My Internet
address I'm setting using very useful "folder-hook" option, depending on the
recipient's address, and in such way "From:" header field is always filled
properly.

  The problem is, that everytime my mails are going out of the system with
"Return-Path: <[EMAIL PROTECTED]>", and not with the Internet address
used in "From:". This could make problems, f.e. when recipient has meanwhile
changed his e-mail address, remote server can't find non-registered domain
"office.domain" to return the error-message, other problem could be the
servers, which are comparing the domain of the SMTP host and the domain of
the sender (f.e. to block spam traffic made from forged addresses), and AFAIK
it's mostly made by comparing "From:" and "Return-Path:" contents. Setting
the "hostname" variable or "my_hdr Return_Path:" (or even both) didn't solved
the problem - mutt is sending mails still with (proper, I agree - but it's
not, what I want): "Return-Path: <[EMAIL PROTECTED]>".

  When I'm using Pine, the solution is simple: I must just set the
"user-domain" option and "use-only-domain-name" checkbox. How could I solve
the problem using mutt?

-- 
                                pozdrawiam / regards

                                                Zbigniew Baniewski

P.S. Currently I managed the case making an entry in
/etc/mail/genericstable, which is remapping the outgoing address, but I'd
prefer the solution with mutt's help only - Pine could make it, anyway...

Reply via email to