On Mon, Jun 06, 2011 at 02:46:57PM -0400, Michael Way wrote:

> I have a setup where I use postfix to connect to my work smtpd
> exchange server via TLS encryption
> and normal login authentication. This smtpd server also requires that
> the "From" address in the email header
> is from the same user that authenticates, otherwise I get a:
> "Client does not have permissions to send as this sender"
> 
> I can send emails via this system just fine using mutt or whatever
> command line mail I like,
> BUT I also use fetchmail to get email from our IMAP server.
> I then use a .forward file to keep a local copy AND send a copy to
> gmail as a backup.

Why authenticate? If mail is sent *to* your mailbox, unlike submission,
the server should allow all the mail to be sent to your mailbox. Work
with the server administrator to treat this as "inbound" mail, not
submission of new email.

Munging the "From:" address is an ugly wrong solution.

-- 
        Viktor.

Reply via email to