1 (edited by srjanin 2016-11-24 16:45:13)

Topic: How disable (whitelist ?) greylist for particular sender domain

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

Some users report very long delay receiving some emails and investigating I found greylisting is the problem, because sender's system switch over many servers so it takes time.
I tried to use spf_to_greylist_whitelists.py but the problem is that the sender doesn't use SPF so adding his domain doesn't seem to help

How can I whitelist the sender domain ? (without disabling greylist I hope)

(On previous release I used cluebringer and it was easy to create a known domains group that bypass the greylist)

----

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

2

Re: How disable (whitelist ?) greylist for particular sender domain

It's easy with iRedAPD too. For example, to disable greylisting service for mail domain "@gmail.com".

cd /opt/iredapd/tools/
python greylisting_admin.py --disable --from '@gmail.com'

Or, just disable greylisting for emails sent FROM '@gmail.com' TO local domain '@mydomain.com' and local user 'john.smith@another-domain.com':

python greylisting_admin.py --disable --from '@gmail.com' --to '@mydomain.com'
python greylisting_admin.py --disable --from '@gmail.com' --to 'john.smith@another-domain.com'

We have detailed document and more examples for you here:
http://www.iredmail.org/docs/manage.iredapd.html

3

Re: How disable (whitelist ?) greylist for particular sender domain

Thanks for your reply.
I did not understand the documentation but now it's clear !

Thank you



ZhangHuangbin wrote:

It's easy with iRedAPD too. For example, to disable greylisting service for mail domain "@gmail.com".

cd /opt/iredapd/tools/
python greylisting_admin.py --disable --from '@gmail.com'

Or, just disable greylisting for emails sent FROM '@gmail.com' TO local domain '@mydomain.com' and local user 'john.smith@another-domain.com':

python greylisting_admin.py --disable --from '@gmail.com' --to '@mydomain.com'
python greylisting_admin.py --disable --from '@gmail.com' --to 'john.smith@another-domain.com'

We have detailed document and more examples for you here:
http://www.iredmail.org/docs/manage.iredapd.html