Try only putting the signature in the headers and not the body. That allows most of our problem deliveries to succeed.
Ken On Wed, Apr 09, 2008 at 11:38:16AM -0500, Joseph Love wrote: > Hello all, > > I set dspam up with my postfix server, as a content-filter using lmtp. > dspam will then send it back to postfix via smtp on a separate port > (similar to several examples out there). It seemed to be working for > emails, and was properly inserting it's headers into the emails delivered > to my account. And then I sent an email with an attachment. > > My problem is that dspam is failing to get the email back into postfix, > with the mail log looking like the following. Again, this only happens > with emails that have attachments. A little past the middle of this > section of the logfile is the errors from dspam, and I'm not familiar > enough with the software to know where to continue searching for what might > be wrong or misconfigured. > I've tried searching lists & google, and haven't had any luck. > > Apr 9 16:08:41 mail postfix/smtpd[74745]: connect from > webmail.quietroad.net[64.81.142.247] > Apr 9 16:08:43 mail postfix/smtpd[74745]: 7B8272F3C488: > client=webmail.quietroad.net[64.81.142.247] > Apr 9 16:08:44 mail postfix/cleanup[74753]: 7B8272F3C488: > message-id=<[EMAIL PROTECTED]> > Apr 9 16:09:11 mail postfix/qmgr[74740]: 7B8272F3C488: > from=<[EMAIL PROTECTED]>, size=2518026, nrcpt=1 (queue active) > Apr 9 16:09:11 mail postfix/smtpd[74745]: disconnect from > webmail.quietroad.net[64.81.142.247] > Apr 9 16:09:11 mail dspam[73574]: query error: VERBOSE DEBUG (INFO ONLY - > NOT AN ERROR): see sql.errors for more details > Apr 9 16:09:11 mail postfix/smtpd[74757]: connect from > mail1.gameowls.com[72.21.32.211] > Apr 9 16:09:11 mail postfix/smtpd[74757]: C89772F3C416: > client=mail1.gameowls.com[72.21.32.211] > Apr 9 16:09:11 mail postfix/cleanup[74753]: C89772F3C416: > message-id=<[EMAIL PROTECTED]> > Apr 9 16:09:11 mail dspam[73574]: Packet send failure > Apr 9 16:09:11 mail dspam[73574]: Delivery failed completely > Apr 9 16:09:11 mail postfix/smtpd[74757]: lost connection after DATA > (139442 bytes) from mail1.gameowls.com[72.21.32.211] > Apr 9 16:09:11 mail postfix/smtpd[74757]: disconnect from > mail1.gameowls.com[72.21.32.211] > Apr 9 16:09:11 mail postfix/lmtp[74756]: 7B8272F3C488: > to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, > relay=mail1.gameowls.com[/var/run/dspam.sock], delay=30, > delays=29/0.01/0/0.74, dsn=4.3.0, status=deferred (host > mail1.gameowls.com[/var/run/dspam.sock] said: 421 4.3.0 <[EMAIL PROTECTED]> > Packet send failure (in reply to end of DATA command)) > > Any insight into figuring out what the problem is would be great. > > Misc. machine information: > FreeBSD 6.2 > Postfix 2.5.1 > dspam 3.8.0 (from freebsd ports dspam-devel) > > Thanks, > -Joe > > Below is my dspam.conf file, so that noone needs to request it. > > Home /var/db/dspam > StorageDriver /usr/local/lib/libpgsql_drv.so > DeliveryHost 127.0.0.1 > DeliveryPort 10026 > DeliveryIdent "DSPAM-Daemon" > DeliveryProto SMTP > OnFail error > > Trust root > Trust mail > Trust mailnull > Trust smmsp > Trust daemon > Trust postfix > > TrainingMode teft > TestConditionalTraining on > Feature whitelist > Algorithm graham burton > PValue graham > > Preference "spamAction=tag" > Preference "spamSubject=[SPAM]" > Preference "showFactors=off" > Preference "signatureLocation=headers" > PgSQLServer 72.21.32.212 > PgSQLPort 5432 > PgSQLUser postfixdb > PgSQLPass *censored* > PgSQLDb mail > > PgSQLConnectionCache 5 > PgSQLUIDInSignature on > PgSQLVirtualTable dspam_virtual_uids > PgSQLVirtualUIDField uid > PgSQLVirtualUsernameField username > LocalMX 127.0.0.1 > SystemLog on > UserLog on > Opt out > TrackSources spam > > ParseToHeaders on > #ChangeModeOnParse on > #ChangeUserOnParse on > #MaxMessageSize 4194304 > #MaxMessageSize 307200 > MaxMessageSize 8192000 > > ServerQueueSize 32 > ServerPID /var/run/dspam.pid > ServerMode auto > ServerPass.Relay1 "babblefishing" > ServerParameters "--deliver=innocent" > ServerIdent "localhost.localdomain" > ServerDomainSocketPath "/var/run/dspam.sock" > ClientHost /var/run/dspam.sock > ClientIdent "[EMAIL PROTECTED]" > > ProcessorBias on > ## EOF > >
