1

Topic: Can't get Greylisting to work

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.3
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

I've done a fresh install of iRedMail. I've used previous versions of iRedMail and I love it! The problem is that I see Greylisting isn't working. I've searched the forums and applied all the fixes that Zhang has proposed and I can't get it working no matter what I do. Is there any sort of "cookbook" documentation that will allow me to get greylisting working in a step-by-step fashion?

----

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

2

Re: Can't get Greylisting to work

Do you have any record in SQL table "iredapd.greylisting"? If no, please run below one to enable greylisting globally:

USE iredapd;
INSERT INTO greylisting (account, priority, sender, sender_priority, active) VALUES ('@.', 0, '@.', 0, 1);

3

Re: Can't get Greylisting to work

ZhangHuangbin wrote:

Do you have any record in SQL table "iredapd.greylisting"? If no, please run below one to enable greylisting globally:

USE iredapd;
INSERT INTO greylisting (account, priority, sender, sender_priority, active) VALUES ('@.', 0, '@.', 0, 1);

That did it! That was the missing piece. Thanks!