Actually I used msmtp a long while ago with mutt and it seemed to work well. The thing is - I need to get my messages into procmail (as root). Could I accomplish that using msmtp? If so how?
On Tue, Apr 8, 2014 at 9:24 AM, Wijatmoko U. Prayitno <k...@crypto.my.id> wrote: > To make it simple, use mpop & msmtp. I use it and work > great and doesn't needed MTA/postfix. mpop also can work > with MDA/procmail. > > http://mpop.sf.net > http://msmtp.sf.net > > On Tue, 8 Apr 2014 08:45:28 +0100 > Arthur Dent <arthurdent.lon...@gmail.com> wrote: > >> 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 >>