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, junkrabbit...) matches the
rule).
Syntax is fine - no problems loading the configuration - but sending an
email to:
junkb...@example.com
results in:
result="524 5.2.4 Mailing list expansion problem:
<junkb...@example.com>"
smtp failed-command command="DATA" result="503 5.5.4 Invalid command
arguments: No recipient specified"
Is it possible to use a wildcard like this in an action rule ?
Thank you.