1

Topic: [SOLVED] cannot delete quarantine mail

Hi

I upgraded iredadmin to 1.6 and i cannot delete quarantine mail, i have always  10 mail and always this.

Bye

Enrico

----

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

2

Re: [SOLVED] cannot delete quarantine mail

Casa.it wrote:

I upgraded iredadmin to 1.6 and i cannot delete quarantine mail, i have always  10 mail and always this.

Any error message after trying to delete them?

Are they VIRUS mails? If so, it must be same issue as this one:
http://www.iredmail.org/forum/post9996.html#p9996

3

Re: [SOLVED] cannot delete quarantine mail

ZhangHuangbin wrote:
Casa.it wrote:

I upgraded iredadmin to 1.6 and i cannot delete quarantine mail, i have always  10 mail and always this.

Any error message after trying to delete them?

Are they VIRUS mails? If so, it must be same issue as this one:
http://www.iredmail.org/forum/post9996.html#p9996

no message are SPAM, no error message, message is "Mails were deleted" but mail is not removed.

4

Re: [SOLVED] cannot delete quarantine mail

Can you show us the SQL records of these SPAMs?
Export records in tables "amavisd.msgs" and "amavisd.quarantine", for example:

mysql> USE amavisd;
mysql> SELECT mail_id FROM quarantine;              -- Get list of mail_id.
mysql> SELECT * FROM msgs WHERE mail_id IN ('xx', 'xx', 'xx');

5

Re: [SOLVED] cannot delete quarantine mail

ZhangHuangbin wrote:

Can you show us the SQL records of these SPAMs?
Export records in tables "amavisd.msgs" and "amavisd.quarantine", for example:

mysql> USE amavisd;
mysql> SELECT mail_id FROM quarantine;              -- Get list of mail_id.
mysql> SELECT * FROM msgs WHERE mail_id IN ('xx', 'xx', 'xx');

I solve this i view your link and i change in quarantine.py

this line:

self.db.delete('msgs', where="""quar_type='Q'""")

Thks

6

Re: [SOLVED] cannot delete quarantine mail

Great. Thanks for your feedback. smile