OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: postmaster address
From: Gilles Grandou (gilles.grandoueuromips-systems.com)
Date: Mon Feb 21 2000 - 03:53:07 CST


My mail seemed to be corrupted, so let's resent it

>
> Hi all,
>
> How about a main.cf option to configure the postmaster address ?
>
> My concern is that I have a mail server in our internal local network (with an
> unofficial local domain name). So the $my_origin parameter is a private name.
> I use canonical maps and regexp to rewrite all internal addresses to the
> official ones. It works fine except (and it's normal) for postmaster address
> in the body of bounce/relocated/delayed messages:
>
> From: MAILER-DAEMONour-official.dom
> ...
> For further assistance, please contact postmasterour-internal.dom
>
> I have seen in source that postmaster is a hardcoded define and that its
> address is generated with canon_addr_external().
> As a workaround, I have set $myorigin to 'our-official.dom', but my idea is to
> had a variable to set explicitly the postmaster address.
>
> Any comment from Postfix gurus ?
>
> Gilles.