1 (edited by lamagra 2019-07-26 20:43:48)

Topic: Greylisting - spf script

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Debian 9
- 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.
====
Hi,
i have problems with greylisting. When i'm trying to check any domain using spf_to_greylist_whitelists.py script i've got results like bellow.

python spf_to_greylist_whitelists.py --debug outlook.com
* 1 mail domains in total.
        + [outlook.com]
                + Result: set([])
* No IP address/network found. Exit.

Second problem with iredapd:

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']

----

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

2

Re: Greylisting - spf script

Could you please double check and make sure the DNS servers in /etc/resolv.conf are actually working?

3

Re: Greylisting - spf script

ZhangHuangbin wrote:

Could you please double check and make sure the DNS servers in /etc/resolv.conf are actually working?

after we change DNS to 8.8.8.8 all seems to be working properly...