Hey guys!
So i had postfix + calamav + smtpd_recipient_restrictions.
At the moment im trying to implement dspam to my postfix installation. Its
working web interface spam statistics quarantine etc. But i have PostgreSQL db
where i have my mail aliases and lists and when email is sent to list like
[email protected] dspam creates data file for [email protected] not for the users in
the list. How can i use virtual alias maps with dpsam?
In postfix configuration main.cf i have alias lookup like this.
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql/virtual_alias_maps.cf
master.cf
smtp inet n - - - - smtpd
-o content_filter=lmtp:127.0.0.1:10033
dspam unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/local/bin/dspam
--deliver=innocent --user $user -i -f $sender
-- $recipient
dspam-retrain unix - n n - - pipe
flags=Rhq user=dspam argv=/usr/bin/dspam
--client
--mode=teft
--class=$nexthop
--source=error
--user dspam
localhost:10034 inet n - n - - smtpd
-o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8#
Dspam conf:
Home /srv/dspam
DeliveryHost 127.0.0.1
DeliveryPort 10034
DeliveryIdent localhost
DeliveryProto SMTP
ServerPort 10033
ServerQueueSize 32
ServerPID /var/run/dspam/dspam.pid
ServerMode auto
ServerParameters "--deliver=innocent, spam –d %u"
ServerIdent "localhost.localdomain"
StorageDriver /usr/lib/x86_64-linux-gnu/dspam/libpgsql_drv.so
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
AllowOverride notifications
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse off
ClamAVPort 3310
ClamAVHost 127.0.0.1
ClamAVResponse reject
So i would like DSPAM to lookup mail aliases and put the spam statistics to
users stat fail not create a stat file for mail list email.
Best regards,
Tarmo
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user