1 (edited by isko 2012-09-20 04:16:40)

Topic: A few questions

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== ==== Required information ====
- iRedMail version: 0.7.4
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: Ubuntu 11.04
====

I have two questions regarding the antispam function.

Question 1)
Is it possible to to make mark as junk work per user and with mysql support?

Question 2)
My users throw spam into .Junk, how can i make amavis fetch "spam" from .Junk folder and mark it as spam, just like you normaly do with sa-learn?

Question 3)
Should all emails contain X-Spam-Flag? My doesn't only a few mail does.

Thank you in advance

Kind regards,
Isko

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: A few questions

isko wrote:

Is it possible to to make mark as junk work per user and with mysql support?

iRedMail doesn't enable mark as junk plugin in Roundcube by default, please try tweaking it yourself.

isko wrote:

My users throw spam into .Junk, how can i make amavis fetch "spam" from .Junk folder and mark it as spam, just like you normaly do with sa-learn?

Sorry, I don't quite understand the process ...

isko wrote:

Should all emails contain X-Spam-Flag? My doesn't only a few mail does.

You have to list all local/hosted mail domains in Amavisd parameter "@local_domains_maps =". Config file on Ubuntu is /etc/amavis/conf.d/50-user.

3

Re: A few questions

Hi ZhangHuangbin!

I´ve managed to solve question 1-2 by the following url:
http://www.iredmail.org/wiki/index.php? … yes.In.SQL
Regarding question 3 im still wondering if i somehow can make @local_domains_maps fetch domains from sql?

Thank you in advance!

4

Re: A few questions

isko wrote:

Regarding question 3 im still wondering if i somehow can make @local_domains_maps fetch domains from sql?

Another solution is, setting "@local_domains_maps = (1);" to mark all domains as local.