IRedMail/FAQ/Enable.Disable.Greylisting

From iRedMail

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
iRedMail Greylist feature provided by Postfix-Policyd, so we need edit the Postfix-policyd config files, after modify, you need restart Postfix-Policyd service.
+
iRedMail provides greylisting features with Policyd (v1.8.x), to enable or disable greylisting, you should modify policyd config file.
On RHEL/CentOS, config file is /etc/postfix-policyd.conf, on Debian/Ubuntu, it's /etc/postfix-policyd.conf, On FreeBSD, it's /usr/local/etc/postfix-policyd.conf.  
On RHEL/CentOS, config file is /etc/postfix-policyd.conf, on Debian/Ubuntu, it's /etc/postfix-policyd.conf, On FreeBSD, it's /usr/local/etc/postfix-policyd.conf.  
-
{{cfg|postfix-policyd.conf|<pre>
+
{{cfg|policyd.conf|<pre>
#  1=on  0=off
#  1=on  0=off
GREYLISTING=1
GREYLISTING=1
</pre>}}
</pre>}}
-
To disable them, set value to '''0'''.
+
To disable greylisting, set value to '''0'''.
-
Reference:
+
Restarting policyd is required:
-
* [http://www.iredmail.org/forum/topic977-how-can-i-inactive-feature-of-greylist.html How to disable Greylist]
+
{{cmd|<pre>
 +
#
 +
# ---- On RHEL/CentOS ----
 +
#
 +
# /etc/init.d/policyd restart
 +
 
 +
#
 +
# ---- On Debian/Ubuntu ----
 +
#
 +
# /etc/init.d/postfix-policyd restart
 +
</pre>}}
 +
 
 +
[[Category: iRedMail/FAQ]]

Revision as of 16:02, 10 June 2010

iRedMail provides greylisting features with Policyd (v1.8.x), to enable or disable greylisting, you should modify policyd config file.

On RHEL/CentOS, config file is /etc/postfix-policyd.conf, on Debian/Ubuntu, it's /etc/postfix-policyd.conf, On FreeBSD, it's /usr/local/etc/postfix-policyd.conf.

File: policyd.conf
#   1=on  0=off
GREYLISTING=1

To disable greylisting, set value to 0.

Restarting policyd is required:

Terminal:
#
# ---- On RHEL/CentOS ----
#
# /etc/init.d/policyd restart

#
# ---- On Debian/Ubuntu ----
#
# /etc/init.d/postfix-policyd restart
Personal tools