1

Topic: iredapd ERROR: <!> Error while applying plugin "greylisting"

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

I saw this error in my iredapd.log.

Sep  1 09:19:15 lela iredapd ERROR: <!> Error while applying plugin "greylisting": ['Traceback (most recent call last):\n', '  File "/opt/iRedAPD 3.0/libs/utils.py", line 86, in apply_plugin\n', '  File "/opt/iredapd/plugins/greylisting.py", line 342, in restriction\n', '  File "/opt/iRedAPD-3.0/libs/utils.py", line 184, in get_policy_addresses_from_email\n', 'ValueError: need more than 1 value to unpack\n']
Sep  1 09:19:15 lela iredapd INFO: [82.195.75.100] RCPT,  -> me@mydomain.com, DUNNO [sasl_username=, sender=, client_name=bendel.debian.org, reverse_client_name=bendel.debian.org, helo=bendel.debian.org, encryption_protocol=TLSv1.2, process_time=0.0024s]

Here is with the relevant postfix log.

Sep  1 09:19:14 lela postfix/smtpd[11949]: connect from bendel.debian.org[82.195.75.100]
Sep  1 09:19:15 lela iredapd ERROR: <!> Error while applying plugin "greylisting": ['Traceback (most recent call last):\n', '  File "/opt/iRedAPD-3.0/libs/utils.py", line 86, in apply_plugin\n', ' File "/opt/iredapd/plugins/greylisting.py", line 342, in restriction\n', '  File "/opt/iRedAPD-3.0/libs/utils.py", line 184, in get_policy_addresses_from_email\n', 'ValueError: need more than 1 value to unpack\n']                                                                                   
Sep  1 09:19:15 lela iredapd INFO: [82.195.75.100] RCPT,  -> me@mydomain.com, DUNNO [sasl_username=, sender=, client_name=bendel.debian.org, reverse_client_name=bendel.debian.org, helo=bendel.debian.org, encryption_protocol=TLSv1.2, process_time=0.0024s]                                       
Sep  1 09:19:15 lela postfix/smtpd[11949]: Anonymous TLS connection established from bendel.debian.org[82.195.75.100]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)               
Sep  1 09:19:15 lela postfix/smtpd[11949]: 46Lz1b2wDhz2xgH: client=bendel.debian.org[82.195.75.100]                                                                                                 
Sep  1 09:19:15 lela postfix/smtpd[11949]: disconnect from bendel.debian.org[82.195.75.100] ehlo=2 starttls=1 mail=1 rcpt=1 rset=1 quit=1 commands=7

Anyone knows what is causing this error?

----

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

2

Re: iredapd ERROR: <!> Error while applying plugin "greylisting"

chaz wrote:

Sep  1 09:19:15 lela iredapd INFO: [82.195.75.100] RCPT,  -> me@mydomain.com, DUNNO [sasl_username=, sender=, client_name=bendel.debian.org, reverse_client_name=bendel.debian.org, helo=bendel.debian.org, encryption_protocol=TLSv1.2, process_time=0.0024s]

This is caused by empty sender address and sasl username. You can fix it with this patch:
https://bitbucket.org/zhb/iredapd/commi … 4947576e5b

Or, wait for few more days, we will release a new iRedAPD version while rolling out new iRedMail Easy release.

3

Re: iredapd ERROR: <!> Error while applying plugin "greylisting"

ZhangHuangbin wrote:
chaz wrote:

Sep  1 09:19:15 lela iredapd INFO: [82.195.75.100] RCPT,  -> me@mydomain.com, DUNNO [sasl_username=, sender=, client_name=bendel.debian.org, reverse_client_name=bendel.debian.org, helo=bendel.debian.org, encryption_protocol=TLSv1.2, process_time=0.0024s]

This is caused by empty sender address and sasl username. You can fix it with this patch:
https://bitbucket.org/zhb/iredapd/commi … 4947576e5b

Or, wait for few more days, we will release a new iRedAPD version while rolling out new iRedMail Easy release.

Thanks for the prompt response. I will wait for the next release of iRedAPD.

4

Re: iredapd ERROR: <!> Error while applying plugin "greylisting"

chaz wrote:

Thanks for the prompt response. I will wait for the next release of iRedAPD.

The wait is over:
https://forum.iredmail.org/topic15990-i … eased.html

5

Re: iredapd ERROR: <!> Error while applying plugin "greylisting"

ZhangHuangbin wrote:
chaz wrote:

Thanks for the prompt response. I will wait for the next release of iRedAPD.

The wait is over:
https://forum.iredmail.org/topic15990-i … eased.html

ZhangHuangbin wrote:
chaz wrote:

Thanks for the prompt response. I will wait for the next release of iRedAPD.

The wait is over:
https://forum.iredmail.org/topic15990-i … eased.html

Thanks Mr Zhang. Upgraded. Coffee on the way.

6

Re: iredapd ERROR: <!> Error while applying plugin "greylisting"

Thanks for the coffee. smile