procmail
[Top] [All Lists]

procmail drops file with wrong ownership

2003-12-29 08:04:52
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I use procmail in a systemwide configuration with postfix and
courier-imap (Debian Woody). Normal email delivery works as expected.

Now I added a receipt to catch spam, which is marked by spamassassin.

/etc/procmailrc:

:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
/home/dangerous/Maildir/.spam/


The receipt works, as you can see:

/var/log/procmail.log:

procmail: [3272] Mon Dec 29 00:00:16 2003
procmail: Assigning "LOGABSTRACT=all"
procmail: Match on "^X-Spam-Flag: YES"
procmail: Match on "^X-Spam-Level: \*\*\*\*\*\*"
procmail: Assigning
"LASTFOLDER=/home/dangerous/Maildir/.spam/new/1072652416.3272_0.unix4"
procmail: Notified comsat:
"zeichnungen(_at_)0:/home/dangerous/Maildir/.spam/new/1072652416.3272_0.unix4"
~From sayquesay(_at_)popaccount(_dot_)com  Mon Dec 29 00:00:16 2003
~ Subject: Post: Locating the Fountain of Youth?
~  Folder: /home/dangerous/Maildir/.spam/new/1072652416.3272_0.unix4
~   6098



But the dropped file has the wrong ownership:

- -rw-------    1 root mail       581300 Dec 29 08:10
072652416.3272_0.unix4:2,S


I can't see the message in my email-client. I have to do a: chown -R
dangerous.users /home/dangerous to see the messages!


How can I change this specific behaviour of procmail in my
systemwide-configuration?

Why is the file dropped with root.mail ownership and normal delivery
which is also done with procmail works as expected?


Thanks in advance!


CU Juergen











-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE/8DE0t9jBJLDQOFcRAlmhAJ4u/R6lJu16vJmrPgHQ55eftoFYdQCfflPx
7e6ykiiP0ZLKMev50R2boaU=
=cikf
-----END PGP SIGNATURE-----


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>