Re: Best practice integration of DSPAM into ma il system with separate Postfix and Dovecot VMs
Орхан Касумов <[email protected]> Thu, 19 Feb 2015 09:58:02 +0300
| Newsgroups | gmane.mail.spam.dspam.user |
|---|---|
| Message-ID | <[email protected]> |
Sorry, I should have mentioned: clients use IMAP. When setting up everything on a single VM, I achieve the following result: - a SPAM folder is created (with auto-subscription) for each user - DSPAM is trained by dragging spam from Inbox into SPAM folder or vice-versa (if good mail was mistreated as spam) - no HAM folder is used, everything happens between Inbox and SPAM - no forwarding to [email protected] or [email protected] is used, only drag'n'drop between Inbox and SPAM. What I would like to achieve, is the same spam management capabilities, but with separate Postfix, Dovecot and DSPAM servers. I already managed to separate Postfix and DSPAM on two different VMs: - Postfix sends incoming mail to DSPAM via lmtp, - DSPAM checks mail and re-injects it back into Postfix via smtp - mail is delivered with DSPAM headers Now I'm confused about configuring Dovecot for DSPAM training, because on Dovecot's VM I don't have anymore /usr/local/bin/dspam, so obviously I can't use in Dovecot's configs: "antispam_dspam_binary = /usr/local/bin/dspam". Does it mean that I have to install DSPAM on Dovecot's VM also, to run as a client (?) for separate DSPAM server? But this idea confuses me: I lose visibility of how many times a mail will go back and forth between different VMs... That's why I was asking about best practice setup - I wonder how things are done in REAL setups, not in TEST setups described everywhere, with Postfix-Dovecot-DSPAM mess on a single VM. I'd hardly believe that such a setup is used in reality, but you can correct me, if I'm wrong. Среда, 18 февраля 2015, 23:07 -07:00 от Eric Broch <[email protected]>: >1) If you're using IMAP clients you could set up ham/spam folders for each user into which they copy/move good/bad email. Every so often copy (scp, unison, rsync, etc) the email into a folder for each email user to the server running dspam and train there using bash scripts. The email folder should have the [email protected] so that you can train DSPAM per user, if you want. > >2) If you're clients are running POP3, create seperate IMAP accounts for each user on the dspam host using dovecot. So each user will have one POP3 account on your mail server and an IMAP account on the dspam host. Users will copy/move good/bad mail to the IMAP ham/spam folder. You can train on each user's ham/spam folder, or 3) Each user forwards the ham/spam back to training accounts on the dspam host of the following to the following addresses: > >Forward “false positives” to: [email protected] >Likewise you can send missed spam to: [email protected] > >Eric > >On 2/18/2015 10:19 PM, Орхан Касумов wrote: >>Hello, please share an advice! >>If I have separate Postfix and Dovecot VMs, should I: >>1) install DSPAM as a completely separate 3rd VM (which I'd prefer), >>2) or install it on Postfix VM, >>3) or install it on Dovecot VM? >>The confusing point for me is DSPAM retraining via Dovecot antispam and sieve. When everything is on a single VM, I can put in /usr/local/etc/dovecot/conf.d/90-plugin.conf: >>antispam_backend = dspam >>... >>antispam_dspam_binary = /usr/local/bin/dspam >>Here the last statement implies that DSPAM is on the same VM with Dovecot. But if I wanted to separate DSPAM completely, how should I accomplish DSPAM retraining? Or it is not a recommended setup - to have a dedicated DSPAM server? >>P.S. For some reason, all HowTos in the Internet describe mail system setup with Postfix, Dovecot and DSPAM on the same VM. While it's useful as a working TEST setup, it gives no idea (and doesn't even come close) on how to implement a REAL setup with separate Postfix, Dovecot and DSPAM components. >> >>Thanks in advance! >> >> >>-- >>Орхан Касумов >> >>------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE >>http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >> >>_______________________________________________ Dspam-user mailing list >>[email protected] >>https://lists.sourceforge.net/lists/listinfo/dspam-user > >------------------------------------------------------------------------------ >Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >from Actuate! Instantly Supercharge Your Business Reports and Dashboards >with Interactivity, Sharing, Native Excel Exports, App Integration & more >Get technology previously reserved for billion-dollar corporations, FREE >http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >_______________________________________________ >Dspam-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user