Re: sa-learn with remote Dovecot folders

2015-04-09 Thread Andreas Kasenides

Thanks for your reply.
You got me thinking towards the antispam plugin which I have nto used 
before, but can you elaborate if my users are system users and the 
training is done only via a cron entry?


Andreas



On 03/04/15 16:27, Gedalya wrote:

On 04/03/2015 06:13 AM, Andreas Kasenides wrote:

Hi all!

The set-up I have is a classic one:
1. one or more Dovecot relay/directors Postfix SMTP servers in DMZ
2. one or more backend IMAP/SMTP servers on the inside network
3. There may or may not be separate incoming or outgoing designated 
SMTP servers.

Now the desired functionality is (of course):
1. relay machines receive messages from outside AND inside
2. relays check for all the bad things (spam, viruses etc).
3. for incoming messages relays check for valid local users and 
reject messages for invalid users
4. after all checks are done incoming messages are transferred to the 
backend systems where they are accessed via the Dovecot directors


While all the above works nicely, the problem I have is how to train 
my spamassassin (used by amavisd) on the front ends when all messages 
are on the back ends. Of course transferring the spam detection 
procedures internally is not such a great option.Am I missing 
something? I tried googling for info but nothing substantial turned up.


Thanks.

I use ssh. The exact details depend on your setup, of course. Do you 
use system users of virtual users? What triggers the training? Is it 
the antispam plugin?


sa-learn with remote Dovecot folders

2015-04-03 Thread Andreas Kasenides

Hi all!

The set-up I have is a classic one:
1. one or more Dovecot relay/directors Postfix SMTP servers in DMZ
2. one or more backend IMAP/SMTP servers on the inside network
3. There may or may not be separate incoming or outgoing designated SMTP 
servers.

Now the desired functionality is (of course):
1. relay machines receive messages from outside AND inside
2. relays check for all the bad things (spam, viruses etc).
3. for incoming messages relays check for valid local users and reject 
messages for invalid users
4. after all checks are done incoming messages are transferred to the 
backend systems where they are accessed via the Dovecot directors


While all the above works nicely, the problem I have is how to train my 
spamassassin (used by amavisd) on the front ends when all messages are 
on the back ends. Of course transferring the spam detection procedures 
internally is not such a great option.Am I missing something? I tried 
googling for info but nothing substantial turned up.


Thanks.

--
Andreas Kasenides
Senior IT Officer
Dept. of Computer Science,
University of Cyprus
Tel: 22892714, Fax: 22892701
(5B4ANK)


Re: sa-learn with remote Dovecot folders

2015-04-03 Thread Gedalya

On 04/03/2015 06:13 AM, Andreas Kasenides wrote:

Hi all!

The set-up I have is a classic one:
1. one or more Dovecot relay/directors Postfix SMTP servers in DMZ
2. one or more backend IMAP/SMTP servers on the inside network
3. There may or may not be separate incoming or outgoing designated 
SMTP servers.

Now the desired functionality is (of course):
1. relay machines receive messages from outside AND inside
2. relays check for all the bad things (spam, viruses etc).
3. for incoming messages relays check for valid local users and reject 
messages for invalid users
4. after all checks are done incoming messages are transferred to the 
backend systems where they are accessed via the Dovecot directors


While all the above works nicely, the problem I have is how to train 
my spamassassin (used by amavisd) on the front ends when all messages 
are on the back ends. Of course transferring the spam detection 
procedures internally is not such a great option.Am I missing 
something? I tried googling for info but nothing substantial turned up.


Thanks.

I use ssh. The exact details depend on your setup, of course. Do you use 
system users of virtual users? What triggers the training? Is it the 
antispam plugin?