* Lars Hecking <[EMAIL PROTECTED]> [010329 19:15]:

>> I can use a (folder)-hook to set my From: header and envelope from to
>> [EMAIL PROTECTED]
>> But how can I motivate procmail to filter my mail into
>> /home/user/Maildir/muttusers
>> if a mail to [EMAIL PROTECTED] comes back in?

>  What about
> :0:
> * ^TO_user+muttusers@her\.com
> /home/user/Maildir/muttusers/

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:)

-- 
christian r. molls                            the rain descended,
[EMAIL PROTECTED]               and the floods came

Reply via email to