Страница 1 из 1
dovecot dspam
Добавлено: 2010-10-19 17:50:03
Dark_ASU
Пните в какую сторону копать для настройки связки dovecot-antispam + dspam.
В Exim прописан роутер на dovecot, в dovecot плагин прописан а как настройить Dspam.
Re: dovecot dspam
Добавлено: 2010-10-21 12:50:53
Dark_ASU
В принципе настроил но есть одна проблема Dspam не сохраняет сигнатуру в БД.
Вот конфиг
Код: Выделить всё
Home /var/db/dspam
ServerMode auto
StorageDriver /usr/local/lib/dspam/libpgsql_drv.so
TrustedDeliveryAgent "/usr/local/libexec/dovecot/deliver -d %u "
OnFail error
Trust root
Trust mailnull
Trust smmsp
Trust daemon
Debug *
DebugOpt process spam fp
ClassAliasSpam badstuff
ClassAliasNonspam goodstuff
TrainingMode teft
TestConditionalTraining on
Feature whitelist noise
Feature tb=5
Algorithm graham burton
Tokenizer chain
PValue bcr
WebStats on
ImprobabilityDrive on
Preference "trainingMode=TEFT" # { TOE | TUM | TEFT | NOTRAIN } -> default:teft
Preference "spamAction=tag" # { quarantine | tag | deliver } -> default:quarantine
Preference "spamSubject=Spam" # { string } -> default:[SPAM]
Preference "statisticalSedation=5" # { 0 - 10 } -> default:0
Preference "enableBNR=on" # { on | off } -> default:off
Preference "enableWhitelist=on" # { on | off } -> default:on
Preference "signatureLocation=headers " # { message | headers } -> default:message
Preference "tagSpam=on" # { on | off }
Preference "tagNonspam=off" # { on | off }
Preference "showFactors=on" # { on | off } -> default:off
Preference "optIn=off" # { on | off }
Preference "optOut=On" # { on | off }
Preference "whitelistThreshold=10" # { Integer } -> default:10
Preference "makeCorpus=on" # { on | off } -> default:off
Preference "storeFragments=off" # { on | off } -> default:off
Preference "localStore=" # { on | off } -> default:username
Preference "processorBias=on" # { on | off } -> default:on
Preference "fallbackDomain=off" # { on | off } -> default:off
Preference "trainPristine=on" # { on | off } -> default:off
Preference "optOutClamAV=on" # { on | off } -> default:off
Preference "ignoreRBLLookups=off" # { on | off } -> default:off
Preference "RBLInoculate=off" # { on | off } -> default:off
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride fallbackDomain
AllowOverride ignoreGroups
AllowOverride ignoreRBLLookups
AllowOverride localStore
AllowOverride makeCorpus
#AllowOverride optIn
AllowOverride optOut
AllowOverride optOutClamAV
AllowOverride processorBias
AllowOverride RBLInoculate
AllowOverride showFactors
AllowOverride signatureLocation
AllowOverride spamAction
AllowOverride spamSubject
AllowOverride statisticalSedation
AllowOverride storeFragments
AllowOverride tagNonspam
AllowOverride tagSpam
AllowOverride trainPristine
AllowOverride trainingMode
AllowOverride whitelistThreshold
AllowOverride dailyQuarantineSummary
# --- PostgreSQL ---
PgSQLServer 127.0.0.1
PgSQLPort 5432
PgSQLUser dspam
PgSQLPass
PgSQLDb dspam
PgSQLConnectionCache 3
PgSQLVirtualTable dspam_virtual_uids
PgSQLVirtualUsernameField username
HashRecMax 98317
HashAutoExtend on
HashMaxExtents 0
HashExtentSize 49157
HashPctIncrease 10
HashMaxSeek 10
HashConnectionCache 10
IgnoreHeader X-Spam-Status
IgnoreHeader X-Spam-Scanned
IgnoreHeader X-Virus-Scanner-Result
PurgeSignatures 14 # Stale signatures
PurgeNeutral 90 # Tokens with neutralish probabilities
PurgeUnused 90 # Unused tokens
PurgeHapaxes 30 # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15 # Tokens with only 1 spam hit
PurgeHits1I 15 # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog on
TrainPristine on
Opt out
MaxMessageSize 4194304
ClamAVPort 3310
ClamAVHost 127.0.0.1
ClamAVResponse accept
ProcessorURLContext on
ProcessorBias on
StripRcptDomain off
Re: dovecot dspam
Добавлено: 2011-01-08 15:07:18
opt1k
та же беда - не сохраняет. Пробовал по-всякому. В итоге заюзал мускуловый драйвер и всё завелось. Думал что у меня с постгресом в джейле не хочет работать, но проверять не стал. Вся беда в том что у меня вся почтовая система на постгресе, теперь для дспама придётся ещё и мускул держать

у кого-нить дспам с постгресом работают?