1

Topic: Greylisting setting

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue:
====

After upgrading to iRedAdmin-Pro v1.8.0 i cant disable greylisting for a user anymore. The setting simply does not get saved. Any idea what might cause this issue?

Regards

Michael

----

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

2

Re: Greylisting setting

Thanks very much for your feedback, i will check this issue and come back later.

3

Re: Greylisting setting

Hi mensmaximus,

I cannot reproduce this issue. Did you apply this fix:
http://www.iredmail.org/forum/post26298.html#p26298

4 (edited by mensmaximus 2014-01-02 16:12:43)

Re: Greylisting setting

Neither the patch nor version 1.8.1 has solved the issue. If i add a new user grey listing is active as a service and i cant disable it.  I can uncheck the box but after saving the chebox is active again.

5

Re: Greylisting setting

OK, i can reproduce this issue this time. It's a bug in iRedAdmin-Pro-MySQL, so sorry about this trouble.
Please fix it with below steps:

*) Open file libs/policyd/greylist.py, find below line (about line 72):

    def setGreylistingStatus(self, account, enabled=True):

*) Please modify the function name to 'set_greylisting_status' like below:

    def set_greylisting_status(self, account, enabled=True):

*) Save your change, restart Apache service, then try again.

6

Re: Greylisting setting

Happy New Year! Your modification solved the issue. Thank you.