CSF 6.44 custom ports (PORTS_imapd)

Post Reply
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

CSF 6.44 custom ports (PORTS_imapd)

Post by Ilia »

I have updated to 6.44 and was happy to see that now you can add custom ports if LF_SELECT is set to 1 instead of editing /usr/sbin/lfd

I set up custom ports for IMAPD as follows:

Code: Select all

PORTS_imapd = "143,993,9993"
The problem is that tempbanned gets only 143,993 and 9993 in not on the list at all! I also tried leaving only the port I need, 9993 and still same issue.

I am not even sure how is this possible?

Is it me?

EDIT 1: Postfix smtpd is still not catching any login failures.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF 6.44 custom ports (PORTS_imapd)

Post by ForumAdmin »

Ilia wrote:Is it me?
It is you. Just re-tested setting the value to "9993" and triggered an IMAP block which created a permanent block:

Code: Select all

tcp|in|d=9993|s=1.22.3.4 # lfd: (imapd) Failed IMAP login from 1.22.3.4 (IN/India/Maharashtra/Bhandup/-): 3 in the last 3600 secs - Tue Feb 18 10:52:00 2014
Did you forget to restart csf and then lfd?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF 6.44 custom ports (PORTS_imapd)

Post by ForumAdmin »

EDIT 1: Postfix smtpd is still not catching any login failures.
There are no regexes for postfix at present. You'll have to create your own.
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

Re: CSF 6.44 custom ports (PORTS_imapd)

Post by Ilia »

I alsways do csf -r
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: CSF 6.44 custom ports (PORTS_imapd)

Post by ForumAdmin »

That does not restart lfd, only csf. You have to then do:

Code: Select all

/etc/init.d/lfd restart
Ilia
Junior Member
Posts: 98
Joined: 09 Feb 2013, 08:47

Re: CSF 6.44 custom ports (PORTS_imapd)

Post by Ilia »

I'm very sorry! My bad!!!
Thank you for your hard work.
Respectfully,
Ilia
Post Reply