1

Topic: quarantined Emails - Recipients not being notified

Topic: quarantined Emails - Recipients not being notified

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): SQL 4.4
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version:  Ununtu 20
- 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.
====

/opt/www/iRedAdmin-Pro-SQL-4.4/tools# python2 notify_quarantined_recipients.py --force-all

* 3 users are willing to receive notification email.

However no Users get any emailed notifing them of any mails stored in quarantine.

What can I do to trace why this is not notifing the users ? I can see the spam in the QT queue..

----

----

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

2

Re: quarantined Emails - Recipients not being notified

Any related error in /var/log/syslog?

3

Re: quarantined Emails - Recipients not being notified

the only thing I do see is

Oct 21 11:02:34 mx1 multipathd[697]: sda: failed to get udev uid: Invalid argument
Oct 21 11:02:34 mx1 multipathd[697]: sda: failed to get sysfs uid: Invalid argument
Oct 21 11:02:34 mx1 multipathd[697]: sda: failed to get sgio uid: No such file or directory
Oct 21 11:02:39 mx1 multipathd[697]: sda: add missing path
Oct 21 11:02:39 mx1 multipathd[697]: sda: failed to get udev uid: Invalid argument
Oct 21 11:02:39 mx1 multipathd[697]: sda: failed to get sysfs uid: Invalid argument
Oct 21 11:02:39 mx1 multipathd[697]: sda: failed to get sgio uid: No such file or directory
Oct 21 11:02:44 mx1 multipathd[697]: sda: add missing path
Oct 21 11:02:44 mx1 multipathd[697]: sda: failed to get udev uid: Invalid argument
Oct 21 11:02:44 mx1 multipathd[697]: sda: failed to get sysfs uid: Invalid argument
Oct 21 11:02:44 mx1 multipathd[697]: sda: failed to get sgio uid: No such file or directory

4

Re: quarantined Emails - Recipients not being notified

whiz_kid_uk wrote:

# python2 notify_quarantined_recipients.py --force-all
* 3 users are willing to receive notification email.

Seems it didn't send email to notify users at all. Looks like a bug of iRedAdmin-Pro.

Could you please contact us to get the latest beta version for testing?
https://www.iredmail.org/contact.html

5

Re: quarantined Emails - Recipients not being notified

Zhang,

Any thoughts on what to sort.

Jez

6

Re: quarantined Emails - Recipients not being notified

PS I do get emails to the postmaster email address saying
Unbanned 51.38.80.175 from jail [postfix-pregreet].

But nothing else. Nor to the actual account..

7

Re: quarantined Emails - Recipients not being notified

Could it be that these only get delivered to POP boxes, and if the domain in question is being relayed to say an exchange server then they dont get notified ?

8

Re: quarantined Emails - Recipients not being notified

Could you upgrade to the latest iRedMail-1.3.2 and iRedAdmin-Pro-SQL-4.5 and try again? I believe it's fixed in latest iRedAdmin-Pro.

9

Re: quarantined Emails - Recipients not being notified

will do, and come back to you

10

Re: quarantined Emails - Recipients not being notified

Zhang,
I have upgraded as requested.. now when I call the notify script I get this

root@mx1:/opt/www/iRedAdmin-Pro-SQL-4.6/tools# python2 notify_quarantined_recipients.py --force-all
Traceback (most recent call last):
  File "notify_quarantined_recipients.py", line 97, in <module>
    from libs import iredutils
  File "/opt/www/iRedAdmin-Pro-SQL-4.6/tools/../libs/iredutils.py", line 92
    def is_auth_email(s) -> bool:
                         ^
SyntaxError: invalid syntax

11

Re: quarantined Emails - Recipients not being notified

iRedAdmin-Pro now requires Python 3, please run it with command “python3”, not “python” or “python2”.

12

Re: quarantined Emails - Recipients not being notified

Zhang,

I ran it
root@mx1:/opt/www/iRedAdmin-Pro-SQL-4.6/tools# python3 notify_quarantined_recipients.py
root@mx1:/opt/www/iRedAdmin-Pro-SQL-4.6/tools#

Does not say its doing anything, and still no email saying I have emails to check ?

13

Re: quarantined Emails - Recipients not being notified

Did you try to run it with the "--force-all" argument?

14

Re: quarantined Emails - Recipients not being notified

ZhangHuangbin wrote:

Did you try to run it with the "--force-all" argument?


Yes - Same result !

15

Re: quarantined Emails - Recipients not being notified

Should be fixed here:
https://forum.iredmail.org/post77438.html#p77438

16

Re: quarantined Emails - Recipients not being notified

ZhangHuangbin wrote:

Should be fixed here:
https://forum.iredmail.org/post77438.html#p77438


Zhang,

Im not familiar with how to patch ? Can you explain please, or provide the patched version ??

17

Re: quarantined Emails - Recipients not being notified

whiz_kid_uk wrote:

Can you explain please, or provide the patched version ??

Sure. Please contact us with your license key or license owner's email address.
https://www.iredmail.org/contact.html

18

Re: quarantined Emails - Recipients not being notified

Have emailed as requested.