LuKreme wrote:
I rewrite foo_...@example.com to foo+...@example.com
virtaul.pcre:
/^(.*)_(.*)@example.com$/ ${1}+$...@example.com
virtual_alias_maps =
hash:$config_directory/virtual
pcre:$config_directory/virtual.pcre,
mysql:$config_directory/mysql_virtual_alias_maps.cf
your line would look like
/^(.*)@(.*)\.example.com$/ ${1}+$...@example.com
In fact, I like that idea, I might implement it.
ah yes, I should have seen that. Looks perfect, many thanks.
I think I will go with your _ prce, because now I think about it using
sub-domains could make a dictionary attack painful.
Cheers,
Rob