QmailtoasterMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Account verification using badmailto

From Qmailtoaster

Account verification using badmailto

If you do not use a catchall account, then any incoming mail to an undefined account will be bounced or deleted, depending the CatchAll setting. However, if you choose to use a catchall account (for whatever reason), you can specify characteristics of invalid account names using entries in the badmailto control file to reject mail to invalid account names.

For instance, if none of your account names contain the dash (-) character, you can include the line

[-].*@mydomain\.com$

in your badmailto file. This will reject any account name containing a dash. In a similar fashion, if no account names contain a period (.), you could add that too:

[-.].*@mydomain\.com$

If none of the accounts in your domain contain numeric digits, you could add them as well:

[-.0-9].*@mydomain\.com$

Here's a brief explaination of what's going on in these examples:

Regular expresssions in the badmailto file can be a powerful tool to reduce spam when using a catchall account.

For more information about regular expressions, Mastering Regular Expressions is an excellent resource.

User Tips & Tricks

Retrieved from "http://wiki.qmailtoaster.com/index.php/Account_verification_using_badmailto"

This page has been accessed 13,869 times. This page was last modified on 20 November 2010, at 00:39. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main page
Community portal
Current events
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...