1

Topic: iRedAdmin-Pro 1.7.2

==== Provide required information ====
- iRedMail version and backend (iRedMail 0.8.0 / iRedAdmin Pro LDAP 1.7.2):
- Linux/BSD distribution name and version: Ubuntu 10.04
====

Hi,

After upgrading to the latest version of iRedAdmin I thought I would give the per-user/domain greylisting a go (it's been requested a few times by our users).

I made the following changes in /etc/postfix-policyd.conf

#
# opt in and opt out:                                 default: off
#
#   some people are fairly irate when it comes to mail and
#   refuse wanting to have any type of delay. this feature
#   enables each and every person the ability to not subject
#   themselves to greylisting. this feature is also VERY
#   usefull when you dont want to subject EVERY person to
#   greylisting at once but instead allows you to enable
#   it in batches/groups of users so you get a feel on the
#   type of complaints or praise from your users.
#
#                                                     1=on  0=off
OPTINOUT=1

After restarting postfix-policyd, all seemed to be fine. When looking in iRedAdmin, all the greylisting checkboxes for existing domains & users were ticked.

However from looking at the logs, all the users/domains are showing greylisting=optout rather than opt-in.

After looking back through the postfix-policyd file, I can see there's another setting for OPTINOUTALL, which I assume is the default greylisting policy if none other specified. I have set this to 1 as below:

#
# optinoutall:                                        default: off
#
#   this allows you to either opt everyone in, or opt every
#   one out and only has any effect if OPTINOUT is enabled.
#
#                                                     1=on  0=off
OPTINOUTALL=1

It seems that now the tickboxes in iRedAdmin have no effect, and greylisting is once again enabled for all our domains/users.

Is there somewhere else that I've forgotten to enable per user greylisting support?

----

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

2

Re: iRedAdmin-Pro 1.7.2

Actually it seems to be that setting OPTINOUTALL=1 has worked...

This was not in the upgrade docs though, so not sure if I've done something wrong still.

3

Re: iRedAdmin-Pro 1.7.2

orphans wrote:

Actually it seems to be that setting OPTINOUTALL=1 has worked...
This was not in the upgrade docs though, so not sure if I've done something wrong still.

My mistake, forgot to mention this option in upgrade tutorial. Fixed moment ago:
http://www.iredmail.org/wiki/index.php? … in_Policyd