On Tue, 20 Jan 2015 11:35:00 -0800, Benedikt Nießen <[email protected]> wrote:
The problem is that I don’t have control over the target Email server. I need to redirect all email aliases to three addresses (not at the same time).

[email protected] => [email protected]
[email protected] => [email protected]

I just would like to know if I can use a syntax which lets me skip the maintenance of the supported domains.

I don't think you're going to be able accomplish you want using aliases.

I tried putting this line in smtpd.conf to test

accept from any for any alias <aliases> relay

and got this error when checking the config

$ sudo smtpd -n
/etc/mail/smtpd.conf:13: aliases/virtual may not be used with a relay rule

Maybe you could adapt this technique to your purposes.

https://github.com/OpenSMTPD/OpenSMTPD/wiki/Forwarding-mail-to-multiple-recipients

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to