On Tue, Mar 17, 2009 at 12:01:13PM CET, Charles Marcus 
<cmar...@media-brokers.com> said:
> On 3/17/2009 6:47 AM, 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.
> 
> I like this idea, since I have encountered some sites that don't allow
> plus addressing when signing up for things...
> 
> The only obvious issue is to make sure you don't have any users with
> underscores as part of their local username.

I would fear it breaks recipient validation, accepting mail for eavery
address with a _ as valid.

-- 
Erwan

Reply via email to