Hi!

I'm using courier-imap-4.1.2. In the imapd config file i set MAXPERIP=2, but i need some addresses exclude from this settings. In courier-imap's man page i found the -access parameter. So i made the access file with the makedat script.
access file:
89.135.7.104    allow,MAXPERIP=10

After modifying the imapd.rc, the couriertcpd is running whit this parameters: /usr/lib/courier-imap/libexec/couriertcpd -access=/usr/lib/courier-imap/etc/enablediplist.dat -address=0 -maxprocs=120 -maxperip=2 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir

In the mail log:
imapd: /usr/lib/courier-imap/etc/enablediplist.dat: Success
so the program found the access file (with wrong file name|path gives a "no such file"), but it not using it. The excluded ip can't make more connections then 2.

Then i modified the acces file:
89.135.7.104    allow,MAXPERIP=10
*    allow,MAXPERIP=2

and delete the $MAXPERIP from the imapd.rc.

/usr/lib/courier-imap/libexec/couriertcpd -access=/usr/lib/courier-imap/etc/enablediplist.dat -address=0 -maxprocs=120 -nodnslookup -noidentlookup 143 /usr/lib/courier-imap/sbin/imaplogin /usr/lib/courier-imap/bin/imapd Maildir

None of the acces file setting is used, i can open 5 connections from the same ip (not from 89.135.7.104, other).
I tyed whit "*   deny" with, but it didn't works.

Have somebody any idea, how to solve this problem?

--

mrton


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to