Goet, Kees wrote:
One of our customers, who is a reviewer with a magazine, has the
following email-account with this magazine:

            [EMAIL PROTECTED],

however she uses her company-address as from-address:
[EMAIL PROTECTED]

Now she sends me an email from the account she has with the magazine:

            From: [EMAIL PROTECTED]

            To:     [EMAIL PROTECTED]

This mail arrives in my mailbox with:

            From: [EMAIL PROTECTED] on behalf of
[EMAIL PROTECTED]


microsoft things... they rewrite the From: header using the Sender: header. This either happens in your MS thing after postfix or at the sender side before your postfix. In either case, postfix doesn't care.

The mail-headers contain:

            From: [EMAIL PROTECTED]

            Sender: [EMAIL PROTECTED]

            Return-Path: [EMAIL PROTECTED]

But, in the Postfix logfile I see:

            [EMAIL PROTECTED]


so the envelope sender is [EMAIL PROTECTED]

This gives problems with SPF: mail from "@mycomp.nl" which does not come
from an email-server of "mycomp.nl", so it will be blocked.

This has nothing to do with "on behalf of". This is an SPF issue. either the sender should fix his SPF records (or remove thme) or you should not use SPF (or whitelist his client or whatever).

Doing something analogous from gmail, works allright: in that case the
from-address in the Postfix-logfile is the gmail-address, not the
mycompany-address (also the

Return-Path header has the gmail-address).

So, what determines the from-address Postfix will use?


use for what? your question is not clear. anyway, SMTP relies on envelope, not on headers.

Reply via email to