archiving emails

Sandy Drobic cyrus-info at
Thu Jun 21 14:46:56 EDT 2007

Diego M. Vadell wrote:
> Hi,
>    I did that with postfix, making a virtual alias with pcre. From the top of 
> my head, it was something like this:
>          ($1),($1)
> This syntax is surely wrong, but the idea is to use pcre to match the username 
> part and put it in the virtual aliases. 

Yes, the Syntax is wrong. (^-^)

virtual_alias_maps = pcre:/etc/postfix/virtual.pcre

/(.+)	$1 at, $1 at

A much bigger problem is, that this wildcard alias is destroying recipient
validation. This is only viable, if this alias is applied after recipient
validation took place. Don't use this on your mx!


More information about the Info-cyrus mailing list