On May 28, 2014, at 2:03 AM, Arthur Dent <arthurdent.lon...@gmail.com> wrote:
>> Try this at the end of procmailrc for regular delivery to the INBOX >> >> >> ################################################################################ >> # Replace default action using dovecot-lda to maintains caches. >> >> ################################################################################ >> :0 w >> | /location/of/dovecot-lda -d $USER >> >> For for non-INBOX filtering, try something like >> >> :0 Hw >> *^Subject: TEST >> |/location/of/dovecot-lda -d $USER -m testbox > > Thanks Joseph - this is really useful. > > By coincidence (whilst researching all of this) last night I cam across > this page: > http://wiki2.dovecot.org/procmail > which says exactly what you suggested. I tried it as an experiment on > just one of my mailing list recipes. It didn't work and dropped through > to my default inbox. This is what I have: > > :0 w > * ^List-Id:.*users.lists.fedoraproject.org > | $DELIVER -m $DESTDIR/MLists/Fedora > But that’s not exactly what was suggested above. It’s missing the “-d $USER”. > where: > DELIVER=/usr/libexec/dovecot/deliver > DESTDIR=/home/mark/mail/ > are defined in a the main procmailrc > > This is what I found in the procmail log: > lda: Fatal: destination user parameter (-d user) not given > procmail: Program failure (64) of "/usr/libexec/dovecot/deliver" > procmail: Couldn't determine implicit lockfile from "spamc" > From users-boun...@lists.fedoraproject.org Wed May 28 01:39:03 2014 > Subject: Five Things in Fedora This Week (2014-05-27) > > Why did this mail not get delivered to /home/mark/mail/MLists/Fedora? As the error above says, it’s missing the “-d $USER” from the example above. -- Larry Stone lston...@stonejongleux.com http://www.stonejongleux.com/
smime.p7s
Description: S/MIME cryptographic signature