1

Topic: Whitelisting sender's domain

==== 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.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS release 6.5 (Final)
- Related log if you're reporting an issue:
====
Hi,
I configure a domain (in this example: @domain.tld) into the administration panel : System --> Whitelists --> Sender.

The goal is to exclude the Spam's check of all the domain's user !

However, user alice@domain.tld sent a mail to bob and this email was spam detected !

This is my file maillog:
Dec 17 12:01:23 mail amavis[31478]: (31478-20) Passed SPAMMY {RelayedTaggedInternal}, LOCAL [X.X.X.X]:44161 [X.X.X.X] <alice@domain.tld> -> <bob@domainxyzD8C.20D03%alice@domain.tld>, mail_id: E2vhunP9HRrs, Hits: 6.521, size: 22061, queued_as: 240BF480083, 1065 ms

Configuration:
policyd.conf
WHITELISTSENDER=1

The service is running :
# /etc/init.d/policyd status
policyd (pid  23283) en cours d'exécution...
policyd (sender throttle) (pid  23288) en cours d'exécution...

My question, why the mail is spam detected ?

PS: The domain "@domain.tld" is present in the mysql's BDD (policyd --> whitelist_sender).

BR

----

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

2

Re: Whitelisting sender's domain

mailwebsgr wrote:

==== 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.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS release 6.5 (Final)
- Related log if you're reporting an issue:
====
Hi,
I configure a domain (in this example: @domain.tld) into the administration panel : System --> Whitelists --> Sender.

The goal is to exclude the Spam's check of all the domain's user !

However, user alice@domain.tld sent a mail to bob and this email was spam detected !

This is my file maillog:
Dec 17 12:01:23 mail amavis[31478]: (31478-20) Passed SPAMMY {RelayedTaggedInternal}, LOCAL [X.X.X.X]:44161 [X.X.X.X] <alice@domain.tld> -> <bob@domainxyzD8C.20D03%alice@domain.tld>, mail_id: E2vhunP9HRrs, Hits: 6.521, size: 22061, queued_as: 240BF480083, 1065 ms

Configuration:
policyd.conf
WHITELISTSENDER=1

The service is running :
# /etc/init.d/policyd status
policyd (pid  23283) en cours d'exécution...
policyd (sender throttle) (pid  23288) en cours d'exécution...

My question, why the mail is spam detected ?

PS: The domain "@domain.tld" is present in the mysql's BDD (policyd --> whitelist_sender).

BR


I'm afraid that the "System whitelist" is not really a whitelist, but only a bypass for the greylist.
To bypass every antispam feature you have to insert the domain or the address in the "User whitelist" (which is quite annoying)...

3

Re: Whitelisting sender's domain

ok thanks a lot...

4

Re: Whitelisting sender's domain

Albux wrote:
mailwebsgr wrote:

==== 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.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS release 6.5 (Final)
- Related log if you're reporting an issue:
====
Hi,
I configure a domain (in this example: @domain.tld) into the administration panel : System --> Whitelists --> Sender.

The goal is to exclude the Spam's check of all the domain's user !

However, user alice@domain.tld sent a mail to bob and this email was spam detected !

This is my file maillog:
Dec 17 12:01:23 mail amavis[31478]: (31478-20) Passed SPAMMY {RelayedTaggedInternal}, LOCAL [X.X.X.X]:44161 [X.X.X.X] <alice@domain.tld> -> <bob@domainxyzD8C.20D03%alice@domain.tld>, mail_id: E2vhunP9HRrs, Hits: 6.521, size: 22061, queued_as: 240BF480083, 1065 ms

Configuration:
policyd.conf
WHITELISTSENDER=1

The service is running :
# /etc/init.d/policyd status
policyd (pid  23283) en cours d'exécution...
policyd (sender throttle) (pid  23288) en cours d'exécution...

My question, why the mail is spam detected ?

PS: The domain "@domain.tld" is present in the mysql's BDD (policyd --> whitelist_sender).

BR


I'm afraid that the "System whitelist" is not really a whitelist, but only a bypass for the greylist.
To bypass every antispam feature you have to insert the domain or the address in the "User whitelist" (which is quite annoying)...

User Whitelist?

5

Re: Whitelisting sender's domain

The whitelists/blacklists managed by iRedAdmin-Pro is used by Policyd, it helps email to enter your mail server and mail queue.
But Amavisd doesn't use them, it will invoke SpamAssassin/ClamAV to scan queued emails.

6

Re: Whitelisting sender's domain

Ok tanks for your answer.
I configure a "User whitelist" and it's look good... But it's really annoying !

Is it possible to configure a "Amavisd bypass" for the entire domain and not uniquely a user ?
Maybe a "feature request" for the next release.

BR

7

Re: Whitelisting sender's domain

mailwebsgr wrote:

Ok tanks for your answer.
I configure a "User whitelist" and it's look good... But it's really annoying !

Is it possible to configure a "Amavisd bypass" for the entire domain and not uniquely a user ?
Maybe a "feature request" for the next release.

BR

+1

8

Re: Whitelisting sender's domain

How about add your whitelist domain in /etc/mail/spamassassin/local.cf?

9

Re: Whitelisting sender's domain

Yes why not, but it's not really "user-friendly" especially for my client (not computer scientist profil) !

Maybe it' possible to store the whitelist domain in database and request them by spamassasin ?

And of course integrate that in the iRedAdmin-Pro Panel...

BR