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
firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com
I would expect first rule to match a receipt like firstname.lastname@example.org 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@example.com returns the "not such user" error.