[BUGS] question regrading postfix

Edwin Groothuis edwin at mavetju.org
Tue Sep 2 12:09:54 EST 2008


On Mon, Sep 01, 2008 at 03:44:44PM -1000, goku - wrote:
> Hi all, this is my problem.
> just installed postfix on a freebsd 7 box.
> 
> I went in to the main.cf file to make the necessary changes.
> 
> when sending out emails I would like it to show jon at abc.net.  but when I
> email my friends it shows jon at mail.abc.com.  I tried looking for information
> on the net but the instructions I see says to do it like the way I did it.
> can someone help?
> thanks

Use the sender_canonical mapping:

    [/usr/local/etc/postfix] edwin at k7>grep sender_canonical main.cf
    sender_canonical_maps=btree:/usr/local/etc/postfix/sender_canonical

    [/usr/local/etc/postfix] edwin at k7>cat sender_canonical
    #
    # postmap btree:/usr/local/etc/postfix/sender_canonical
    #

    edwin           edwin at mavetju.org
    root            root at mavetju.org

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the BUGS mailing list