[Dovecot] Corrupted Mail?

Larry Stone lstone19 at stonejongleux.com
Wed May 28 11:13:41 UTC 2014


On May 28, 2014, at 2:03 AM, Arthur Dent <arthurdent.london at 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-bounces at 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
lstone19 at stonejongleux.com
http://www.stonejongleux.com/



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4160 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140528/480590ad/attachment-0001.p7s>


More information about the dovecot mailing list