1 (edited by matteo.frakka 2015-06-22 17:38:30)

Topic: Banned emails.

======== Required information ====
- iRedAdmin-Pro     v2.1.2 (MySQL)
- iRedMail version: 0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: CentOS 6.6 64bit
- Related log if you're reporting an issue:
====

Good morning.

I'm having some trouble with a sender (who is whitelisted globally and also per-recipient) who gets its email always "Quarantined". This sender always obtains a spam score near 100 (mailbox on gmail.com).

These emails are in txt format and has attached an xls and a pdf files: Nor XLS or PDF are banned extensions in my amavisd configuration but these emails are always blocked as "Banned" in iRedMail Pro panel.

Any suggestions?

----

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

2

Re: Banned emails.

You can update Amavisd config file to allow 'XLS/PDF' attachment.

Could you please show me the mail header of this quarantined email? I just need the headers which have names start with 'X-Spam-'.

3 (edited by matteo.frakka 2015-06-22 20:42:41)

Re: Banned emails.

Adding something like this to amavis.conf?

$banned_filename_re = new_RE(
[...]
existing rules
[...]
    [qr'.\.(pdf|xls)$'i => 0],    # <-- '0': allow
);

I'll send you the header tomorrow!
Thank you.

4

Re: Banned emails.

matteo.frakka wrote:

Adding something like this to amavis.conf?

Yes.

5

Re: Banned emails.

Ok, today we have no banned emails from that user so modify amavis.conf "server wide" did the trick.

Its spam score is always "-98.253" but its emails was no longer banned. Today I notice that also ".doc" files were banned... Ok, I can add it to the previous exclusion but it is the expected behaviour? I didn't explicit ban that extensions...

6

Re: Banned emails.

You can add .doc as allowed file extension like you already did.

7

Re: Banned emails.

Yes, I can... But is the expected behaviour?
There are a list of attachments banned by default??

8

Re: Banned emails.

Banned file extensions are listed in Amavisd setting '$banned_filename_re'.