On 29.03.2012 22:25, Dr Josef Karthauser wrote: > Hey there, Hello Josef,
> I've been scratching my head with LMTP, trying to work out why dspam won't > deliver over it to dovecot (on a local domain socket). > > It turns out that dspam is sending a: > > MAIL FROM:<> SIZE=1234 > > command. Notice the SIZE there? That's not part of the LMTP protocol, is it? it is. But the server (in that case dovecot) has to advertise it. Older version of DSPAM just used the SIZE extension without checking if the server is supporting it or not. However! We fixed that some while ago with two commits: http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commit;h=245b3b5a50890dac0c0adc4801e32bad4980d7ea http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commit;h=16dbb26487413adcd2c63e859cc0fad2b97be300 The code part that is responsible for that can be found in src/client.c starting from line 764: http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=blob;f=src/client.c;hb=HEAD#l764 I think you have an older version of DSPAM that does not have that particular patch. Right? What version of DSPAM do you have? > Anyway, it means that dovecot is rejecting the email as a bad request! Correct. > I'm going to remove the size from the code for now, and see if I can get it > to work that way. Or update/upgrade to a newer version. > What's the word on why it does that? Would someone mind tidying it up so that > we can deliver using LMTP? > > Thanks :). > Joe > -- Kind Regards from Switzerland, Stevan Bajić > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user > ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user