I am trying to define wildcard receipts in SendMail, from what I read in this document http://www.sendmail.org/m4/features.html#virtusertable I understand that this would be a correct syntax inside /etc/mail/virtusertable
old+*@domain1.com [email protected]
[email protected] [email protected]
I would expect first rule to match a receipt like [email protected] but it doesn't. The second rule works ok so I assume that localdomains and similar things are all configured correctly, but how to match a wildcard like in first rule? Sending to [email protected] returns the "not such user" error.
Thank you.