OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Residual server

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Tue May 03 2005 - 09:34:28 CDT


On Tue, May 03, 2005 at 03:13:06PM +0100, Geoff Gibbs wrote:

> Unfortunately our institute is being closed down.
> I am setting up a server, which can be left somewhere, which
> will cater for 3 groups of people :-
>
> Forward mail
> Reject mail, giving their new address
> Reject mail, giving a helpful message
>
> I have used the firewall set-up from the documentation, with no
> local delivery. I can handle the groups thus :-
>
> Forward mail - virtual maps
> Reject with new address - relocated maps
> Reject with message - transport maps with 'error:message'
>
> This seeems to work ok, but I would like the 3rd option to be
> for any address not covered by the first 2. The relocated maps
> seem to overide the transport maps, which is fine, but,
> not surprisingly, the transport maps overide the virtual maps.
> I could arrange the transport maps to be a pcre to match
> anything except those in the virtual maps, but this does not seem
> very satisfactory. Is there a better way to do this.
>

Use access(5). Whitelist the forwarded users and then respond
to the others as appropriate.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>