On 9/22/24 18:46, Philipp wrote: > You miss the point. As I am missing all kinds of points here, I just send the configuration I am able to use without having to change anything in OpenSMTPD. That's two lists, when all I need is the one holding the domains.
table aliases file:/etc/mail/aliases table domains { "hell-of-a-list.com", "lots-of-domains.com" } table "senders" { "@hell-of-a-list.com", "@lots-of-domains.com" } listen on socket listen on all action "local_mail" mbox alias <aliases> action "outbound" relay action "backup" relay backup match from mail-from <"senders"> for any !auth reject match from any for domain <domains> action "backup" match from any action "local_mail" match for any action "outbound" Regards, -- Christian