Hello all, I'm a complete novice with postfix. In fact (sorry to say this) but I didn't want to use postfix at all...
I am a home user where, for many years, I have been using fetchmail->procmail->dovecot on a Fedora machine to collect mail from various locations (pop and imap accounts around the world) and filter and sort them into folders for me and my family. This all used to work quite nicely. Now I have upgraded to Fedora 20 which, it seems, no longer ships with a preconfigured MTA. Fetchmail (apparently) won't work without an MTA. So I installed postfix. I don't want postfix to do anything other than deliver to procmail. I call fetchmail as my user (mark), but it will collect mail for my wife (let's call her Mary) and kids (let's call them Tom and Harry) so I want postfix to hand-off to procmail as root so that it can invoke the /etc/procmailrc recipe which will eventually deliver to /var/spool/mail/mark, /var/spool/mail/mary, /var/spool/mail/tom etc... I've tried putting this in my /etc/postfix/main.cf: mailbox_command = /usr/bin/procmail -a $DOMAIN ... mailbox_transport = procmail and this in /etc/postfix/master.cf: # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== procmail unix - n n - 4 pipe flags=DRhu user=mark argv=/bin/procmail -a ${user} but calling procmail as user=mark (naturally) won't deliver to Mary, Tom and Harry. How do I get it to call procmail as root? (I have tried user=root, but that didn't seem to work). Any help gratefully accepted... Thanks Mark