OT: Relay based on regex

Paulo Roncon paulo-m-roncon at ptinovacao.pt
Wed Nov 3 12:13:21 GMT 2010


Hi, 

This is OT, but I'm struggling:
I need to:
Receive mail to: AS[3 letters]@mydomain.com  and to deliver to SA[3 letters]@mysub.mydomain.com
Ex: TO: ASaaa at mydomain.com DELIVER TO: SAaaa at mysub.mydomain.com

I have sendmail and mailscanner :)

I'm trying to use virtusertable but having trouble with regex... 
Changing to postfix is not an option...

Anyone can please help?

Thanks,
Paulo


More information about the MailScanner mailing list