petrjanda Veteran
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Wed Aug 16, 2006 4:43 pm Post subject: Procmail annoyance: filtering mail changes ownership |
|
|
This is my global procmailrc:
Code: |
DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/Maildir/procmail.log
:0 H
* ^X-DSPAM-Result: Spam
$HOME/Maildir/.Spam/
|
All the emails that contain X-DSPAM-Result: Spam get moved to the .Spam folder ok. Except, silly procmail sets owenership on those emails to root therefore users cannot see them untill they chown them to the correct setting. All emails that dont match the regular expression have the correct ownership.
Any ideas?
Cheers,
Petr _________________ There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta |
|