[2026-01-07 13:15] Sidney Cadot <[email protected]>
> I am trying to get a configuration working where I do the following:
>
> - accept incoming mail via SMTP for a domain "wherewithal.nl" (i.e.,
> [email protected] );
> - rewrite the destination address of that mail to a single gmail address;
> - relay the altered mail to my ISPs smarthost.
> - reject other inbound mail.
>
> I have been experimenting a bit, but I can't get it to work. Specifically,
> address rewriting via "alias" is an option specific for local delivery,
> where I want address rewriting for mail that will be relayed.

There is a 'forward-only' method availible. As far as I understand your
description it does exaclty what you want. You still need a virtual
table which handles the forwoarding for you. See the catchall example
in table(5).

Don't forget forwards are generated localy so you need a 'match from
local' and an action to deliver to the smarthost.

Philipp

> Any help would be appreciated.
>
> Best, Sidney

Reply via email to