Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Procmail annoyance: filtering mail changes ownership
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Wed Aug 16, 2006 4:43 pm    Post subject: Procmail annoyance: filtering mail changes ownership Reply with quote

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
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Wed Aug 16, 2006 6:40 pm    Post subject: Reply with quote

The solution seems to be http://www.mhonarc.org/archive/html/procmail/2001-12/msg00066.html
Quote:
but I'd try DROPPRIVS=yes just before the lone recipe.
This is the same suggestion as http://info.ccone.at/INFO/Mail-Archives/procmail/Dec-2003/msg00278.html
Quote:
Try:
DROPPRIVS = y

_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum