List Info

Thread: dbmail-lmtp + dspam = broken messages




dbmail-lmtp + dspam = broken messages
user name
2006-01-17 14:26:44
Hi,

I tried to use dbmail 2.0.7 and dspam 3.6.2 in dbmail-lmtp
(instead of 
dbmail-smtp as described in 
http://www.dbmail.org/dokuwiki/doku.php?id=po
stfix_-_dspam_-_dbmail for 
perfomance reason).

I see valid LMTP exchange in tcpdump log:

...
Subject: Hello
...
Hello, world!
...

But during receive I got broken Subject and Body:

$ telnet localhost 110
...
retr 11
+OK 1209 octets
...
Subject: Hell
...
hell
...

dspam config:

Home /var/lib/dspam
StorageDriver /usr/lib/libpgsql_drv.so
DeliveryHost        127.0.0.1
DeliveryPort        24
DeliveryIdent       localhost
DeliveryProto       LMTP
OnFail error
Trust root
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
TrainingMode teft
TestConditionalTraining on
Feature chained
Feature tb=5
Feature whitelist
Algorithm graham burton
PValue graham
Preference "spamAction=quarantine"
Preference "showFactors=on"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
PgSQLServer     127.0.0.1
PgSQLPort       5432
PgSQLUser       dspam
PgSQLPass       dspampwd
PgSQLDb         dspam
PgSQLConnectionCache    3
PgSQLUIDInSignature     on
HashRecMax              100000
HashAutoExtend          on
HashMaxExtents          0
HashExtentSize          50000
HashMaxSeek             100
HashConnectionCache     10
Notifications   off
LocalMX 127.0.0.1
SystemLog on
UserLog   on
Opt out
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse full
ServerPort              26
ServerQueueSize 32
ServerPID              /var/run/dspam.pid
ServerMode auto
ServerParameters        "--deliver=innocent"
ServerIdent             "localhost.localdomain"
ProcessorBias on

Why can it be?

--
Thanks,
Eugene Prokopiev

_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
dbmail-lmtp + dspam = broken messages
user name
2006-01-17 14:41:19
hi,

you've tried to use dbmail-smtp?
i got some problems with dbmail-lmtp too, where it corrupted
some mails.
perhaps this is the same bug.



Eugene Prokopiev schrieb:

> Hi,
>
> I tried to use dbmail 2.0.7 and dspam 3.6.2 in
dbmail-lmtp (instead of
> dbmail-smtp as described in
> http://www.dbmail.org/dokuwiki/doku.php?id=po
stfix_-_dspam_-_dbmail
> for perfomance reason).
>
> I see valid LMTP exchange in tcpdump log:
>
> ...
> Subject: Hello
> ...
> Hello, world!
> ...
>
> But during receive I got broken Subject and Body:
>
> $ telnet localhost 110
> ...
> retr 11
> +OK 1209 octets
> ...
> Subject: Hell
> ...
> hell
> ...
>
> dspam config:
>
> Home /var/lib/dspam
> StorageDriver /usr/lib/libpgsql_drv.so
> DeliveryHost 127.0.0.1
> DeliveryPort 24
> DeliveryIdent localhost
> DeliveryProto LMTP
> OnFail error
> Trust root
> Trust mail
> Trust mailnull
> Trust smmsp
> Trust daemon
> TrainingMode teft
> TestConditionalTraining on
> Feature chained
> Feature tb=5
> Feature whitelist
> Algorithm graham burton
> PValue graham
> Preference "spamAction=quarantine"
> Preference "showFactors=on"
> AllowOverride trainingMode
> AllowOverride spamAction spamSubject
> AllowOverride statisticalSedation
> AllowOverride enableBNR
> AllowOverride enableWhitelist
> AllowOverride signatureLocation
> AllowOverride showFactors
> AllowOverride optIn optOut
> AllowOverride whitelistThreshold
> PgSQLServer 127.0.0.1
> PgSQLPort 5432
> PgSQLUser dspam
> PgSQLPass dspampwd
> PgSQLDb dspam
> PgSQLConnectionCache 3
> PgSQLUIDInSignature on
> HashRecMax 100000
> HashAutoExtend on
> HashMaxExtents 0
> HashExtentSize 50000
> HashMaxSeek 100
> HashConnectionCache 10
> Notifications off
> LocalMX 127.0.0.1
> SystemLog on
> UserLog on
> Opt out
> ParseToHeaders on
> ChangeModeOnParse on
> ChangeUserOnParse full
> ServerPort 26
> ServerQueueSize 32
> ServerPID /var/run/dspam.pid
> ServerMode auto
> ServerParameters "--deliver=innocent"
> ServerIdent "localhost.localdomain"
> ProcessorBias on
>
> Why can it be?
>
> -- 
> Thanks,
> Eugene Prokopiev
>
> _______________________________________________
> Dbmail mailing list
> Dbmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail



-- 
Mit freundlichen Grüßen / Best regards

Christian Michallek
IT Management und Integration

DATA CONSULT SYSTEMHAUS GMBH
Bahnhofstraße 26
36037 Fulda

Tel.: 0661- 9339-481
Fax: 0661- 9337-567
eMail: christian.michallekdata-consult.com

http://www.data-consult.c
om

_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
dbmail-lmtp + dspam = broken messages
user name
2006-01-18 03:12:06
Eugene Prokopiev wrote:
> Hi,
> 
> I tried to use dbmail 2.0.7 and dspam 3.6.2 in
dbmail-lmtp (instead of 
> dbmail-smtp as described in 
> http://www.dbmail.org/dokuwiki/doku.php?id=po
stfix_-_dspam_-_dbmail for 
> perfomance reason).
> 
> I see valid LMTP exchange in tcpdump log:

I was trying to debug problems with lmtp delivery
postfix-dspam-dbmail 
about 9 months or so ago. Problems ranged from different
handling of 
error codes to dspam-lmtp daemon crashes/hangs.

After couple of days of banging my head to the wall, I just
ditched the 
whole project and falled back to using postfix - pipe -
dspam - smtp - 
dbmail-smtp which works flawlessly.

I have to note that postfix - lmtp - dbmail-lmtp doesn't
have any 
problems (I do virtual hosting, hence the need of
flexibility) and I use 
it for customers that don't want dspam.

-- 
br,
Tommi
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )