On 17.04.2022 21:39, Beau Ford wrote:

On Sat, 16 Apr 2022, gil...@poolp.org wrote:

Hope the example above helps someone in the future. If future readers wonder how I handle multiple recipients for a single alias, I just cc: the second or third recipient in .procmailrc ... so the
normal alias syntax of:

user joe,billy,bob

... is not actually possible ... I have to achieve that with procmail.


are you sure ?

I can't test right now but I don't see a reason why { u...@domain.com = "joe,billy,bob" } would not work, if it really doesn't that may be a mistake on your side or a bug on
OpenSMTPD's



I can confirm ... this line works fine:


action "tones" mbox virtual { "to...@domain.com" = user1 }


... but if I change it to:


action "tones" mbox virtual { "to...@domain.com" = user1, user2 }


... I get:


Performing sanity check on smtpd configuration:
/usr/local/etc/mail/smtpd.conf:42: syntax error
/usr/local/etc/mail/smtpd.conf:62: no such dispatcher: tones


... and the same is true if I remove the space between the commas:


action "tones" mbox virtual { "to...@domain.com" = user1,user2 }


Did you try the exact example Gilles gave? With quoted { u...@domain.com = "user1, user2"} ?

Good luck
Reio

Reply via email to