> I think he was looking for a somewhat more general solution:) Maybe:
> 
> :0:
> * ^TO_user+\/.*@her\.com
> `echo $MATCH | sed "s/@.*//"`
> 
> Untested, of course. (You might have to escape the "+" in the second
> line, cannot remember the procmail regex syntax right now, too late:)

 Yes, you have to.

 Ralf and I exchanged some more email and finally settled on

:0
* ^Delivered-To: copymail\+\/[^@]*
/copymail/Maildir/$MATCH/

 as he cannot use the From: header. No locking is required for maildir
 delivery.

Reply via email to