I'm trying to setup postfix, dovecot and procmail to work together with virtual users. In the end I want to have virtual users and the possibility to add rules to sort incoming rules. For the last thing, I need procmail (right?).When I send an email to my server, I don't get it in my Maildir, and see this in mail.log:Jun 17 21:01:03 cs postfix/smtpd[24811]: connect from dub0-omc2-s13.dub0.hotmail.com[157.55.1.152]Jun 17 21:01:03 cs postfix/smtpd[24811]: D8C9F44D88: client=dub0-omc2-s13.dub0.hotmail.com[157.55.1.152]Jun 17 21:01:03 cs postfix/cleanup[24816]: D8C9F44D88: message-id=<DUB115-W85D8D79486AEC1D4346693C0830@phx.gbl>Jun 17 21:01:04 cs postfix/qmgr[24806]: D8C9F44D88: from=<my-test-email>, size=1617, nrcpt=1 (queue active)Jun 17 21:01:04 cs procmail[24818]: Denying special privileges for /etc/procmailrcs/default.rcJun 17 21:01:04 cs postfix/smtpd[24811]: disconnect from dub0-omc2-s13.dub0.hotmail.com[157.55.1.152]Jun 17 21:01:04 cs postfix/pipe[24817]: D8C9F44D88: to=<my-virtual-email>, relay=virtualprocmail, delay=0.18, delays=0.15/0/0/0.02, dsn=2.0.0, status=sent (delivered via virtualprocmail service)Jun 17 21:01:04 cs postfix/qmgr[24806]: D8C9F44D88: removedHow can I fix the line Denying special privileges procmail spits out?camilstaps@cs:/# ls -al /etc/procmailrcstotal 12drwxr-xr-x  2 root  vmail   4096 Jun 17 19:48 .drwxr-xr-x 97 root  root    4096 Jun 17 19:47 ..-rw-------  1 vmail postfix   44 Jun 17 19:48 default.rcHere's my /etc/postfix/master.cf:smtp      inet  n       -       -       -       -       smtpdsubmission inet  n       -       n       -       -       smtpdpickup    unix  n       -       -       60      1       pickupcleanup   unix  n       -       -       -       0       cleanupqmgr      unix  n       -       n       300     1       qmgrtlsmgr    unix  -       -       -       1000?   1       tlsmgrrewrite   unix  -       -       -       -       -       trivial-rewritebounce    unix  -       -       -       -       0       bouncedefer     unix  -       -       -       -       0       bouncetrace     unix  -       -       -       -       0       bounceverify    unix  -       -       -       -       1       verifyflush     unix  n       -       -       1000?   0       flushproxymap  unix  -       -       n       -       -       proxymapproxywrite unix -       -       n       -       1       proxymapsmtp      unix  -       -       -       -       -       smtprelay     unix  -       -       -       -       -       smtpshowq     unix  n       -       -       -       -       showqerror     unix  -       -       -       -       -       errorretry     unix  -       -       -       -       -       errordiscard   unix  -       -       -       -       -       discardlocal     unix  -       n       n       -       -       localvirtual   unix  -       n       n       -       -       virtuallmtp      unix  -       -       -       -       -       lmtpanvil     unix  -       -       -       -       1       anvilscache    unix  -       -       -       -       1       scachemaildrop  unix  -       n       n       -       -       pipe  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}uucp      unix  -       n       n       -       -       pipe  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)ifmail    unix  -       n       n       -       -       pipe  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)bsmtp     unix  -       n       n       -       -       pipe  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipientscalemail-backend unix  -       n       n       -       2       pipe  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}virtualprocmail unix - n n - - pipe flags=DRXhuq user=vmail  argv=/usr/bin/procmail -m E_SENDER=$sender E_RECIPIENT=$recipient ER_USER=$user ER_DOMAIN=$domain ER_DETAIL=$extension NEXTHOP=$nexthop /etc/procmailrcs/default.rcmailman   unix  -       n       n       -       -       pipe  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py  ${nexthop} ${user}I'm on Ubuntu Server 13.04.
Procmail: Denying special privileges for /etc/procmailrcs/default.rc
ubuntu;permissions;email;postfix;procmail
man procmail states:Denying special privileges for x  Procmail will not take on the identity that comes with the rcfile because   a security violation was found (e.g.  -p or variable assignments on the  command line) or procmail had insufficient privileges to do so.I the presented case the error message is caused by variable assignments on the command line e.g. E_SENDER=$sender.Possible Fixes: Use another non special to procmail directory to store the script instead of /etc/procmailrcs(As I understand /etc/procmailrcs magic is not required in the case)ORPass use positional parameters on the command line and assigment in *.rc fileprocmail script invocation:/usr/bin/procmail -m /etc/procmailrcs/default.rc $sender $recipient $user $domain $extension $nexthop procmail script (initial part):# DROPRIVS - procmail magical variable, assigment causes side effectsDROPPRIVS=yesE_SENDER=$1 E_RECIPIENT=$2 ER_USER=$3 ER_DOMAIN=$4 ER_DETAIL=$5 NEXTHOP=$6