procmail
[Top] [All Lists]

the mail are delivered with wrong permission

2007-06-15 06:19:45

  

hello

I want to use procmail + fetchmail + imapd

in the the fetchmailrc I have
user 'monuser(_at_)monfai(_dot_)com' there with password 'xxxx' is 'monuser' 
here mda "/usr/bin/procmail -d %T" 

in the procmailrc I have 
LOGFILE=/var/log/procmail.log 
MAILDIR=$HOME/Maildir/ 
DEFAULT=$HOME/Maildir/cur 
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:. 
USER=/home/user/Maildir/ 
SPAM=/home/spam/Maildir/ 

#detection SPAM 
:0: 
* ^Subject.*SPAM 
$SPAM 

# filtre sur l'adresse du destinataire 
:0: 
* ^TO_ptr(_at_)minelog(_dot_)com 
$USER 

The problem ?
When procmail see a mail with SPAM in the subject, it move it in the mailbox 
(imap) of the user SPAM but with the permission of root so I can't read it with 
the SPAM user

Why ?

thank you for your answer.
(excuse for my bad english !!!)
                
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses.
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>