Tried, and failed, to use a wildcard in an action rule ... possible ?

2022-07-04 Thread Beau Ford
I have a working opensmtpd configuration with this catchall action: action "catchall" mbox virtual { "@example.com" = billy } ... and I tried to change it slightly to: action "catchall" mbox virtual { "junk*@example.com" = billy } (meaning, any TO with junk* (junkcar, junkboat, junkr

Re: Tried, and failed, to use a wildcard in an action rule ... possible ?

2022-07-05 Thread Thomas Bohl
Is it possible to use a wildcard like this in an action rule ? No. man 5 table ... In a virtual domain context, the key is either a user part, a full email address or a catch-all, following selection rules described in smtpd.conf(5), and the value is one or many recipients as described in alias