1

Topic: Grphics mode

Dear sir,
We have upgrade grphics mode install i can install plz give me process..

2

Re: Grphics mode

Hi Zang,

Our Mail server every 2-4 hours block smtp or pop and http but local connectivity are ok. when i connect through public ip but not response- and i had chack the log massege below  kindly help.

Feb 21 13:51:11 mail freshclam[6888]: Trying host db.local.clamav.net (194.186.47.19)...
Feb 21 13:51:19 mail clamd[6599]: SelfCheck: Database status OK.
Feb 21 13:51:41 mail freshclam[6888]: nonblock_connect: connect timing out (30 secs)
Feb 21 13:51:41 mail freshclam[6888]: Can't connect to port 80 of host db.local.clamav.net (IP: 194.186.47.19)
Feb 21 13:51:41 mail freshclam[6888]: Trying host db.local.clamav.net (78.46.84.244)...
Feb 21 13:52:02 mail fail2ban.actions: WARNING [postfix-iredmail] Ban 216.52.242.161
Feb 21 13:52:11 mail freshclam[6888]: nonblock_connect: connect timing out (30 secs)
Feb 21 13:52:11 mail freshclam[6888]: Can't connect to port 80 of host db.local.clamav.net (IP: 78.46.84.244)
Feb 21 13:52:11 mail freshclam[6888]: Trying host db.local.clamav.net (65.19.179.67)...
Feb 21 13:52:41 mail freshclam[6888]: nonblock_connect: connect timing out (30 secs)
Feb 21 13:52:41 mail freshclam[6888]: Can't connect to port 80 of host db.local.clamav.net (IP: 65.19.179.67)
Feb 21 13:52:41 mail freshclam[6888]: Trying host db.local.clamav.net (200.236.31.1)...

3

Re: Grphics mode

I guess it's caused by Fail2ban. Please check whether your IP address is blocked in iptables:

# iptables -L -n

4

Re: Grphics mode

Thanks for support

we had sending screen shot error time message . i have using when time command iptables -L -n . I have  attachment please check and kindly soloution.

Thanks
Manoj



ZhangHuangbin wrote:

I guess it's caused by Fail2ban. Please check whether your IP address is blocked in iptables:

# iptables -L -n
Post's attachments

block_Ports.JPG 106.08 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

5

Re: Grphics mode

Hi Manoj,

Please just take a look whether your client IP address is listed in command output, if it does, remove it with iptables command if you want.i don't know your client IP address at all.

6

Re: Grphics mode

Hi,

I want to configure webmail through using captcha. how to configure please help.

Thanks
Manoj

7

Re: Grphics mode

You can find a third-party plugin here: http://trac.roundcube.net/wiki/Plugin_Repository

8

Re: Grphics mode

Hi, Zang,
we have some day problem faced my mail server some time problem smtp and pop & http. if we are restart the iptable then proper working . again next day same problem than iptables restart than ok so what is exact problem kindly help me.and problem time this log message show ..
Mar 2 12:44:54 mail fail2ban.actions.action: ERROR iptables -D fail2ban-roundcube -s 192.168.0.2 -j DROP returned 100Mar 2 12:44:54 mail fail2ban.jail : INFO Jail 'roundcube-iredmail' stoppedMar 2 12:44:55 mail fail2ban.actions: WARNING [postfix-iredmail] Unban 209.190.112.185Mar 2 12:44:55 mail fail2ban.actions.action: ERROR iptables -D fail2ban-postfix -s 209.190.112.185 -j DROP returned 100Mar 2 12:44:55 mail fail2ban.actions: WARNING [postfix-iredmail] Unban 220.227.174.93Mar 2 12:44:55 mail fail2ban.actions.action: ERROR iptables -D fail2ban-postfix -s 220.227.174.93 -j DROP returned 100Mar 2 12:44:55 mail fail2ban.jail : INFO Jail 'postfix-iredmail' stoppedMar 2 12:44:55 mail fail2ban.jail : INFO Jail 'dovecot-iredmail' stoppedMar 2 12:44:55 mail fail2ban.server : INFO Exiting Fail2banMar 2 12:50:32 mail clamd[6581]: SelfCheck: Database status OK.

9

Re: Grphics mode

If you restarted iptables, please restart fail2ban also.

10

Re: Grphics mode

hi Zang ,

if i restart iptables and fail2ban restart than working fine but next day has same problem and again and again restart iptables or fail2ban . please fix the proper issue.

Regards.
Manoj

11

Re: Grphics mode

Just realized that Fail2ban-0.8.4 shipped in iRedMail yum repository is not the latest stable release.

And the patch in below bug report probably fixes your issue:
http://bugs.debian.org/cgi-bin/bugrepor … 554162#104

12

Re: Grphics mode

Hi Zhang,
I have download fail2ban 0.8.4 version. and how to upgrade please process .

Thanks
manoj


ZhangHuangbin wrote:

Just realized that Fail2ban-0.8.4 shipped in iRedMail yum repository is not the latest stable release.

And the patch in below bug report probably fixes your issue:
http://bugs.debian.org/cgi-bin/bugrepor … 554162#104

13

Re: Grphics mode

We have already install 0.8.4 as per check the below kindly sujest-
yum install fail2ban
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.oss.eznetsols.org
* extras: ftp.oss.eznetsols.org
* updates: ftp.oss.eznetsols.org
http://iredmail.org/yum/rpms/5/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://iredmail.org/yum/rpms/dovecot/rh … epomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Setting up Install Process
Package fail2ban-0.8.4-23.el5.noarch already installed and latest version
Nothing to do

14

Re: Grphics mode

Of course you have it installed. The url mentioned in my previous post contains a patch to fix it, what you need to do is apply it.

Steps to fix it:

1) Backup file first which will be patched, remove compiled python binary file.

# cp /usr/share/fail2ban/server/action.py /usr/share/fail2ban/server/action.py.bak
# rm -f /usr/share/fail2ban/server/action.py.pyc /usr/share/fail2ban/server/action.pyo

2) Upload attached patch to your server, verify this patch with command 'patch --dry-run -p0':

# cd /root
# patch --dry-run -p0 < action.patch 
patching file /usr/share/fail2ban/server/action.py

3) If you got the SAME output message, it's now safe to apply it immediately with command 'patch -p0':

# cd /root
# patch -p0 < action.patch

4) Restart fail2ban service and keep monitoring its log file to see whether the same issue happened again or not.

If it doesn't work for you after patch applied, please reverse this patch with below steps, then restart Fail2ban service:

# rm -f /usr/share/fail2ban/server/action.py.pyc /usr/share/fail2ban/server/action.pyo
# cp /usr/share/fail2ban/server/action.py.bak /usr/share/fail2ban/server/action.py
Post's attachments

action.patch 1.52 kb, 6 downloads since 2012-03-03 

You don't have the permssions to download the attachments of this post.