[Dovecot] Problems with the pop3 part of dovecot
Arkadiusz Miskiewicz
arekm at maven.pl
Sun Oct 26 21:14:57 EET 2008
On Sunday 26 of October 2008, Timo Sirainen wrote:
> On Sun, 2008-10-26 at 20:56 +0200, Arkadiusz Miskiewicz wrote:
> > On Sunday 26 of October 2008, Heiko Schlichting wrote:
> > > Brandon,
> > >
> > > > I did modify exim to add the W=size but it also required use_crlf and
> > > > that seemed to break something else.
> > >
> > > You can configure Exim to write ,W=vsize even without use_crlf.
> > > Configuring
> > >
> > > {,S=$message_size,W=${eval:$message_size + $message_linecount + 3}}
> > >
> > > within maildir_tag setting of exim works especially well for me.
> >
> > Hm, does it count correctly?
>
> I'm also wondering that.
>
> > I have mails delivered via exim with this rule:
> >
> > new/1225046769.H367740P9241.mbox2,S=1377,W=1413
> >
> > cat new/1225046769.H367740P9241.mbox2,S=1377,W=1413 | wc -l
> > 37
> >
> > so 1377 + 37 + 3 = 1417 which doesn't match 1413.
>
> But this doesn't seem correct either. File size + linecount should be
> the same as W. Is the file size really 1377 bytes?
It is:
-rw-rw---- 1 mail mail 1377 2008-10-26 19:46
new/1225046769.H367740P9241.mbox2,S=1377,W=1413
Also adding 3 is weird. Exim documentation says "The blank line that separates
the message header from the body is not counted." so it's only 1 line, not 3.
> For example a file that Dovecot has created:
>
> % wc -cl 1224418671.M66880P13668.hurina,W=2087
> 56 2031 1224418671.M66880P13668.hurina,W=2087
> % echo 2031+56|bc
> 2087
--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
More information about the dovecot
mailing list