1

Topic: Catch-all with prefix | per user catch-all

I read the wiki about adding a catch-all, but i am still not sure if it is possible to  have a catch-all that catches mail by the prefix not the domain.

On my current qmail setup i have different catch-alls or better regex aliases that are determined by the prefix:

Examples:

lof-*@example.com forwards to lof@example.com
blub-*@example.com sends a copy to several addresses
newsletter-*@example makes it easy to sort newsletters and see which site lost your email address, because there are different addresses for different sites


It is great to reduce spam or just see which sites sell or lose your contact details.

Is it possible to recreate that with iredmail?

Thanks for the great work
lof

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Catch-all with prefix | per user catch-all

If you need regex or wildcast, you should use a hash file instead of SQL/LDAP database. For example:

virtual_alias_maps = hash:/etc/postfix/virtual, ...

References:
* http://www.postfix.org/postconf.5.html# … alias_maps
* http://www.postfix.org/virtual.5.html