On Sat, 09 Jun 2012 16:12:57 +0100
Paul Cockings <ds...@cytringan.co.uk> wrote:

> On 08/06/2012 13:56, Joerg Brandt wrote:
> > I'm trying to integrate DSPAM
> > into a Sendmail/Dovecot setup under Solaris:
> 
> What problem do you have?

Sending mail from sendmail on stmtp-host to dovecot on imap host 
via LMTP works flawlessly.

With dspam in the middle delivery gets stuck, 
incoming mail ends in log/dspam.messages.


This is the output from "dspam --daemon --debug" 
with "--enable-verbose-debug" compiled in. 
Sequence starts after successful LMTP data transfer.

SRECV: .
using database handle id 5
handle locked
match attribute 'EnablePlusedDetail' with
find attribute
-> found attribute'EnablePlusedDetail' with value 'on'
-> matched attribute 'EnablePlusedDetail' with value 'on'
read attribute 'PlusedCharacter'
find attribute 'PlusedCharacter'
-> found attribute 'PlusedCharacter' with value '+'
-> read attribute 'PlusedCharacter'with value '+' 
read attribute 'PlusedCharacter' 
find attribute 'PlusedCharacter' 
-> found attribute
'PlusedCharacter' with value '+' 
-> read attribute 'PlusedCharacter' with value '+' 
match attribute 'PlusedUserLowercase' with value 'on' 
find attribute 'PlusedUserLowercase'
-> found attribute 'PlusedUserLowercase'
with value 'on' 
-> matched attribute
'PlusedUserLowercase' with value 'on' 
DSPAM Instance Startup 
input args: dspam --deliver=innocent,spam 
 pass-thru args: 
processing user jbrandt uid = 0, euid = 0, gid = 0, egid = 6
loading preferences for user jbrandt
read attribute 'Home'
find attribute 'Home'
-> found attribute 'Home' with value
'/IMAP/dspam' 
23904: [06/11/2012 16:24:38]  -> read attribute 'Home'
with value '/IMAP/dspam' 
23904: [06/11/2012 16:24:38] match attribute
'FallbackDomains' with value 'on' 
find attribute 'FallbackDomains' 
-> match: not found attribute 'FallbackDomains' 
read attribute 'Home'  
find attribute 'Home' 
-> found attribute 'Home' with value '/IMAP/dspam' 
-> read attribute 'Home' with value '/IMAP/dspam' 
read attribute 'Home' 
find attribute 'Home'
-> found attribute 'Home' with value
'/IMAP/dspam' 
-> read attribute 'Home' with value '/IMAP/dspam' 
default preferences empty. reverting to dspam.conf preferences. 
find attribute 'Preference'
-> found attribute 'Preference' with value 'trainingMode=TEFT' 
Loading preferences from dspam.conf 
aggregated preference 'trainingMode' => 'TEFT' 
aggregated preference 'spamAction' => 'deliver' 
aggregated preference 'spamSubject' => '[SPAM]' 
aggregated preference 'statisticalSedation' => '5' 
aggregated preference 'enableBNR' => 'on' 
aggregated preference 'enableWhitelist' => 'on'
aggregated preference 'signatureLocation' => 'headers' 
aggregated preference 'tagSpam' => 'on' 
aggregated preference 'tagNonspam' => 'off' 
aggregated preference 'showFactors' => 'off' 
aggregated preference 'optIn' => 'off' 
aggregated preference 'optOut' => 'off' 
aggregated preference 'whitelistThreshold' => '10'
aggregated preference 'makeCorpus' => 'off' 
aggregated preference 'storeFragments' => 'off'
aggregated preference 'localStore' => ''
 aggregated preference 'processorBias' => 'on' 
aggregated preference 'fallbackDomain' => 'off' 
aggregated preference 'trainPristine' => 'off' 
aggregated preference 'optOutClamAV' => 'off' 
16:24:38] aggregated preference 'ignoreRBLLookups' => 'off' 
aggregated preference 'RBLInoculate' => 'off'
aggregated preference 'notifications' => 'off' 
match attribute 'TrainPristine' with value 'on' 
find attribute 'TrainPristine'
-> match: not found attribute 'TrainPristine' 
read attribute 'Home'
find attribute 'Home' 
-> found attribute 'Home' with value '/IMAP/dspam' 
-> read attribute 'Home' with value '/IMAP/dspam' 
using /IMAP/dspam/opt-in/jbrandt.dspam as path 
read attribute 'Home' 
find attribute 'Home' 
-> found attribute 'Home' with value '/IMAP/dspam' 
-> read attribute 'Home' with value '/IMAP/dspam' 
using /IMAP/dspam/opt-out/jbrandt.nodspam as path 
read attribute 'MaxMessageSize' 
find attribute 'MaxMessageSize' 
-> read: not found attribute 'MaxMessageSize' 
match attribute 'Opt' with value 'in' 
find attribute 'Opt' 
-> found attribute 'Opt' with value 'out' 
-> match: not found attribute 'Opt' with value 'in' 
read attribute 'GroupConfig' 
find attribute 'GroupConfig' 
-> read: not found attribute 'GroupConfig'

Here dspam gets stuck!



These are the LMTP-relevant parts oft the dspam.conf:

#ServerHost             127.0.0.1
ServerPort              24
ServerQueueSize         64
ServerPID               /var/run/dspam.pid

#DeliveryHost           127.0.0.1
DeliveryHost            /var/run/dovecot/lmtp
#DeliveryPort           24
DeliveryIdent           dspam.localhost
DeliveryProto           LMTP

Any idea what happens?

-- 
Thank you.
Jörg


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to