On 10/15/2010 06:13 AM, Tony White wrote:
Hello,
Does anyone know if QMT can handle
wildcard domains in the badmailfrom file?

ie

.adomain.com

rather than

@server.domain.com

Tom Clegg has a patch so if anyone has used it
does it wiok please?

http://tomclegg.net/qmail/


qmail-badmailfrom-wildcard

/by t...@tomclegg.net/



You don't need the patch. badmailfrom uses regular expressions (aka regex). Regexes are wildcards on steriods.

See http://wiki.qmailtoaster.com/index.php/Account_verification_using_badmailto (badmailfrom works the same way).

Note that badmailfrom/to filters apply to both incoming and outgoing email, so be careful with it.

In your case, I think you could use:
\.adomain\.com$

--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to