Mailinglist Archive: opensuse (908 mails)

< Previous Next >
Re: [opensuse] /etc/procmailrc permissions problem
On 2016-06-01 10:33, Bjoern Voigt wrote:
I like to write a procmail recipe which does the following:
All malware mails (tagged with header "^X-Spam-Virus: Yes") should be
delivered to a specific mailbox (e.g. /home/malware/Maildir/) regardless
of the recipient of the mail.

I tried this with

/etc/procmailrc
# ... malware scanner etc.
:0:
* ^X-Spam-Virus: Yes
/home/malware/Maildir/

The problem is, that all mails delivered to /home/malware/Maildir/ get
uid "root" and gid "mail".

I think that you have to forward to the user "malware" instead, not to
the folder in there:

* ^X-Spam-Virus: Yes
! malware

--
Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)

< Previous Next >
Follow Ups
References