Fran?ois via Postfix-users:
> >Envelope from? Header from?
> 
> I just don't know.  I tried to find the info but could not.  My best guess:
> header from.

It sets both.

With a very simple canonical map

main.cf:
    canonical_maps = inline:{{f...@porcupine.org = b...@porcupine.org}}

Command:

    echo test|mail -r f...@porcupine.org wietse

Logging shows f...@porcupine.org before canonical mapping, and
b...@porcupine.org after canonical mapping.

    Apr  9 16:32:06 wzv postfix/pickup[263275]: 9E0E0A01AA: uid=0 
from=<f...@porcupine.org>
    ...
    Apr  9 16:32:06 wzv postfix/qmgr[263274]: 9E0E0A01AA: 
from=<b...@porcupine.org>, size=405, nrcpt=1 (queue active)

I used the inline map to keep the example as simple as possible. It is very
easy to make mistakes with regular expressions (by forgetting ^, \, or $).

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to