1

Topic: Greylisting timeout config and whitelist

Two greylisting questions...

1. Where can I change the timeout for greylisting?
2. Anyplace in the greylisting config I can whitelist certain mail servers?

Thanks.

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): iRedMail-0.8.1 PGSQL
- Linux/BSD distribution name and version: RHEL6.3/64
====

----

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

2

Re: Greylisting timeout config and whitelist

1: There's no timeout for greylisting. Refer to http://greylisting.org/ for more details about greylisting.
2: Use this web interface to add whitelist: httpS://your_server/cluebringer/

3

Re: Greylisting timeout config and whitelist

ZhangHuangbin wrote:

1: There's no timeout for greylisting. Refer to http://greylisting.org/ for more details about greylisting.
2: Use this web interface to add whitelist: httpS://your_server/cluebringer/

Will those cluebringer config changes be stored in the postgresql backend db, the cluebringer config files, or both? I have two redundant servers in an IP and postgresql data dir failover setup, so, if it's just the PG DB, then I only have to make the change on one server. O.w., I have to make the change on both.

thanks.

4

Re: Greylisting timeout config and whitelist

ZhangHuangbin wrote:

1: There's no timeout for greylisting. Refer to http://greylisting.org/ for more details about greylisting.
2: Use this web interface to add whitelist: httpS://your_server/cluebringer/


Also, which username/pw combo do I want to use for cluebringer?

5

Re: Greylisting timeout config and whitelist

dwbotsch wrote:

Will those cluebringer config changes be stored in the postgresql backend db, the cluebringer config files, or both?

In config files.

dwbotsch wrote:

Also, which username/pw combo do I want to use for cluebringer?

It's postmaster@[YOUR_FIRST_DOMAIN] by default.
You can find username/password in the root directory of iRedMail installation directory. e.g. /root/iRedMail-0.8.1/iRedMail.tips.

6

Re: Greylisting timeout config and whitelist

ZhangHuangbin wrote:
dwbotsch wrote:

Will those cluebringer config changes be stored in the postgresql backend db, the cluebringer config files, or both?

In config files.

dwbotsch wrote:

Also, which username/pw combo do I want to use for cluebringer?

It's postmaster@[YOUR_FIRST_DOMAIN] by default.
You can find username/password in the root directory of iRedMail installation directory. e.g. /root/iRedMail-0.8.1/iRedMail.tips.

Apparently not. Looking at http/conf.d/cluebringer.conf ...


<Directory /usr/share/cluebringer/webui//>
    DirectoryIndex index.php
    Options ExecCGI
    Order allow,deny
    allow from 127.0.0.1
    allow from 128.253.198.20
    #allow from all

    AuthType basic
    AuthName "Authorization Required"

    Require valid-user
</Directory>

But there's no .htpasswd file in /usr/share/cluebringer/webui

That is notably different than the awstats.conf file which has a bunch of Auth_PG directives in it.

7

Re: Greylisting timeout config and whitelist

I copied the Auth_PG directives from awstats.conf to cluebringer,conf, and now can login.

Next problem is that any config item was giving me the following error:

Error connecting to Policyd v2 DB: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

which is interesting as I installed the postgresql backend of iRedMail. Taking a look in /etc/policyd/webui.conf, the uncommented lines are indeed:

$DB_DSN="mysql:host=localhost;dbname=cluebringer";
$DB_USER="root";

But /etc/policyd/cluebringer.conf is correct... bugs in the install script for iRedMail?

8

Re: Greylisting timeout config and whitelist

dwbotsch wrote:

But /etc/policyd/cluebringer.conf is correct... bugs in the install script for iRedMail?

Bug in iRedMail. Fixed moment ago:
https://bitbucket.org/zhb/iredmail/chan … a8a6b6141b

9

Re: Greylisting timeout config and whitelist

Did you also fix http/conf.d/cluebringer.conf ?

10

Re: Greylisting timeout config and whitelist

dwbotsch wrote:

Did you also fix http/conf.d/cluebringer.conf ?

Yes.

Code commit log: https://bitbucket.org/zhb/iredmail/chan … bringer.sh