[Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Eric Broch
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 [hidden email] 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: [hidden email]
Likewise you can send missed spam to:  [hidden email]


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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов
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 [hidden email] or [hidden email] 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 <[hidden email]>:
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 user@... 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: notspam-johndoe@...
Likewise you can send missed spam to:  spam-johndoe@...


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
Dspam-user@...
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
Dspam-user@...
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Martin Wheldon
Hi,

No need to install DSPAM in the dovecot vm the dovecot antispam plugin
supports
using sendmail to send the message to a retraining address.

http://wiki2.dovecot.org/Plugins/Antispam

The following example should get you working.


     #=====================
     # mailtrain plugin
     #
     # This plug can be used to train via an arbitrary program that
     # receives the message on standard input. Since sendmail can be
     # such a program, it can be used to send the message to another
     # email address for training there.
     #
     # For example:
     #        (defaults to /usr/sbin/sendmail)
     #antispam_mail_sendmail_args  = --for;%u
     antispam_mail_spam  = --spam
     antispam_mail_notspam  = --ham
     #antispam_mail_sendmail = /usr/sbin/sendmail
     antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
     #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion done
by dovecot

Best Regards

Martin

On 2015-02-19 06:58, Орхан Касумов wrote:

> 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 [hidden email] [7] or
> [hidden email] [8] 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
>  - ma il 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
> <[hidden email]>:
>
>> 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 [hidden email] [1]
>> 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: [hidden email] [2]
>> Likewise you can send missed spam to: [hidden email] [3]
>>
>> 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
>>> [hidden email]
>>> 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
>> [4]
>> _______________________________________________
>> Dspam-user mailing list
>> [hidden email] [5]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user [6]
>
>  !DSPAM:41,54e589d063325785314963!
>
> Links:
> ------
> [1]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [2]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [3]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [4]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [5]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [6] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [7] mailto:[hidden email]
> [8] mailto:[hidden email]


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов
Thanks for your participation, but the link and example you provided
talk about sa-learn, which is AFAIK SpamAssassin's training tool.

Did you mean I should change the last two strings of this:

antispam_backend = dspam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam = SPAM
antispam_trash = Trash
antispam_dspam_binary = /usr/local/bin/dspam
antispam_dspam_args = --source=error;--signature=%%s

to this:

antispam_backend = dspam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam = SPAM
antispam_trash = Trash
antispam_mail_sendmail = /usr/sbin/sendmail
antispam_mail_sendmail_args = -f;%[hidden email]

But such a config wouldn't tell the antispam plugin where DSPAM server is...
If I misunderstood you, please take a bit more time to explain your idea.

Thanks!



Четверг, 19 февраля 2015, 9:31 UTC от Martin Wheldon <[hidden email]>:
Hi,

No need to install DSPAM in the dovecot vm the dovecot antispam plugin
supports
using sendmail to send the message to a retraining address.

http://wiki2.dovecot.org/Plugins/Antispam

The following example should get you working.


     #=====================
     # mailtrain plugin
     #
     # This plug can be used to train via an arbitrary program that
     # receives the message on standard input. Since sendmail can be
     # such a program, it can be used to send the message to another
     # email address for training there.
     #
     # For example:
     # (defaults to /usr/sbin/sendmail)
     #antispam_mail_sendmail_args = --for;%u
     antispam_mail_spam = --spam
     antispam_mail_notspam = --ham
     #antispam_mail_sendmail = /usr/sbin/sendmail
     antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
     #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion done
by dovecot

Best Regards

Martin

On 2015-02-19 06:58, Орхан Касумов wrote:
> 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 spam-user@... [7] or
> notspam-user@... [8] 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
> - ma il 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
> <ebroch@...>:
>
>> 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 user@... [1]
>> 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: notspam-johndoe@... [2]
>> Likewise you can send missed spam to: spam-johndoe@... [3]
>>
>> 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
>>> Dspam-user@...
>>> 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
>> [4]
>> _______________________________________________
>> Dspam-user mailing list
>> Dspam-user@... [5]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user [6]
>
> !DSPAM:41,54e589d063325785314963!
>
> Links:
> ------
> [1]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [2]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [3]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [4]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> [5]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [6] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [7] mailto:spam-user@...
> [8] mailto:notspam-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
Dspam-user@...
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Martin Wheldon
Hi,

No problem, my suggestion is as follows:

Configure DSPAM training using the email to retrain addresses. i.e
[hidden email] and
[hidden email] on the DSPAM VM, you probably have
postfix installed already..
Here is a example from one of my installs (master.cf)

  dspam-retrain unix - n n - - pipe flags=XRu user=dspam
argv=/usr/local/bin/dspam-retrain-forward.pl
    --debug=no
    --client
    --user ${sender}
    --class=${nexthop}
    --source=error
    --full=yes
    --headers-only=no
    --bodies-only=yes
    --first-only=no
    --skip-first=no
    --bin-dir=/usr/bin

You then would need to be able to deliver retrain messages from the
Dovecot VM to the DSPAM VM, this would probably
be best achieved using postfix as you are already using it.

Configure Dovecot antispam plugin to send messages to be retrained to
the retrain addresses using the mailtrain backend.
Probably with something like the following.

>antispam_mail_sendmail = /usr/bin/mailx
>antispam_mail_spam = -s "retrain as spam"
> [hidden email]
>antispam_mail_notspam = -s "retrain as ham"
> [hidden email]

Hope that makes it clearer.

Best Regards

Martin

On 2015-02-19 11:03, Орхан Касумов wrote:

> Thanks for your participation, but the link and example you provided
> talk about sa-learn, which is AFAIK SpamAssassin's training tool.
>
> Did you mean I should change the last two strings of this:
>
> antispam_backend = dspam
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
> antispam_spam = SPAM
> antispam_trash = Trash
> ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
> ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>
> to this:
>
> antispam_backend = dspam
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
> antispam_spam = SPAM
> antispam_trash = Trash
> ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
> ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
> But such a config wouldn't tell the antispam plugin where DSPAM
> server
> is...
> If I misunderstood you, please take a bit more time to explain your
> idea.< br>
> Thanks!
>
> Четверг, 19 февраля 2015, 9:31 UTC от Martin Wheldon
> <[hidden email]>:
>
>> Hi,
>>
>> No need to install DSPAM in the dovecot vm the dovecot antispam
>> plugin
>> supports
>> using sendmail to send the message to a retraining address.
>>
>> http://wiki2.dovecot.org/Plugins/Antispam [1]
>>
>> The following example should get you working.
>>
>> #=====================
>> # mailtrain plugin
>> #
>> # This plug can be used to train via an arbitrary program that
>> # receives the message on standard input. Since sendmail can be
>> # such a program, it can be used to send the message to another
>> # email address for training there.
>> #
>> # For example:
>> # (defaults to /usr/sbin/sendmail)
>> #antispam_mail_sendmail_args = --for;%u
>> antispam_mail_spam = --spam
>> antispam_mail_notspam = --ham
>> #antispam_mail_sendmail = /usr/sbin/sendmail
>> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion done
>>
>> by dovecot
>>
>> Best Regards
>>
>> Martin
>>
>> On 2015-02-19 06:58, Орхан Касумов wrote:
>> > 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 [hidden email] [2] [7] or
>> > [hidden email] [3] [8] 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
>> > - ma il 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
>> > <[hidden email] [4]>:
>> >
>> >> 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 [hidden email]
>> [5] [1]
>> >> 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: [hidden email]
>> [6] [2]
>> >> Likewise you can send missed spam to: [hidden email]
>> [7] [3]
>> >>
>> >> 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
>> [8]
>> >>>
>> >>> _______________________________________________
>> >>> Dspam-user mailing list
>> >>> [hidden email] [9]
>> >>> https://lists.sourceforge.net/lists/listinfo/dspam-user [10]
>> >>
>> >>
>> >
>> >
>>
>
> ------------------------------------------------------------------------------
>> >> 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
>> [11]
>> >> [4]
>> >> _______________________________________________
>> >> Dspam-user mailing list
>> >> [hidden email] [12] [5]
>> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [13] [6]
>> >
>> >
>> >
>> > Links:
>> > ------
>> > [1]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [14]
>> > [2]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [15]
>> > [3]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [16]
>> > [4]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [17]
>> > [5]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [18]
>> > [6] https://lists.sourceforge.net/lists/listinfo/dspam-user [19]
>> > [7] mailto:[hidden email] [20]
>> > [8] mailto:[hidden email] [21]
>>
>>
>
> ------------------------------------------------------------------------------
>> 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
>> [22]
>> _______________________________________________
>> Dspam-user mailing list
>> [hidden email] [23]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user [24]
>
>  !DSPAM:41,54e5c397249111496345500!
>
> Links:
> ------
> [1] http://wiki2.dovecot.org/Plugins/Antispam
> [2]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [3]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [4]
> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
> [5] http://webmail.greenhills-it.co.uk/compose?To=user@...
> [6]
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
> [7]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
> [8]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [9]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [10] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [11]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [12]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [13] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [14]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [15]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [16]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [17]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [18]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [19] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [20]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [21]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [22]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [23]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [24] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов
Thanks for the explanation, but our management doesn't accept DSPAM retraining by sending letters to
retrain-as-spam@... and retrain-as-ham@....
Let me copy and paste an excerpt from one of my previous letters:

------------------------

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 [hidden email] or [hidden email] 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.

------------------------
So, the question now becomes: is it possible to retrain DSPAM by using drag'n'drop between "Inbox" folder and "SPAM" folder
if Postfix, Dovecot and DSPAM are installed on separate servers?

Did anyone manage to do it? Please tell.
Thanks!




Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon <[hidden email]>:
Hi,

No problem, my suggestion is as follows:

Configure DSPAM training using the email to retrain addresses. i.e
retrain-as-spam@... and
retrain-as-ham@... on the DSPAM VM, you probably have
postfix installed already..
Here is a example from one of my installs (master.cf)

  dspam-retrain unix - n n - - pipe flags=XRu user=dspam
argv=/usr/local/bin/dspam-retrain-forward.pl
    --debug=no
    --client
    --user ${sender}
    --class=${nexthop}
    --source=error
    --full=yes
    --headers-only=no
    --bodies-only=yes
    --first-only=no
    --skip-first=no
    --bin-dir=/usr/bin

You then would need to be able to deliver retrain messages from the
Dovecot VM to the DSPAM VM, this would probably
be best achieved using postfix as you are already using it.

Configure Dovecot antispam plugin to send messages to be retrained to
the retrain addresses using the mailtrain backend.
Probably with something like the following.

>antispam_mail_sendmail = /usr/bin/mailx
>antispam_mail_spam = -s "retrain as spam"
> retrain-as-spam@...
>antispam_mail_notspam = -s "retrain as ham"
> retrain-as-ham@...

Hope that makes it clearer.

Best Regards

Martin

On 2015-02-19 11:03, Орхан Касумов wrote:
> Thanks for your participation, but the link and example you provided
> talk about sa-learn, which is AFAIK SpamAssassin's training tool.
>
> Did you mean I should change the last two strings of this:
>
> antispam_backend = dspam
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
> antispam_spam = SPAM
> antispam_trash = Trash
> ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
> ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>
> to this:
>
> antispam_backend = dspam
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
> antispam_spam = SPAM
> antispam_trash = Trash
> ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
> ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
> But such a config wouldn't tell the antispam plugin where DSPAM
> server
> is...
> If I misunderstood you, please take a bit more time to explain your
> idea.< br>
> Thanks!
>
> Четверг, 19 февраля 2015, 9:31 UTC от Martin Wheldon
> <martin.wheldon@...>:
>
>> Hi,
>>
>> No need to install DSPAM in the dovecot vm the dovecot antispam
>> plugin
>> supports
>> using sendmail to send the message to a retraining address.
>>
>> http://wiki2.dovecot.org/Plugins/Antispam [1]
>>
>> The following example should get you working.
>>
>> #=====================
>> # mailtrain plugin
>> #
>> # This plug can be used to train via an arbitrary program that
>> # receives the message on standard input. Since sendmail can be
>> # such a program, it can be used to send the message to another
>> # email address for training there.
>> #
>> # For example:
>> # (defaults to /usr/sbin/sendmail)
>> #antispam_mail_sendmail_args = --for;%u
>> antispam_mail_spam = --spam
>> antispam_mail_notspam = --ham
>> #antispam_mail_sendmail = /usr/sbin/sendmail
>> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion done
>>
>> by dovecot
>>
>> Best Regards
>>
>> Martin
>>
>> On 2015-02-19 06:58, Орхан Касумов wrote:
>> > 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 spam-user@... [2] [7] or
>> > notspam-user@... [3] [8] 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
>> > - ma il 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
>> > <ebroch@... [4]>:
>> >
>> >> 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 user@...
>> [5] [1]
>> >> 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: notspam-johndoe@...
>> [6] [2]
>> >> Likewise you can send missed spam to: spam-johndoe@...
>> [7] [3]
>> >>
>> >> 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
>> [8]
>> >>>
>> >>> _______________________________________________
>> >>> Dspam-user mailing list
>> >>> Dspam-user@... [9]
>> >>> https://lists.sourceforge.net/lists/listinfo/dspam-user [10]
>> >>
>> >>
>> >
>> >
>>
>
> ------------------------------------------------------------------------------
>> >> 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
>> [11]
>> >> [4]
>> >> _______________________________________________
>> >> Dspam-user mailing list
>> >> Dspam-user@... [12] [5]
>> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [13] [6]
>> >
>> >
>> >
>> > Links:
>> > ------
>> > [1]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [14]
>> > [2]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [15]
>> > [3]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [16]
>> > [4]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [17]
>> > [5]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [18]
>> > [6] https://lists.sourceforge.net/lists/listinfo/dspam-user [19]
>> > [7] mailto:spam-user@... [20]
>> > [8] mailto:notspam-user@... [21]
>>
>>
>
> ------------------------------------------------------------------------------
>> 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
>> [22]
>> _______________________________________________
>> Dspam-user mailing list
>> Dspam-user@... [23]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user [24]
>
> !DSPAM:41,54e5c397249111496345500!
>
> Links:
> ------
> [1] http://wiki2.dovecot.org/Plugins/Antispam
> [2]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [3]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [4]
> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
> [5] http://webmail.greenhills-it.co.uk/compose?To=user@...
> [6]
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
> [7]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
> [8]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> [9]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [10] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [11]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> [12]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [13] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [14]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [15]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [16]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [17]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> [18]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [19] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [20]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [21]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [22]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> [23]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [24] 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
Dspam-user@...
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Martin Wheldon
Hi,

Appologies, missed that line. In which case it looks like you have a
couple of
options, both of which use LMTP.

Check out the DSPAM readme LMTP section for details.

1. Install dspamc on the Dovecot VM and invoke it with --client option,
this tells
    it to connect via LMTP to the dspam daemon, which you have running
on the DSPAM VM.

2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
using netcat to accomplish the same thing.

Option 1 invoked using the dovecot antispam plugin using the dspam
backend and Option 2
with the mailtrain backend.

Best Regards

Martin

On 2015-02-19 12:17, Орхан Касумов wrote:

> Thanks for the explanation, but our management doesn't accept DSPAM
> retraining by sending letters to
> [hidden email] [57] and
> [hidden email] [58].
> Let me copy and paste an excerpt from one of my previous letters:
>
> ------------------------
>
> 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 forwardin g to [hidden email] or [hidden email]
> 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.------------------------
> So, the question now becomes: is it possible to retrain DSPAM by
> using
> drag'n'drop between "Inbox" folder and "SPAM" folder
> if Postfix, Dovecot and DSPAM are installed on separate servers?
>
> Did anyone manage to do it? Please tell.
> Thanks!
>
> Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
> <[hidden email]>:
>
>> Hi,
>>
>> No problem, my suggestion is as follows:
>>
>> Configure DSPAM training using the email to retrain addresses. i.e
>> [hidden email] [1] and
>> [hidden email] [2] on the DSPAM VM, you probably
>> have
>> postfix installed already..
>> Here is a example from one of my installs (master.cf)
>>
>> dspam-retrain unix - n n - - pipe flags=XRu user=dspam
>> argv=/usr/local/bin/dspam-retrain-forward.pl
>> --debug=no
>> --client
>> --user ${sender}
>> --class=${nexthop}
>> --source=error
>> --full=yes
>> --headers-only=no
>> --bodies-only=yes
>> --first-only=no
>> --skip-first=no
>> --bin-dir=/usr/bin
>>
>> You then would need to be able to deliver retrain messages from the
>>
>> Dovecot VM to the DSPAM VM, this would probably
>> be best achieved using postfix as you are already using it.
>>
>> Configure Dovecot antispam plugin to send messages to be retrained
>> to
>> the retrain addresses using the mailtrain backend.
>> Probably with something like the following.
>>
>> >antispam_mail_sendmail = /usr/bin/mailx
>> >antispam_mail_spam = -s "retrain as spam"
>> > [hidden email] [3]
>> >antispam_mail_notspam = -s "retrain as ham"
>> > [hidden email] [4]
>>
>> Hope that makes it clearer.
>>
>> Best Regards
>>
>> Martin
>>
>> On 2015-02-19 11:03, Орхан Касумов wrote:
>> > Thanks for your participation, but the link and example you
>> provided
>> > talk about sa-learn, which is AFAIK SpamAssassin's training tool.
>> >
>> > Did you mean I should change the last two strings of this:
>> >
>> > antispam_backend = dspam
>> > antispam_signature = X-DSPAM-Signature
>> > antispam_signature_missing = error
>> > antispam_spam = SPAM
>> > antispam_trash = Trash
>> > ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
>> > ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>> >
>> > to this:
>> >
>> > antispam_backend = dspam
>> > antispam_signature = X-DSPAM-Signature
>> > antispam_signature_missing = error
>> > antispam_spam = SPAM
>> > antispam_trash = Trash
>> > ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
>> > ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
>> > But such a config wouldn't tell the antispam plugin where DSPAM
>> > server
>> > is...
>> > If I misunderstood you, please take a bit more time to explain
>> your
>> > idea.< br>
>> > Thanks!
>> >
>> > Четверг, 19 февраля 2015, 9:31 UTC от Martin
>> Wheldon
>> > <[hidden email] [5]>:
>> >
>> >> Hi,
>> >>
>> >> No need to install DSPAM in the dovecot vm the dovecot antispam
>> >> plugin
>> >> supports
>> >> using sendmail to send the message to a retraining address.
>> >>
>> >> http://wiki2.dovecot.org/Plugins/Antispam [6] [1]
>> >>
>> >> The following example should get you working.
>> >>
>> >> #=====================
>> >> # mailtrain plugin
>> >> #
>> >> # This plug can be used to train via an arbitrary program that
>> >> # receives the message on standard input. Since sendmail can be
>> >> # such a program, it can be used to send the message to another
>> >> # email address for training there.
>> >> #
>> >> # For example:
>> >> # (defaults to /usr/sbin/sendmail)
>> >> #antispam_mail_sendmail_args = --for;%u
>> >> antispam_mail_spam = --spam
>> >> antispam_mail_notspam = --ham
>> >> #antispam_mail_sendmail = /usr/sbin/sendmail
>> >> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>> >> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion
>> done
>> >>
>> >> by dovecot
>> >>
>> >> Best Regards
>> >>
>> >> Martin
>> >>
>> >> On 2015-02-19 06:58, Орхан Касумов wrote:
>> >> > 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 [hidden email] [7] [2] [7] or
>> >> > [hidden email] [8] [3] [8] 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
>> >> > - ma il 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
>> >> > <[hidden email] [9] [4]>:
>> >> >
>> >> >> 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
>> [hidden email] [10]
>> >> [5] [1]
>> >> >> 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:
>> [hidden email] [11]
>> >> [6] [2]
>> >> >> Likewise you can send missed spam to:
>> [hidden email] [12]
>> >> [7] [3]
>> >> >>
>> >> >> 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
>> [13]
>> >> [8]
>> >> >>>
>> >> >>> _______________________________________________
>> >> >>> Dspam-user mailing list
>> >> >>> [hidden email] [14] [9]
>> >> >>> https://lists.sourceforge.net/lists/listinfo/dspam-user [15]
>> [10]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> ------------------------------------------------------------------------------
>> >> >> 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
>> [16]
>> >> [11]
>> >> >> [4]
>> >> >> _______________________________________________
>> >> >> Dspam-user mailing list
>> >> >> [hidden email] [17] [12] [5]
>> >> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [18]
>> [13] [6]
>> >> >
>> >> >
>> >> >
>> >> > Links:
>> >> > ------
>> >> > [1]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [19]
>> >> [14]
>> >> > [2]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [20]
>> >> [15]
>> >> > [3]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [21]
>> >> [16]
>> >> > [4]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [22]
>> >> [17]
>> >> > [5]
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [23]
>> >> [18]
>> >> > [6] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [24] [19]
>> >> > [7] mailto:[hidden email] [25] [20]
>> >> > [8] mailto:[hidden email] [26] [21]
>> >>
>> >>
>> >
>> >
>>
>
> ------------------------------------------------------------------------------
>> >> 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
>> [27]
>> >> [22]
>> >> _______________________________________________
>> >> Dspam-user mailing list
>> >> [hidden email] [28] [23]
>> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
>> [24]
>> >
>> >
>> >
>> > Links:
>> > ------
>> > [1] http://wiki2.dovecot.org/Plugins/Antispam [30]
>> > [2]
>> >
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [31]
>> > [3]
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [32]
>> > [4]
>> >
>>
> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>> [33]
>> > [5] http://webmail.greenhills-it.co.uk/compose?To=user@...
>> [34]
>> > [6]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>> [35]
>> > [7]
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>> [36]
>> > [8]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [37]
>> > [9]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [38]
>> > [10] https://lists.sourceforge.net/lists/listinfo/dspam-user [39]
>> > [11]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [40]
>> > [12]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [41]
>> > [13] https://lists.sourceforge.net/lists/listinfo/dspam-user [42]
>> > [14]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [43]
>> > [15]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [44]
>> > [16]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [45]
>> > [17]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [46]
>> > [18]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [47]
>> > [19] https://lists.sourceforge.net/lists/listinfo/dspam-user [48]
>> > [20]
>> >
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [49]
>> > [21]
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [50]
>> > [22]
>> >
>> >
>>
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> [51]
>> > [23]
>> >
>> >
>>
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [52]
>> > [24] https://lists.sourceforge.net/lists/listinfo/dspam-user [53]
>>
>>
>
> ------------------------------------------------------------------------------
>> 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
>> [54]
>> _______________________________________________
>> Dspam-user mailing list
>> [hidden email] [55]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user [56]
>
>  !DSPAM:41,54e5d603249114779611187!
>
> Links:
> ------
> [1]
>
> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
> [2]
>
> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
> [3]
>
> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
> [4]
>
> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
> [5]
>
> http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
> [6] http://wiki2.dovecot.org/Plugins/Antispam
> [7]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [8]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [9]
> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
> [10] http://webmail.greenhills-it.co.uk/compose?To=user@...
> [11]
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
> [12]
>
> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
> [13]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [14]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [15] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [16]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [17]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [18] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [19]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [20]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [21]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [22]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [23]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [24] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [25]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [26]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [27]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [28]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [29] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [30] http://wiki2.dovecot.org/Plugins/Antispam
> [31]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [32]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [33]
> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
> [34] http://webmail.greenhills-it.co.uk/compose?To=user@...
> [35]
>
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
> [36]
>
> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
> [37]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [38]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [39] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [40]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [41]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [42] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [43]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
> [44]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
> [45]
>
> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
> [46]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [47]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [48] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [49]
> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
> [50]
> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
> [51]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [52]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [53] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [54]
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
> [55]
>
> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
> [56] https://lists.sourceforge.net/lists/listinfo/dspam-user
> [57]
> https://e.mail.ru/compose?To=retrain%2das%2dspam@...
> [58]
> https://e.mail.ru/compose?To=retrain%2das%2dham@...


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Martin Wheldon
Hi,

The following shows a example of how to use perl and Net::LMTP to do
something
simular to what you need.

http://www.nntp.perl.org/group/perl.qpsmtpd/2005/12/msg4009.html

Best Regards

Martin

On 2015-02-19 13:02, Martin Wheldon wrote:

> Hi,
>
> Appologies, missed that line. In which case it looks like you have a
> couple of
> options, both of which use LMTP.
>
> Check out the DSPAM readme LMTP section for details.
>
> 1. Install dspamc on the Dovecot VM and invoke it with --client
> option,
> this tells
>     it to connect via LMTP to the dspam daemon, which you have
> running
> on the DSPAM VM.
>
> 2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
> using netcat to accomplish the same thing.
>
> Option 1 invoked using the dovecot antispam plugin using the dspam
> backend and Option 2
> with the mailtrain backend.
>
> Best Regards
>
> Martin
>
> On 2015-02-19 12:17, Орхан Касумов wrote:
>> Thanks for the explanation, but our management doesn't accept DSPAM
>> retraining by sending letters to
>> [hidden email] [57] and
>> [hidden email] [58].
>> Let me copy and paste an excerpt from one of my previous letters:
>>
>> ------------------------
>>
>> 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 forwardin g to [hidden email] or [hidden email]
>> 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.------------------------
>> So, the question now becomes: is it possible to retrain DSPAM by
>> using
>> drag'n'drop between "Inbox" folder and "SPAM" folder
>> if Postfix, Dovecot and DSPAM are installed on separate servers?
>>
>> Did anyone manage to do it? Please tell.
>> Thanks!
>>
>> Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
>> <[hidden email]>:
>>
>>> Hi,
>>>
>>> No problem, my suggestion is as follows:
>>>
>>> Configure DSPAM training using the email to retrain addresses. i.e
>>> [hidden email] [1] and
>>> [hidden email] [2] on the DSPAM VM, you probably
>>> have
>>> postfix installed already..
>>> Here is a example from one of my installs (master.cf)
>>>
>>> dspam-retrain unix - n n - - pipe flags=XRu user=dspam
>>> argv=/usr/local/bin/dspam-retrain-forward.pl
>>> --debug=no
>>> --client
>>> --user ${sender}
>>> --class=${nexthop}
>>> --source=error
>>> --full=yes
>>> --headers-only=no
>>> --bodies-only=yes
>>> --first-only=no
>>> --skip-first=no
>>> --bin-dir=/usr/bin
>>>
>>> You then would need to be able to deliver retrain messages from the
>>>
>>> Dovecot VM to the DSPAM VM, this would probably
>>> be best achieved using postfix as you are already using it.
>>>
>>> Configure Dovecot antispam plugin to send messages to be retrained
>>> to
>>> the retrain addresses using the mailtrain backend.
>>> Probably with something like the following.
>>>
>>> >antispam_mail_sendmail = /usr/bin/mailx
>>> >antispam_mail_spam = -s "retrain as spam"
>>> > [hidden email] [3]
>>> >antispam_mail_notspam = -s "retrain as ham"
>>> > [hidden email] [4]
>>>
>>> Hope that makes it clearer.
>>>
>>> Best Regards
>>>
>>> Martin
>>>
>>> On 2015-02-19 11:03, Орхан Касумов wrote:
>>> > Thanks for your participation, but the link and example you
>>> provided
>>> > talk about sa-learn, which is AFAIK SpamAssassin's training tool.
>>> >
>>> > Did you mean I should change the last two strings of this:
>>> >
>>> > antispam_backend = dspam
>>> > antispam_signature = X-DSPAM-Signature
>>> > antispam_signature_missing = error
>>> > antispam_spam = SPAM
>>> > antispam_trash = Trash
>>> > ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
>>> > ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>>> >
>>> > to this:
>>> >
>>> > antispam_backend = dspam
>>> > antispam_signature = X-DSPAM-Signature
>>> > antispam_signature_missing = error
>>> > antispam_spam = SPAM
>>> > antispam_trash = Trash
>>> > ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
>>> > ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
>>> > But such a config wouldn't tell the antispam plugin where DSPAM
>>> > server
>>> > is...
>>> > If I misunderstood you, please take a bit more time to explain
>>> your
>>> > idea.< br>
>>> > Thanks!
>>> >
>>> > Четверг, 19 февраля 2015, 9:31 UTC от Martin
>>> Wheldon
>>> > <[hidden email] [5]>:
>>> >
>>> >> Hi,
>>> >>
>>> >> No need to install DSPAM in the dovecot vm the dovecot antispam
>>> >> plugin
>>> >> supports
>>> >> using sendmail to send the message to a retraining address.
>>> >>
>>> >> http://wiki2.dovecot.org/Plugins/Antispam [6] [1]
>>> >>
>>> >> The following example should get you working.
>>> >>
>>> >> #=====================
>>> >> # mailtrain plugin
>>> >> #
>>> >> # This plug can be used to train via an arbitrary program that
>>> >> # receives the message on standard input. Since sendmail can be
>>> >> # such a program, it can be used to send the message to another
>>> >> # email address for training there.
>>> >> #
>>> >> # For example:
>>> >> # (defaults to /usr/sbin/sendmail)
>>> >> #antispam_mail_sendmail_args = --for;%u
>>> >> antispam_mail_spam = --spam
>>> >> antispam_mail_notspam = --ham
>>> >> #antispam_mail_sendmail = /usr/sbin/sendmail
>>> >> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>>> >> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion
>>> done
>>> >>
>>> >> by dovecot
>>> >>
>>> >> Best Regards
>>> >>
>>> >> Martin
>>> >>
>>> >> On 2015-02-19 06:58, Орхан Касумов wrote:
>>> >> > 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 [hidden email] [7] [2] [7] or
>>> >> > [hidden email] [8] [3] [8] 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
>>> >> > - ma il 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
>>> >> > <[hidden email] [9] [4]>:
>>> >> >
>>> >> >> 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
>>> [hidden email] [10]
>>> >> [5] [1]
>>> >> >> 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:
>>> [hidden email] [11]
>>> >> [6] [2]
>>> >> >> Likewise you can send missed spam to:
>>> [hidden email] [12]
>>> >> [7] [3]
>>> >> >>
>>> >> >> 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
>>> [13]
>>> >> [8]
>>> >> >>>
>>> >> >>> _______________________________________________
>>> >> >>> Dspam-user mailing list
>>> >> >>> [hidden email] [14] [9]
>>> >> >>> https://lists.sourceforge.net/lists/listinfo/dspam-user [15]
>>> [10]
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>> >> >> 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
>>> [16]
>>> >> [11]
>>> >> >> [4]
>>> >> >> _______________________________________________
>>> >> >> Dspam-user mailing list
>>> >> >> [hidden email] [17] [12] [5]
>>> >> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [18]
>>> [13] [6]
>>> >> >
>>> >> >
>>> >> >
>>> >> > Links:
>>> >> > ------
>>> >> > [1]
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>> [19]
>>> >> [14]
>>> >> > [2]
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>> [20]
>>> >> [15]
>>> >> > [3]
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>> [21]
>>> >> [16]
>>> >> > [4]
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [22]
>>> >> [17]
>>> >> > [5]
>>> >> >
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [23]
>>> >> [18]
>>> >> > [6] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [24] [19]
>>> >> > [7] mailto:[hidden email] [25] [20]
>>> >> > [8] mailto:[hidden email] [26] [21]
>>> >>
>>> >>
>>> >
>>> >
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>> >> 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
>>> [27]
>>> >> [22]
>>> >> _______________________________________________
>>> >> Dspam-user mailing list
>>> >> [hidden email] [28] [23]
>>> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
>>> [24]
>>> >
>>> >
>>> >
>>> > Links:
>>> > ------
>>> > [1] http://wiki2.dovecot.org/Plugins/Antispam [30]
>>> > [2]
>>> >
>>>
>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [31]
>>> > [3]
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [32]
>>> > [4]
>>> >
>>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>> [33]
>>> > [5] http://webmail.greenhills-it.co.uk/compose?To=user@...
>>> [34]
>>> > [6]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>> [35]
>>> > [7]
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>> [36]
>>> > [8]
>>> >
>>> >
>>>
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [37]
>>> > [9]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [38]
>>> > [10] https://lists.sourceforge.net/lists/listinfo/dspam-user [39]
>>> > [11]
>>> >
>>> >
>>>
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [40]
>>> > [12]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [41]
>>> > [13] https://lists.sourceforge.net/lists/listinfo/dspam-user [42]
>>> > [14]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>> [43]
>>> > [15]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>> [44]
>>> > [16]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>> [45]
>>> > [17]
>>> >
>>> >
>>>
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [46]
>>> > [18]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [47]
>>> > [19] https://lists.sourceforge.net/lists/listinfo/dspam-user [48]
>>> > [20]
>>> >
>>>
>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [49]
>>> > [21]
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [50]
>>> > [22]
>>> >
>>> >
>>>
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [51]
>>> > [23]
>>> >
>>> >
>>>
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [52]
>>> > [24] https://lists.sourceforge.net/lists/listinfo/dspam-user [53]
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>> 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
>>> [54]
>>> _______________________________________________
>>> Dspam-user mailing list
>>> [hidden email] [55]
>>> https://lists.sourceforge.net/lists/listinfo/dspam-user [56]
>>
>>
>>
>> Links:
>> ------
>> [1]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>> [2]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>> [3]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>> [4]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>> [5]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
>> [6] http://wiki2.dovecot.org/Plugins/Antispam
>> [7]
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [8]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [9]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>> [10] http://webmail.greenhills-it.co.uk/compose?To=user@...
>> [11]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>> [12]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>> [13]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [14]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [15] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [16]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [17]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [18] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [19]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [20]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [21]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [22]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [23]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [24] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [25]
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [26]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [27]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [28]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [29] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [30] http://wiki2.dovecot.org/Plugins/Antispam
>> [31]
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [32]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [33]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>> [34] http://webmail.greenhills-it.co.uk/compose?To=user@...
>> [35]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>> [36]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>> [37]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [38]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [39] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [40]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [41]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [42] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [43]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>> [44]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>> [45]
>>
>>
>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>> [46]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [47]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [48] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [49]
>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>> [50]
>>
>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>> [51]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [52]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [53] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [54]
>>
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
>> [55]
>>
>>
>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>> [56] https://lists.sourceforge.net/lists/listinfo/dspam-user
>> [57]
>> https://e.mail.ru/compose?To=retrain%2das%2dspam@...
>> [58]
>> https://e.mail.ru/compose?To=retrain%2das%2dham@...
>
>
>
> ------------------------------------------------------------------------------
> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
> !DSPAM:41,54e5dfe7249111223319092!


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов

Ok, thanks! I'll try to gather a little more info and then start implementing the solution as you wrote.

Отправлено от Blue Mail

На 19.02.2015, в 17:46, Martin Wheldon <[hidden email]> написал:п
Hi,

The following shows a example of how to use perl and Net::LMTP to do
something
simular to what you need.

http://www.nntp.perl.org/group/perl.qpsmtpd/2005/12/msg4009.html

Best Regards

Martin

On 2015-02-19 13:02, Martin Wheldon wrote:
Hi,

Appologies, missed that line. In which case it looks like you have a
couple of
options, both of which use LMTP.

Check out the DSPAM readme LMTP section for details.

1. Install dspamc on the Dovecot VM and invoke it with --client
option,
this tells
it to connect via LMTP to the dspam daemon, which you have
running
on the DSPAM VM.

2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
using netcat to accomplish the same thing.

Option 1 invoked using the dovecot antispam plugin using the dspam
backend and Option 2
with the mailtrain backend.

Best Regards

Martin

On 2015-02-19 12:17, Орхан Касумов wrote:
Thanks for the explanation, but our management doesn't accept DSPAM
retraining by sending letters to
[hidden email] [57] and
[hidden email] [58].
Let me copy and paste an excerpt from one of my previous letters:

------------------------

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 forwardin g to [hidden email] or [hidden email]
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.------------------------
So, the question now becomes: is it possible to retrain DSPAM by
using
drag'n'drop between "Inbox" folder and "SPAM" folder
if Postfix, Dovecot and DSPAM are installed on separate servers?

Did anyone manage to do it? Please tell.
Thanks!

Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
<[hidden email]>:

Hi,

No problem, my suggestion is as follows:

Configure DSPAM training using the email to retrain addresses. i.e
[hidden email] [1] and
[hidden email] [2] on the DSPAM VM, you probably
have
postfix installed already..
Here is a example from one of my installs (master.cf)

dspam-retrain unix - n n - - pipe flags=XRu user=dspam
argv=/usr/local/bin/dspam-retrain-forward.pl
--debug=no
--client
--user ${sender}
--class=${nexthop}
--source=error
--full=yes
--headers-only=no
--bodies-only=yes
--first-only=no
--skip-first=no
--bin-dir=/usr/bin

You then would need to be able to deliver retrain messages from the

Dovecot VM to the DSPAM VM, this would probably
be best achieved using postfix as you are already using it.

Configure Dovecot antispam plugin to send messages to be retrained
to
the retrain addresses using the mailtrain backend.
Probably with something like the following.

antispam_mail_sendmail = /usr/bin/mailx
antispam_mail_spam = -s "retrain as spam"
[hidden email] [3]
antispam_mail_notspam = -s "retrain as ham"
[hidden email] [4]

Hope that makes it clearer.

Best Regards

Martin

On 2015-02-19 11:03, Орхан Касумов wrote:
Thanks for your participation, but the link and example you
provided
talk about sa-learn, which is AFAIK SpamAssassin's training tool.

Did you mean I should change the last two strings of this:

antispam_backend = dspam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam = SPAM
antispam_trash = Trash
ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S

to this:

antispam_backend = dspam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam = SPAM
antispam_trash = Trash
ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
ANTISPAM_MAIL_SENDMAIL_ARGS = -F;[hidden email]
But such a config wouldn't tell the antispam plugin where DSPAM
server
is...
If I misunderstood you, please take a bit more time to explain
your
idea.< br>
Thanks!

Четверг, 19 февраля 2015, 9:31 UTC от Martin
Wheldon
<[hidden email] [5]>:

Hi,

No need to install DSPAM in the dovecot vm the dovecot antispam
plugin
supports
using sendmail to send the message to a retraining address.

http://wiki2.dovecot.org/Plugins/Antispam [6] [1]

The following example should get you working.

#=====================
# mailtrain plugin
#
# This plug can be used to train via an arbitrary program that
# receives the message on standard input. Since sendmail can be
# such a program, it can be used to send the message to another
# email address for training there.
#
# For example:
# (defaults to /usr/sbin/sendmail)
#antispam_mail_sendmail_args = --for;%u
antispam_mail_spam = --spam
antispam_mail_notspam = --ham
#antispam_mail_sendmail = /usr/sbin/sendmail
antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
#antispam_mail_sendmail_args = -f;[hidden email] # % expansion
done

by dovecot

Best Regards

Martin

On 2015-02-19 06:58, Орхан Касумов wrote:
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 [hidden email] [7] [2] [7] or
[hidden email] [8] [3] [8] 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
- ma il 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
<[hidden email] [9] [4]>:

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
[hidden email] [10]
[5] [1]
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:
[hidden email] [11]
[6] [2]
Likewise you can send missed spam to:
[hidden email] [12]
[7] [3]

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
[13]
[8]



Dspam-user mailing list
[hidden email] [14] [9]
https://lists.sourceforge.net/lists/listinfo/dspam-user [15]
[10]









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
[16]
[11]
[4]


Dspam-user mailing list
[hidden email] [17] [12] [5]
https://lists.sourceforge.net/lists/listinfo/dspam-user [18]
[13] [6]



Links:
------
[1]







http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
[19]
[14]
[2]







http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
[20]
[15]
[3]







http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
[21]
[16]
[4]







http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[22]
[17]
[5]







http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[23]
[18]
[6] https://lists.sourceforge.net/lists/listinfo/dspam-user
[24] [19]
[7] mailto:[hidden email] [25] [20]
[8] mailto:[hidden email] [26] [21]







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
[27]
[22]


Dspam-user mailing list
[hidden email] [28] [23]
https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
[24]



Links:
------
[1] http://wiki2.dovecot.org/Plugins/Antispam [30]
[2]


http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[31]
[3]




http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[32]
[4]



http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
[33]
[5] http://webmail.greenhills-it.co.uk/compose?To=user@...
[34]
[6]





http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
[35]
[7]




http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
[36]
[8]





http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[37]
[9]





http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[38]
[10] https://lists.sourceforge.net/lists/listinfo/dspam-user [39]
[11]





http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[40]
[12]





http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[41]
[13] https://lists.sourceforge.net/lists/listinfo/dspam-user [42]
[14]





http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
[43]
[15]





http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
[44]
[16]





http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
[45]
[17]





http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[46]
[18]





http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[47]
[19] https://lists.sourceforge.net/lists/listinfo/dspam-user [48]
[20]


http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[49]
[21]




http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[50]
[22]





http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
[51]
[23]





http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[52]
[24] https://lists.sourceforge.net/lists/listinfo/dspam-user [53]





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
[54]


Dspam-user mailing list
[hidden email] [55]
https://lists.sourceforge.net/lists/listinfo/dspam-user [56]



Links:
------
[1]


http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
[2]


http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
[3]


http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
[4]


http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
[5]


http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
[6] http://wiki2.dovecot.org/Plugins/Antispam
[7]
http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[8]

http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[9]

http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
[10] http://webmail.greenhills-it.co.uk/compose?To=user@...
[11]


http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
[12]


http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
[13]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[14]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[15] https://lists.sourceforge.net/lists/listinfo/dspam-user
[16]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[17]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[18] https://lists.sourceforge.net/lists/listinfo/dspam-user
[19]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
[20]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
[21]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
[22]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[23]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[24] https://lists.sourceforge.net/lists/listinfo/dspam-user
[25]
http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[26]

http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[27]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[28]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[29] https://lists.sourceforge.net/lists/listinfo/dspam-user
[30] http://wiki2.dovecot.org/Plugins/Antispam
[31]
http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[32]

http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[33]

http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
[34] http://webmail.greenhills-it.co.uk/compose?To=user@...
[35]


http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
[36]


http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
[37]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[38]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[39] https://lists.sourceforge.net/lists/listinfo/dspam-user
[40]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[41]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[42] https://lists.sourceforge.net/lists/listinfo/dspam-user
[43]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
[44]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
[45]


http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
[46]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[47]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[48] https://lists.sourceforge.net/lists/listinfo/dspam-user
[49]
http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
[50]

http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
[51]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[52]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[53] https://lists.sourceforge.net/lists/listinfo/dspam-user
[54]


http://pubads.g.doubleclick.net/gampad/clk?id=190641631&amp;iu=/4140/ostg.clktrk
[55]


http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
[56] https://lists.sourceforge.net/lists/listinfo/dspam-user
[57]
https://e.mail.ru/compose?To=retrain%2das%2dspam@...
[58]
https://e.mail.ru/compose?To=retrain%2das%2dham@...





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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user

!DSPAM:41,54e5dfe7249<a href="tel:111223319092">111223319092!




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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов
In reply to this post by Martin Wheldon
I finally managed to achieve what I needed: with all separate Postfix, Dovecot and DSPAM VMs I can
simply drag-and-drop mails between "Inbox" and "DSPAM" folders, and it triggers DSPAM training.

However, one strange behavior still exists: DSPAM training works with Thinderbird and The Bat! mail clients, but not with Outlook 2010.

dspam_stats reveal it, and here’s an additional investigation:
1. I fired up tcpdump on DSPAM server for packets coming in from IMAP server.
2. Using Thunderbird, I moved a mail from "Inbox" folder to "DSPAM" folder, then back – in both cases tcpdump recorded packets, and DSPAM retraining worked.
3. Using Outlook, I moved a mail from Inbox to "DSPAM" – tcpdump recorded nothing. I tried to move the mail back – Outlook didn’t allow .

For every message moved to DSPAM folder, Outlook says:
"Links and other functionality has been disabled. To restore functionality, move the message to Inbox."
However, moving back to Inbox doesn’t work – Outlook says: “Cannot move. The message has changed.”

Moreover, when in Outlook I move a mail from "Inbox" to "DSPAM", other mail clients don’t display that mail in the "DSPAM" mailbox.
Only when in Outlook I move the mail back from "DSPAM" to Inbox (indirectly: "DSPAM" => Trash => Inbox), other mail clients see that mail in the Inbox.

"DSPAM" folder is an ordinary Dovecot folder created automatically via "15-mailboxes.conf":

  mailbox DSPAM {
    special_use = \Junk
    auto = subscribe
  }

Seems like Outlook has additional client-side functionality regarding Junk folder treatment.
I googled to find a way turn off this additional functionality of Outlook, but found only this:

"Any email within the Junk Email folder is treated this way.
You have to actually move the email into another folder such as Inbox and all functionality will return."

Does anybody know how to make DSPAM retraining work with Outlook 2010?
Thanks for your attention!





Четверг, 19 февраля 2015, 13:42 UTC от Martin Wheldon <[hidden email]>:

>Hi,
>
>The following shows a example of how to use perl and Net::LMTP to do
>something
>simular to what you need.
>
>http://www.nntp.perl.org/group/perl.qpsmtpd/2005/12/msg4009.html
>
>Best Regards
>
>Martin
>
>On 2015-02-19 13:02, Martin Wheldon wrote:
>> Hi,
>>
>> Appologies, missed that line. In which case it looks like you have a
>> couple of
>> options, both of which use LMTP.
>>
>> Check out the DSPAM readme LMTP section for details.
>>
>> 1. Install dspamc on the Dovecot VM and invoke it with --client
>> option,
>> this tells
>>     it to connect via LMTP to the dspam daemon, which you have
>> running
>> on the DSPAM VM.
>>
>> 2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
>> using netcat to accomplish the same thing.
>>
>> Option 1 invoked using the dovecot antispam plugin using the dspam
>> backend and Option 2
>> with the mailtrain backend.
>>
>> Best Regards
>>
>> Martin
>>
>> On 2015-02-19 12:17, Орхан Касумов wrote:
>>> Thanks for the explanation, but our management doesn't accept DSPAM
>>> retraining by sending letters to
>>>  [hidden email] [57] and
>>>  [hidden email] [58].
>>> Let me copy and paste an excerpt from one of my previous letters:
>>>
>>> ------------------------
>>>
>>> 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 forwardin g to  [hidden email] or  [hidden email]
>>> 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.------------------------
>>> So, the question now becomes: is it possible to retrain DSPAM by
>>> using
>>> drag'n'drop between "Inbox" folder and "SPAM" folder
>>> if Postfix, Dovecot and DSPAM are installed on separate servers?
>>>
>>> Did anyone manage to do it? Please tell.
>>> Thanks!
>>>
>>> Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
>>> < [hidden email] >:
>>>
>>>> Hi,
>>>>
>>>> No problem, my suggestion is as follows:
>>>>
>>>> Configure DSPAM training using the email to retrain addresses. i.e
>>>>  [hidden email] [1] and
>>>>  [hidden email] [2] on the DSPAM VM, you probably
>>>> have
>>>> postfix installed already..
>>>> Here is a example from one of my installs (master.cf)
>>>>
>>>> dspam-retrain unix - n n - - pipe flags=XRu user=dspam
>>>> argv=/usr/local/bin/dspam-retrain-forward.pl
>>>> --debug=no
>>>> --client
>>>> --user ${sender}
>>>> --class=${nexthop}
>>>> --source=error
>>>> --full=yes
>>>> --headers-only=no
>>>> --bodies-only=yes
>>>> --first-only=no
>>>> --skip-first=no
>>>> --bin-dir=/usr/bin
>>>>
>>>> You then would need to be able to deliver retrain messages from the
>>>>
>>>> Dovecot VM to the DSPAM VM, this would probably
>>>> be best achieved using postfix as you are already using it.
>>>>
>>>> Configure Dovecot antispam plugin to send messages to be retrained
>>>> to
>>>> the retrain addresses using the mailtrain backend.
>>>> Probably with something like the following.
>>>>
>>>> >antispam_mail_sendmail = /usr/bin/mailx
>>>> >antispam_mail_spam = -s "retrain as spam"
>>>> >  [hidden email] [3]
>>>> >antispam_mail_notspam = -s "retrain as ham"
>>>> >  [hidden email] [4]
>>>>
>>>> Hope that makes it clearer.
>>>>
>>>> Best Regards
>>>>
>>>> Martin
>>>>
>>>> On 2015-02-19 11:03, Орхан Касумов wrote:
>>>> > Thanks for your participation, but the link and example you
>>>> provided
>>>> > talk about sa-learn, which is AFAIK SpamAssassin's training tool.
>>>> >
>>>> > Did you mean I should change the last two strings of this:
>>>> >
>>>> > antispam_backend = dspam
>>>> > antispam_signature = X-DSPAM-Signature
>>>> > antispam_signature_missing = error
>>>> > antispam_spam = SPAM
>>>> > antispam_trash = Trash
>>>> > ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
>>>> > ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>>>> >
>>>> > to this:
>>>> >
>>>> > antispam_backend = dspam
>>>> > antispam_signature = X-DSPAM-Signature
>>>> > antispam_signature_missing = error
>>>> > antispam_spam = SPAM
>>>> > antispam_trash = Trash
>>>> > ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
>>>> > ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
>>>> > But such a config wouldn't tell the antispam plugin where DSPAM
>>>> > server
>>>> > is...
>>>> > If I misunderstood you, please take a bit more time to explain
>>>> your
>>>> > idea.< br>
>>>> > Thanks!
>>>> >
>>>> > Четверг, 19 февраля 2015, 9:31 UTC от Martin
>>>> Wheldon
>>>> > < [hidden email] [5]>:
>>>> >
>>>> >> Hi,
>>>> >>
>>>> >> No need to install DSPAM in the dovecot vm the dovecot antispam
>>>> >> plugin
>>>> >> supports
>>>> >> using sendmail to send the message to a retraining address.
>>>> >>
>>>> >>  http://wiki2.dovecot.org/Plugins/Antispam [6] [1]
>>>> >>
>>>> >> The following example should get you working.
>>>> >>
>>>> >> #=====================
>>>> >> # mailtrain plugin
>>>> >> #
>>>> >> # This plug can be used to train via an arbitrary program that
>>>> >> # receives the message on standard input. Since sendmail can be
>>>> >> # such a program, it can be used to send the message to another
>>>> >> # email address for training there.
>>>> >> #
>>>> >> # For example:
>>>> >> # (defaults to /usr/sbin/sendmail)
>>>> >> #antispam_mail_sendmail_args = --for;%u
>>>> >> antispam_mail_spam = --spam
>>>> >> antispam_mail_notspam = --ham
>>>> >> #antispam_mail_sendmail = /usr/sbin/sendmail
>>>> >> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>>>> >> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion
>>>> done
>>>> >>
>>>> >> by dovecot
>>>> >>
>>>> >> Best Regards
>>>> >>
>>>> >> Martin
>>>> >>
>>>> >> On 2015-02-19 06:58, Орхан Касумов wrote:
>>>> >> > 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  [hidden email] [7] [2] [7] or
>>>> >> >  [hidden email] [8] [3] [8] 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
>>>> >> > - ma il 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
>>>> >> > < [hidden email] [9] [4]>:
>>>> >> >
>>>> >> >> 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
>>>>  [hidden email] [10]
>>>> >> [5] [1]
>>>> >> >> 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:
>>>>  [hidden email] [11]
>>>> >> [6] [2]
>>>> >> >> Likewise you can send missed spam to:
>>>>  [hidden email] [12]
>>>> >> [7] [3]
>>>> >> >>
>>>> >> >> 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
>>>> [13]
>>>> >> [8]
>>>> >> >>>
>>>> >> >>> _______________________________________________
>>>> >> >>> Dspam-user mailing list
>>>> >> >>>  [hidden email] [14] [9]
>>>> >> >>>  https://lists.sourceforge.net/lists/listinfo/dspam-user [15]
>>>> [10]
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>> >> >> 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
>>>> [16]
>>>> >> [11]
>>>> >> >> [4]
>>>> >> >> _______________________________________________
>>>> >> >> Dspam-user mailing list
>>>> >> >>  [hidden email] [17] [12] [5]
>>>> >> >>  https://lists.sourceforge.net/lists/listinfo/dspam-user [18]
>>>> [13] [6]
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > Links:
>>>> >> > ------
>>>> >> > [1]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [19]
>>>> >> [14]
>>>> >> > [2]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [20]
>>>> >> [15]
>>>> >> > [3]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [21]
>>>> >> [16]
>>>> >> > [4]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [22]
>>>> >> [17]
>>>> >> > [5]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [23]
>>>> >> [18]
>>>> >> > [6]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [24] [19]
>>>> >> > [7] mailto: [hidden email] [25] [20]
>>>> >> > [8] mailto: [hidden email] [26] [21]
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>> >> 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
>>>> [27]
>>>> >> [22]
>>>> >> _______________________________________________
>>>> >> Dspam-user mailing list
>>>> >>  [hidden email] [28] [23]
>>>> >>  https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
>>>> [24]
>>>> >
>>>> >
>>>> >
>>>> > Links:
>>>> > ------
>>>> > [1]  http://wiki2.dovecot.org/Plugins/Antispam [30]
>>>> > [2]
>>>> >
>>>>
>>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [31]
>>>> > [3]
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [32]
>>>> > [4]
>>>> >
>>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>> [33]
>>>> > [5]  http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>> [34]
>>>> > [6]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>> [35]
>>>> > [7]
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>> [36]
>>>> > [8]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [37]
>>>> > [9]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [38]
>>>> > [10]  https://lists.sourceforge.net/lists/listinfo/dspam-user [39]
>>>> > [11]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [40]
>>>> > [12]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [41]
>>>> > [13]  https://lists.sourceforge.net/lists/listinfo/dspam-user [42]
>>>> > [14]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [43]
>>>> > [15]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [44]
>>>> > [16]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [45]
>>>> > [17]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [46]
>>>> > [18]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [47]
>>>> > [19]  https://lists.sourceforge.net/lists/listinfo/dspam-user [48]
>>>> > [20]
>>>> >
>>>>
>>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [49]
>>>> > [21]
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [50]
>>>> > [22]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [51]
>>>> > [23]
>>>> >
>>>> >
>>>>
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [52]
>>>> > [24]  https://lists.sourceforge.net/lists/listinfo/dspam-user [53]
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>> 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
>>>> [54]
>>>> _______________________________________________
>>>> Dspam-user mailing list
>>>>  [hidden email] [55]
>>>>  https://lists.sourceforge.net/lists/listinfo/dspam-user [56]
>>>
>>>
>>>
>>> Links:
>>> ------
>>> [1]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>> [2]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>> [3]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>> [4]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>> [5]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
>>> [6]  http://wiki2.dovecot.org/Plugins/Antispam
>>> [7]
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [8]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [9]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>> [10]  http://webmail.greenhills-it.co.uk/compose?To=user@...
>>> [11]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>> [12]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>> [13]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [14]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [15]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [16]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [17]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [18]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [19]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>> [20]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>> [21]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>> [22]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [23]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [24]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [25]
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [26]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [27]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [28]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [29]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [30]  http://wiki2.dovecot.org/Plugins/Antispam
>>> [31]
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [32]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [33]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>> [34]  http://webmail.greenhills-it.co.uk/compose?To=user@...
>>> [35]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>> [36]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>> [37]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [38]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [39]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [40]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [41]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [42]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [43]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>> [44]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>> [45]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>> [46]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [47]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [48]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [49]
>>>  http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>> [50]
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>> [51]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [52]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [53]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [54]
>>>
>>>
>>>  http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> [55]
>>>
>>>
>>>  http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>> [56]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> [57]
>>>  https://e.mail.ru/compose?To=retrain%2das%2dspam@...
>>> [58]
>>>  https://e.mail.ru/compose?To=retrain%2das%2dham@...
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>  [hidden email]
>>  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>
>> !DSPAM:41,54e5dfe7249111223319092!
>
>
>------------------------------------------------------------------------------
>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
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/dspam-user
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Martin Wheldon
Hi,

There was a similar question regarding Outlook a little while ago on
this list that may be what you are looking for:

[Dspam-user] Dspam and the Dovecot Antispam plugin retraining messages

The following uri may help?

https://social.msdn.microsoft.com/Forums/en-US/8eafe714-8a8c-44bc-9228-d6a68731494f/outlook-2013-behavior-as-an-imap-client?forum=os_exchangeprotocols


Best Regards

Martin

On 2015-03-12 14:11, Орхан Касумов wrote:

> I finally managed to achieve what I needed: with all separate
> Postfix, Dovecot and DSPAM VMs I can
> simply drag-and-drop mails between "Inbox" and "DSPAM" folders, and
> it triggers DSPAM training.
>
> However, one strange behavior still exists: DSPAM training works with
> Thinderbird and The Bat! mail clients, but not with Outlook 2010.
>
> dspam_stats reveal it, and here’s an additional investigation:
> 1. I fired up tcpdump on DSPAM server for packets coming in from IMAP
> server.
> 2. Using Thunderbird, I moved a mail from "Inbox" folder to "DSPAM"
> folder, then back – in both cases tcpdump recorded packets, and DSPAM
> retraining worked.
> 3. Using Outlook, I moved a mail from Inbox to "DSPAM" – tcpdump
> recorded nothing. I tried to move the mail back – Outlook didn’t
> allow
> .
>
> For every message moved to DSPAM folder, Outlook says:
> "Links and other functionality has been disabled. To restore
> functionality, move the message to Inbox."
> However, moving back to Inbox doesn’t work – Outlook says: “Cannot
> move. The message has changed.”
>
> Moreover, when in Outlook I move a mail from "Inbox" to "DSPAM",
> other mail clients don’t display that mail in the "DSPAM" mailbox.
> Only when in Outlook I move the mail back from "DSPAM" to Inbox
> (indirectly: "DSPAM" => Trash => Inbox), other mail clients see that
> mail in the Inbox.
>
> "DSPAM" folder is an ordinary Dovecot folder created automatically
> via "15-mailboxes.conf":
>
>   mailbox DSPAM {
>     special_use = \Junk
>     auto = subscribe
>   }
>
> Seems like Outlook has additional client-side functionality regarding
> Junk folder treatment.
> I googled to find a way turn off this additional functionality of
> Outlook, but found only this:
>
> "Any email within the Junk Email folder is treated this way.
> You have to actually move the email into another folder such as Inbox
> and all functionality will return."
>
> Does anybody know how to make DSPAM retraining work with Outlook
> 2010?
> Thanks for your attention!
>
>
>
>
>
> Четверг, 19 февраля 2015, 13:42 UTC от Martin Wheldon
> <[hidden email]>:
>>Hi,
>>
>>The following shows a example of how to use perl and Net::LMTP to do
>>something
>>simular to what you need.
>>
>>http://www.nntp.perl.org/group/perl.qpsmtpd/2005/12/msg4009.html
>>
>>Best Regards
>>
>>Martin
>>
>>On 2015-02-19 13:02, Martin Wheldon wrote:
>>> Hi,
>>>
>>> Appologies, missed that line. In which case it looks like you have
>>> a
>>> couple of
>>> options, both of which use LMTP.
>>>
>>> Check out the DSPAM readme LMTP section for details.
>>>
>>> 1. Install dspamc on the Dovecot VM and invoke it with --client
>>> option,
>>> this tells
>>>     it to connect via LMTP to the dspam daemon, which you have
>>> running
>>> on the DSPAM VM.
>>>
>>> 2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
>>> using netcat to accomplish the same thing.
>>>
>>> Option 1 invoked using the dovecot antispam plugin using the dspam
>>> backend and Option 2
>>> with the mailtrain backend.
>>>
>>> Best Regards
>>>
>>> Martin
>>>
>>> On 2015-02-19 12:17, Орхан Касумов wrote:
>>>> Thanks for the explanation, but our management doesn't accept
>>>> DSPAM
>>>> retraining by sending letters to
>>>>  [hidden email] [57] and
>>>>  [hidden email] [58].
>>>> Let me copy and paste an excerpt from one of my previous letters:
>>>>
>>>> ------------------------
>>>>
>>>> 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 forwardin g to  [hidden email] or  
>>>> [hidden email]
>>>> 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.------------------------
>>>> So, the question now becomes: is it possible to retrain DSPAM by
>>>> using
>>>> drag'n'drop between "Inbox" folder and "SPAM" folder
>>>> if Postfix, Dovecot and DSPAM are installed on separate servers?
>>>>
>>>> Did anyone manage to do it? Please tell.
>>>> Thanks!
>>>>
>>>> Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
>>>> < [hidden email] >:
>>>>
>>>>> Hi,
>>>>>
>>>>> No problem, my suggestion is as follows:
>>>>>
>>>>> Configure DSPAM training using the email to retrain addresses.
>>>>> i.e
>>>>>  [hidden email] [1] and
>>>>>  [hidden email] [2] on the DSPAM VM, you
>>>>> probably
>>>>> have
>>>>> postfix installed already..
>>>>> Here is a example from one of my installs (master.cf)
>>>>>
>>>>> dspam-retrain unix - n n - - pipe flags=XRu user=dspam
>>>>> argv=/usr/local/bin/dspam-retrain-forward.pl
>>>>> --debug=no
>>>>> --client
>>>>> --user ${sender}
>>>>> --class=${nexthop}
>>>>> --source=error
>>>>> --full=yes
>>>>> --headers-only=no
>>>>> --bodies-only=yes
>>>>> --first-only=no
>>>>> --skip-first=no
>>>>> --bin-dir=/usr/bin
>>>>>
>>>>> You then would need to be able to deliver retrain messages from
>>>>> the
>>>>>
>>>>> Dovecot VM to the DSPAM VM, this would probably
>>>>> be best achieved using postfix as you are already using it.
>>>>>
>>>>> Configure Dovecot antispam plugin to send messages to be
>>>>> retrained
>>>>> to
>>>>> the retrain addresses using the mailtrain backend.
>>>>> Probably with something like the following.
>>>>>
>>>>> >antispam_mail_sendmail = /usr/bin/mailx
>>>>> >antispam_mail_spam = -s "retrain as spam"
>>>>> >  [hidden email] [3]
>>>>> >antispam_mail_notspam = -s "retrain as ham"
>>>>> >  [hidden email] [4]
>>>>>
>>>>> Hope that makes it clearer.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Martin
>>>>>
>>>>> On 2015-02-19 11:03, Орхан Касумов wrote:
>>>>> > Thanks for your participation, but the link and example you
>>>>> provided
>>>>> > talk about sa-learn, which is AFAIK SpamAssassin's training
>>>>> tool.
>>>>> >
>>>>> > Did you mean I should change the last two strings of this:
>>>>> >
>>>>> > antispam_backend = dspam
>>>>> > antispam_signature = X-DSPAM-Signature
>>>>> > antispam_signature_missing = error
>>>>> > antispam_spam = SPAM
>>>>> > antispam_trash = Trash
>>>>> > ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
>>>>> > ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>>>>> >
>>>>> > to this:
>>>>> >
>>>>> > antispam_backend = dspam
>>>>> > antispam_signature = X-DSPAM-Signature
>>>>> > antispam_signature_missing = error
>>>>> > antispam_spam = SPAM
>>>>> > antispam_trash = Trash
>>>>> > ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
>>>>> > ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
>>>>> > But such a config wouldn't tell the antispam plugin where DSPAM
>>>>> > server
>>>>> > is...
>>>>> > If I misunderstood you, please take a bit more time to explain
>>>>> your
>>>>> > idea.< br>
>>>>> > Thanks!
>>>>> >
>>>>> > Четверг, 19 февраля 2015, 9:31 UTC от Martin
>>>>> Wheldon
>>>>> > < [hidden email] [5]>:
>>>>> >
>>>>> >> Hi,
>>>>> >>
>>>>> >> No need to install DSPAM in the dovecot vm the dovecot
>>>>> antispam
>>>>> >> plugin
>>>>> >> supports
>>>>> >> using sendmail to send the message to a retraining address.
>>>>> >>
>>>>> >>  http://wiki2.dovecot.org/Plugins/Antispam [6] [1]
>>>>> >>
>>>>> >> The following example should get you working.
>>>>> >>
>>>>> >> #=====================
>>>>> >> # mailtrain plugin
>>>>> >> #
>>>>> >> # This plug can be used to train via an arbitrary program that
>>>>> >> # receives the message on standard input. Since sendmail can
>>>>> be
>>>>> >> # such a program, it can be used to send the message to
>>>>> another
>>>>> >> # email address for training there.
>>>>> >> #
>>>>> >> # For example:
>>>>> >> # (defaults to /usr/sbin/sendmail)
>>>>> >> #antispam_mail_sendmail_args = --for;%u
>>>>> >> antispam_mail_spam = --spam
>>>>> >> antispam_mail_notspam = --ham
>>>>> >> #antispam_mail_sendmail = /usr/sbin/sendmail
>>>>> >> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>>>>> >> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion
>>>>> done
>>>>> >>
>>>>> >> by dovecot
>>>>> >>
>>>>> >> Best Regards
>>>>> >>
>>>>> >> Martin
>>>>> >>
>>>>> >> On 2015-02-19 06:58, Орхан Касумов wrote:
>>>>> >> > 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  [hidden email] [7] [2] [7] or
>>>>> >> >  [hidden email] [8] [3] [8] 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
>>>>> >> > - ma il 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
>>>>> >> > < [hidden email] [9] [4]>:
>>>>> >> >
>>>>> >> >> 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
>>>>>  [hidden email] [10]
>>>>> >> [5] [1]
>>>>> >> >> 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:
>>>>>  [hidden email] [11]
>>>>> >> [6] [2]
>>>>> >> >> Likewise you can send missed spam to:
>>>>>  [hidden email] [12]
>>>>> >> [7] [3]
>>>>> >> >>
>>>>> >> >> 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
>>>>> [13]
>>>>> >> [8]
>>>>> >> >>>
>>>>> >> >>> _______________________________________________
>>>>> >> >>> Dspam-user mailing list
>>>>> >> >>>  [hidden email] [14] [9]
>>>>> >> >>>  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [15]
>>>>> [10]
>>>>> >> >>
>>>>> >> >>
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> >> >> 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
>>>>> [16]
>>>>> >> [11]
>>>>> >> >> [4]
>>>>> >> >> _______________________________________________
>>>>> >> >> Dspam-user mailing list
>>>>> >> >>  [hidden email] [17] [12] [5]
>>>>> >> >>  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [18]
>>>>> [13] [6]
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Links:
>>>>> >> > ------
>>>>> >> > [1]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>>> [19]
>>>>> >> [14]
>>>>> >> > [2]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>>> [20]
>>>>> >> [15]
>>>>> >> > [3]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>>> [21]
>>>>> >> [16]
>>>>> >> > [4]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [22]
>>>>> >> [17]
>>>>> >> > [5]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [23]
>>>>> >> [18]
>>>>> >> > [6]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [24] [19]
>>>>> >> > [7] mailto: [hidden email] [25] [20]
>>>>> >> > [8] mailto: [hidden email] [26] [21]
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> >> 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
>>>>> [27]
>>>>> >> [22]
>>>>> >> _______________________________________________
>>>>> >> Dspam-user mailing list
>>>>> >>  [hidden email] [28] [23]
>>>>> >>  https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
>>>>> [24]
>>>>> >
>>>>> >
>>>>> >
>>>>> > Links:
>>>>> > ------
>>>>> > [1]  http://wiki2.dovecot.org/Plugins/Antispam [30]
>>>>> > [2]
>>>>> >
>>>>>
>>>>>  
>>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>>> [31]
>>>>> > [3]
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>>> [32]
>>>>> > [4]
>>>>> >
>>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>>> [33]
>>>>> > [5]  
>>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>>> [34]
>>>>> > [6]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>>> [35]
>>>>> > [7]
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>>> [36]
>>>>> > [8]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [37]
>>>>> > [9]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [38]
>>>>> > [10]  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [39]
>>>>> > [11]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [40]
>>>>> > [12]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [41]
>>>>> > [13]  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [42]
>>>>> > [14]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>>> [43]
>>>>> > [15]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>>> [44]
>>>>> > [16]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>>> [45]
>>>>> > [17]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [46]
>>>>> > [18]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [47]
>>>>> > [19]  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [48]
>>>>> > [20]
>>>>> >
>>>>>
>>>>>  
>>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>>> [49]
>>>>> > [21]
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>>> [50]
>>>>> > [22]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [51]
>>>>> > [23]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [52]
>>>>> > [24]  https://lists.sourceforge.net/lists/listinfo/dspam-user 
>>>>> [53]
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> 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
>>>>> [54]
>>>>> _______________________________________________
>>>>> Dspam-user mailing list
>>>>>  [hidden email] [55]
>>>>>  https://lists.sourceforge.net/lists/listinfo/dspam-user [56]
>>>>
>>>>
>>>>
>>>> Links:
>>>> ------
>>>> [1]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>>> [2]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>>> [3]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>>> [4]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>>> [5]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
>>>> [6]  http://wiki2.dovecot.org/Plugins/Antispam
>>>> [7]
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [8]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [9]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>> [10]  
>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>> [11]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>> [12]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>> [13]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [14]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [15]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [16]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [17]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [18]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [19]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [20]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [21]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [22]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [23]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [24]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [25]
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [26]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [27]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [28]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [29]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [30]  http://wiki2.dovecot.org/Plugins/Antispam
>>>> [31]
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [32]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [33]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>> [34]  
>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>> [35]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>> [36]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>> [37]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [38]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [39]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [40]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [41]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [42]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [43]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [44]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [45]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [46]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [47]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [48]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [49]
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [50]
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [51]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [52]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [53]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [54]
>>>>
>>>>
>>>>  
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [55]
>>>>
>>>>
>>>>  
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [56]  https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [57]
>>>>  
>>>> https://e.mail.ru/compose?To=retrain%2das%2dspam@...
>>>> [58]
>>>>  
>>>> https://e.mail.ru/compose?To=retrain%2das%2dham@...
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>  [hidden email]
>>>  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
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/dspam-user
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your
> hub for all
> things parallel software development, from weekly thought leadership
> blogs to
> news, videos, case studies, tutorials and more. Take a look and join
> the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Dspam-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
> !DSPAM:41,55019f4e45172896837104!


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] Best practice integration of DSPAM into mail system with separate Postfix and Dovecot VMs

Орхан Касумов
Many thanks! That explains a lot.

(BTW, I was incorrect: my version of Outlook was 2013, not 2010. I haven't checked with Outlook 2010,
but with Outlook 2007 DSPAM retraining works.)


Четверг, 12 марта 2015, 21:27 UTC от Martin Wheldon <[hidden email]>:
Hi,

There was a similar question regarding Outlook a little while ago on
this list that may be what you are looking for:

[Dspam-user] Dspam and the Dovecot Antispam plugin retraining messages

The following uri may help?

https://social.msdn.microsoft.com/Forums/en-US/8eafe714-8a8c-44bc-9228-d6a68731494f/outlook-2013-behavior-as-an-imap-client?forum=os_exchangeprotocols


Best Regards

Martin

On 2015-03-12 14:11, Орхан Касумов wrote:
> I finally managed to achieve what I needed: with all separate
> Postfix, Dovecot and DSPAM VMs I can
> simply drag-and-drop mails between "Inbox" and "DSPAM" folders, and
> it triggers DSPAM training.
>
> However, one strange behavior still exists: DSPAM training works with
> Thinderbird and The Bat! mail clients, but not with Outlook 2010.
>
> dspam_stats reveal it, and here’s an additional investigation:
> 1. I fired up tcpdump on DSPAM server for packets coming in from IMAP
> server.
> 2. Using Thunderbird, I moved a mail from "Inbox" folder to "DSPAM"
> folder, then back – in both cases tcpdump recorded packets, and DSPAM
> retraining worked.
> 3. Using Outlook, I moved a mail from Inbox to "DSPAM" – tcpdump
> recorded nothing. I tried to move the mail back – Outlook didn’t
> allow
> .
>
> For every message moved to DSPAM folder, Outlook says:
> "Links and other functionality has been disabled. To restore
> functionality, move the message to Inbox."
> However, moving back to Inbox doesn’t work – Outlook says: “Cannot
> move. The message has changed.”
>
> Moreover, when in Outlook I move a mail from "Inbox" to "DSPAM",
> other mail clients don’t display that mail in the "DSPAM" mailbox.
> Only when in Outlook I move the mail back from "DSPAM" to Inbox
> (indirectly: "DSPAM" => Trash => Inbox), other mail clients see that
> mail in the Inbox.
>
> "DSPAM" folder is an ordinary Dovecot folder created automatically
> via "15-mailboxes.conf":
>
> mailbox DSPAM {
> special_use = \Junk
> auto = subscribe
> }
>
> Seems like Outlook has additional client-side functionality regarding
> Junk folder treatment.
> I googled to find a way turn off this additional functionality of
> Outlook, but found only this:
>
> "Any email within the Junk Email folder is treated this way.
> You have to actually move the email into another folder such as Inbox
> and all functionality will return."
>
> Does anybody know how to make DSPAM retraining work with Outlook
> 2010?
> Thanks for your attention!
>
>
>
>
>
> Четверг, 19 февраля 2015, 13:42 UTC от Martin Wheldon
> <martin.wheldon@...>:
>>Hi,
>>
>>The following shows a example of how to use perl and Net::LMTP to do
>>something
>>simular to what you need.
>>
>>http://www.nntp.perl.org/group/perl.qpsmtpd/2005/12/msg4009.html
>>
>>Best Regards
>>
>>Martin
>>
>>On 2015-02-19 13:02, Martin Wheldon wrote:
>>> Hi,
>>>
>>> Appologies, missed that line. In which case it looks like you have
>>> a
>>> couple of
>>> options, both of which use LMTP.
>>>
>>> Check out the DSPAM readme LMTP section for details.
>>>
>>> 1. Install dspamc on the Dovecot VM and invoke it with --client
>>> option,
>>> this tells
>>> it to connect via LMTP to the dspam daemon, which you have
>>> running
>>> on the DSPAM VM.
>>>
>>> 2. Write a scriptto run on the Dovecot VM that talks LMTP possibly
>>> using netcat to accomplish the same thing.
>>>
>>> Option 1 invoked using the dovecot antispam plugin using the dspam
>>> backend and Option 2
>>> with the mailtrain backend.
>>>
>>> Best Regards
>>>
>>> Martin
>>>
>>> On 2015-02-19 12:17, Орхан Касумов wrote:
>>>> Thanks for the explanation, but our management doesn't accept
>>>> DSPAM
>>>> retraining by sending letters to
>>>> retrain-as-spam@... [57] and
>>>> retrain-as-ham@... [58].
>>>> Let me copy and paste an excerpt from one of my previous letters:
>>>>
>>>> ------------------------
>>>>
>>>> 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 forwardin g to spam-user@... or
>>>> notspam-user@...
>>>> 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.------------------------
>>>> So, the question now becomes: is it possible to retrain DSPAM by
>>>> using
>>>> drag'n'drop between "Inbox" folder and "SPAM" folder
>>>> if Postfix, Dovecot and DSPAM are installed on separate servers?
>>>>
>>>> Did anyone manage to do it? Please tell.
>>>> Thanks!
>>>>
>>>> Четверг, 19 февраля 2015, 11:43 UTC от Martin Wheldon
>>>> < martin.wheldon@... >:
>>>>
>>>>> Hi,
>>>>>
>>>>> No problem, my suggestion is as follows:
>>>>>
>>>>> Configure DSPAM training using the email to retrain addresses.
>>>>> i.e
>>>>> retrain-as-spam@... [1] and
>>>>> retrain-as-ham@... [2] on the DSPAM VM, you
>>>>> probably
>>>>> have
>>>>> postfix installed already..
>>>>> Here is a example from one of my installs (master.cf)
>>>>>
>>>>> dspam-retrain unix - n n - - pipe flags=XRu user=dspam
>>>>> argv=/usr/local/bin/dspam-retrain-forward.pl
>>>>> --debug=no
>>>>> --client
>>>>> --user ${sender}
>>>>> --class=${nexthop}
>>>>> --source=error
>>>>> --full=yes
>>>>> --headers-only=no
>>>>> --bodies-only=yes
>>>>> --first-only=no
>>>>> --skip-first=no
>>>>> --bin-dir=/usr/bin
>>>>>
>>>>> You then would need to be able to deliver retrain messages from
>>>>> the
>>>>>
>>>>> Dovecot VM to the DSPAM VM, this would probably
>>>>> be best achieved using postfix as you are already using it.
>>>>>
>>>>> Configure Dovecot antispam plugin to send messages to be
>>>>> retrained
>>>>> to
>>>>> the retrain addresses using the mailtrain backend.
>>>>> Probably with something like the following.
>>>>>
>>>>> >antispam_mail_sendmail = /usr/bin/mailx
>>>>> >antispam_mail_spam = -s "retrain as spam"
>>>>> > retrain-as-spam@... [3]
>>>>> >antispam_mail_notspam = -s "retrain as ham"
>>>>> > retrain-as-ham@... [4]
>>>>>
>>>>> Hope that makes it clearer.
>>>>>
>>>>> Best Regards
>>>>>
>>>>> Martin
>>>>>
>>>>> On 2015-02-19 11:03, Орхан Касумов wrote:
>>>>> > Thanks for your participation, but the link and example you
>>>>> provided
>>>>> > talk about sa-learn, which is AFAIK SpamAssassin's training
>>>>> tool.
>>>>> >
>>>>> > Did you mean I should change the last two strings of this:
>>>>> >
>>>>> > antispam_backend = dspam
>>>>> > antispam_signature = X-DSPAM-Signature
>>>>> > antispam_signature_missing = error
>>>>> > antispam_spam = SPAM
>>>>> > antispam_trash = Trash
>>>>> > ANTISPAM_DSPAM_BINARY = /USR/LOCAL/BIN/DSPAM
>>>>> > ANTISPAM_DSPAM_ARGS = --SOURCE=ERROR;--SIGNATURE=%%S
>>>>> >
>>>>> > to this:
>>>>> >
>>>>> > antispam_backend = dspam
>>>>> > antispam_signature = X-DSPAM-Signature
>>>>> > antispam_signature_missing = error
>>>>> > antispam_spam = SPAM
>>>>> > antispam_trash = Trash
>>>>> > ANTISPAM_MAIL_SENDMAIL = /USR/SBIN/SENDMAIL
>>>>> > ANTISPAM_MAIL_SENDMAIL_ARGS = -F;%[hidden email]
>>>>> > But such a config wouldn't tell the antispam plugin where DSPAM
>>>>> > server
>>>>> > is...
>>>>> > If I misunderstood you, please take a bit more time to explain
>>>>> your
>>>>> > idea.< br>
>>>>> > Thanks!
>>>>> >
>>>>> > Четверг, 19 февраля 2015, 9:31 UTC от Martin
>>>>> Wheldon
>>>>> > < martin.wheldon@... [5]>:
>>>>> >
>>>>> >> Hi,
>>>>> >>
>>>>> >> No need to install DSPAM in the dovecot vm the dovecot
>>>>> antispam
>>>>> >> plugin
>>>>> >> supports
>>>>> >> using sendmail to send the message to a retraining address.
>>>>> >>
>>>>> >> http://wiki2.dovecot.org/Plugins/Antispam [6] [1]
>>>>> >>
>>>>> >> The following example should get you working.
>>>>> >>
>>>>> >> #=====================
>>>>> >> # mailtrain plugin
>>>>> >> #
>>>>> >> # This plug can be used to train via an arbitrary program that
>>>>> >> # receives the message on standard input. Since sendmail can
>>>>> be
>>>>> >> # such a program, it can be used to send the message to
>>>>> another
>>>>> >> # email address for training there.
>>>>> >> #
>>>>> >> # For example:
>>>>> >> # (defaults to /usr/sbin/sendmail)
>>>>> >> #antispam_mail_sendmail_args = --for;%u
>>>>> >> antispam_mail_spam = --spam
>>>>> >> antispam_mail_notspam = --ham
>>>>> >> #antispam_mail_sendmail = /usr/sbin/sendmail
>>>>> >> antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
>>>>> >> #antispam_mail_sendmail_args = -f;%[hidden email] # % expansion
>>>>> done
>>>>> >>
>>>>> >> by dovecot
>>>>> >>
>>>>> >> Best Regards
>>>>> >>
>>>>> >> Martin
>>>>> >>
>>>>> >> On 2015-02-19 06:58, Орхан Касумов wrote:
>>>>> >> > 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 spam-user@... [7] [2] [7] or
>>>>> >> > notspam-user@... [8] [3] [8] 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
>>>>> >> > - ma il 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
>>>>> >> > < ebroch@... [9] [4]>:
>>>>> >> >
>>>>> >> >> 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
>>>>> user@... [10]
>>>>> >> [5] [1]
>>>>> >> >> 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:
>>>>> notspam-johndoe@... [11]
>>>>> >> [6] [2]
>>>>> >> >> Likewise you can send missed spam to:
>>>>> spam-johndoe@... [12]
>>>>> >> [7] [3]
>>>>> >> >>
>>>>> >> >> 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
>>>>> [13]
>>>>> >> [8]
>>>>> >> >>>
>>>>> >> >>> _______________________________________________
>>>>> >> >>> Dspam-user mailing list
>>>>> >> >>> Dspam-user@... [14] [9]
>>>>> >> >>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [15]
>>>>> [10]
>>>>> >> >>
>>>>> >> >>
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> >> >> 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
>>>>> [16]
>>>>> >> [11]
>>>>> >> >> [4]
>>>>> >> >> _______________________________________________
>>>>> >> >> Dspam-user mailing list
>>>>> >> >> Dspam-user@... [17] [12] [5]
>>>>> >> >> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [18]
>>>>> [13] [6]
>>>>> >> >
>>>>> >> >
>>>>> >> >
>>>>> >> > Links:
>>>>> >> > ------
>>>>> >> > [1]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>>> [19]
>>>>> >> [14]
>>>>> >> > [2]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>>> [20]
>>>>> >> [15]
>>>>> >> > [3]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>>> [21]
>>>>> >> [16]
>>>>> >> > [4]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [22]
>>>>> >> [17]
>>>>> >> > [5]
>>>>> >> >
>>>>> >> >
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [23]
>>>>> >> [18]
>>>>> >> > [6] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [24] [19]
>>>>> >> > [7] mailto: spam-user@... [25] [20]
>>>>> >> > [8] mailto: notspam-user@... [26] [21]
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> >> 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
>>>>> [27]
>>>>> >> [22]
>>>>> >> _______________________________________________
>>>>> >> Dspam-user mailing list
>>>>> >> Dspam-user@... [28] [23]
>>>>> >> https://lists.sourceforge.net/lists/listinfo/dspam-user [29]
>>>>> [24]
>>>>> >
>>>>> >
>>>>> >
>>>>> > Links:
>>>>> > ------
>>>>> > [1] http://wiki2.dovecot.org/Plugins/Antispam [30]
>>>>> > [2]
>>>>> >
>>>>>
>>>>>
>>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>>> [31]
>>>>> > [3]
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>>> [32]
>>>>> > [4]
>>>>> >
>>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>>> [33]
>>>>> > [5]
>>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>>> [34]
>>>>> > [6]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>>> [35]
>>>>> > [7]
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>>> [36]
>>>>> > [8]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [37]
>>>>> > [9]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [38]
>>>>> > [10] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [39]
>>>>> > [11]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [40]
>>>>> > [12]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [41]
>>>>> > [13] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [42]
>>>>> > [14]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>>> [43]
>>>>> > [15]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>>> [44]
>>>>> > [16]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>>> [45]
>>>>> > [17]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [46]
>>>>> > [18]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [47]
>>>>> > [19] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [48]
>>>>> > [20]
>>>>> >
>>>>>
>>>>>
>>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>>> [49]
>>>>> > [21]
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>>> [50]
>>>>> > [22]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>>> [51]
>>>>> > [23]
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>>> [52]
>>>>> > [24] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>>> [53]
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>> 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
>>>>> [54]
>>>>> _______________________________________________
>>>>> Dspam-user mailing list
>>>>> Dspam-user@... [55]
>>>>> https://lists.sourceforge.net/lists/listinfo/dspam-user [56]
>>>>
>>>>
>>>>
>>>> Links:
>>>> ------
>>>> [1]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>>> [2]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>>> [3]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dspam@...
>>>> [4]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=retrain%2das%2dham@...
>>>> [5]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=martin.wheldon@greenhills%2dit.co.uk
>>>> [6] http://wiki2.dovecot.org/Plugins/Antispam
>>>> [7]
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [8]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [9]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>> [10]
>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>> [11]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>> [12]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>> [13]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [14]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [15] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [16]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [17]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [18] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [19]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [20]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [21]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [22]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [23]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [24] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [25]
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [26]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [27]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [28]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [29] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [30] http://wiki2.dovecot.org/Plugins/Antispam
>>>> [31]
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [32]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [33]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=ebroch@...
>>>> [34]
>>>> http://webmail.greenhills-it.co.uk/compose?To=user@...
>>>> [35]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2djohndoe@...
>>>> [36]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2djohndoe@...
>>>> [37]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [38]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [39] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [40]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [41]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [42] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [43]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3auser@...
>>>> [44]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3anotspam%2dusername@...
>>>> [45]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk//e.mail.ru/compose/?mailto=mailto%3aspam%2dusername@...
>>>> [46]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [47]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [48] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [49]
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=spam%2duser@...
>>>> [50]
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=notspam%2duser@...
>>>> [51]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [52]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [53] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [54]
>>>>
>>>>
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> [55]
>>>>
>>>>
>>>>
>>>> http://webmail.greenhills-it.co.uk/compose?To=Dspam%2duser@...
>>>> [56] https://lists.sourceforge.net/lists/listinfo/dspam-user
>>>> [57]
>>>>
>>>> https://e.mail.ru/compose?To=retrain%2das%2dspam@...
>>>> [58]
>>>>
>>>> https://e.mail.ru/compose?To=retrain%2das%2dham@...
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> Dspam-user@...
>>> 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
>>Dspam-user@...
>>https://lists.sourceforge.net/lists/listinfo/dspam-user
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your
> hub for all
> things parallel software development, from weekly thought leadership
> blogs to
> news, videos, case studies, tutorials and more. Take a look and join
> the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@...
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
> !DSPAM:41,55019f4e45172896837104!


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dspam-user mailing list
Dspam-user@...
https://lists.sourceforge.net/lists/listinfo/dspam-user


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Loading...