1

Topic: Notify Quarantined Rrecipients

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):                     1.4.2
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:                              Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):                                               Nginx
- Manage mail accounts with iRedAdmin-Pro?                            Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

I have problem with execute notify_quarantined_recipients.py with new IredAdminPro 4.9.

I execute this script like that:

# /opt/iredadmin/tools/notify_quarantined_recipients.py --force-all
Traceback (most recent call last):
  File "/opt/iredadmin/tools/notify_quarantined_recipients.py", line 335, in <module>
    'timezone': settings.LOCAL_TIMEZONE}
TypeError: must be real number, not dict


I added to settings.py these lines:
NOTIFICATION_URL_SELF_SERVICE = '...'
NOTIFICATION_QUARANTINE_MAIL_SUBJECT = '...'
LOCAL_TIMEZONE = 'GMT+02:00'

But error still presents.

# python3 -V
Python 3.7.3

----

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

2

Re: Notify Quarantined Rrecipients

Please run it with command "python3":

cd /opt/www/iredadmin/tools/
python3 notify_quarantined_recipients.py --force-all

3

Re: Notify Quarantined Rrecipients

I tried, but the same effect.

Other switches seems to work.

4

Re: Notify Quarantined Rrecipients

Do you have parameter "AMAVISD_REMOVE_QUARANTINED_IN_DAYS" defined in /opt/www/iredadmin/settings.py?

5

Re: Notify Quarantined Rrecipients

ZhangHuangbin wrote:

Do you have parameter "AMAVISD_REMOVE_QUARANTINED_IN_DAYS" defined in /opt/www/iredadmin/settings.py?

No, I did not have. I try to add but I have a same effect sad

6

Re: Notify Quarantined Rrecipients

I'm confused of the console output, not clear for troubleshooting.
is it possible to give me direct ssh access with root privilege for debugging?