Relay based on regex

Gavin Silver GSilver at rampuptech.com
Wed Nov 3 19:47:17 GMT 2010


As far as I know virtusertable does not support regex at all. Have you looked into milter-regex? 





----------------------------------
Gavin Silver


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Paulo Roncon
Sent: Wednesday, November 03, 2010 8:13 AM
To: mailscanner at lists.mailscanner.info
Subject: OT: Relay based on regex

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
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!



--



More information about the MailScanner mailing list