procmail
[Top] [All Lists]

Re: procmail duplicates arriving message names (?)

2004-12-08 11:22:33
Am 2004-12-08 18:37:42, schrieb Roberto S. G.:
hi,

I've installed procmail 3.22 on a Solaris 9 + sendmail (MLocal) environment.
I use courier-imap for the (Maildir) pop and imap service.
There is always a ~/.procmailrc (quite plain: with just env vars,
without filters), and there are no ~/.forward or /etc/procmailrc.
Arriving messages are store correctly by procmail in ~/Maildir/new folders.
It uses a "msg.aMGFb" style for the message filename, where last five

This is MH I think...
(Never used it)

letters seem to be incremental.

Does this work with courier-imap it need Maildir not MH

So far, it all runs smoothly and seems pretty normal (doesn't it?).

NO

Nevertheless, I've seen cases (very few... and afaik not reproducible)
in which this message file has ended up with a duplicate name in the log
file (~/Maildir/from), which would lead to the impossibility to move the
message from ./new to ./cur folder, 'cause in fact, there was another
file (the previous one) with the same name there... I've lookded there, 

This is not possibel, because courier do not move them simpel.
The messages are renamed with a new timestamp.
Duplicated messages are not possibel exept you have a selfmade setup.

and I've found the message with a strange "temporal" name like :
"1083498*.M*._hostname*" (* means more chars there)...

This Fileas are maildir files

The number up to the first point is the UNIX-Serial-Date
The next field I do not know anymore.
The third filed is your hostname which should not have a "_" in it.

I know (I think i know...) that the ./new to ./cur movement is not task
of procmail (actually courier-imap does it), but:
Why has procmail repeated the name for an incoming message?

Do you run 'rdate' or 'ntpdate' ?
maybe your systemclock is to fast and if NTP correct the time
some seconds back, maybe you end up in dublicated messages...

Shouldn't it store the last used / available name somehow?
Does this has sense to anybody? Is there a known related bug?
The question is important, as we're having some other service problem/s,
and may be they're related to a bad procmail execution...

First correct your procmailsetup to deliver to MAILDIR !!!

MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/.INBOX/
                       ^
        The trailing slash mean "Maildir"

thanx you all for reading this.


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail