I attempted to configure different MAXPERIP limits in a special IMAPD access 
file, but it didn't work.

I created an access DB file like this:

# default
192.168.253     ALLOW,MAXPERIP=150
113.32.146.130  ALLOW,MAXPERIP=150
*       ALLOW,MAXPERIP=5
############

$ makedat -src=./imapaccess/default -tmp=./imapaccess/default.tmp 
-file=./imapaccess.dat -cidr


I then replaced the line in TCPDOPTS in /etc/courier/imapd 

TCPDOPTS="-nodnslookup -noidentlookup"

with 

TCPDOPTS="-nodnslookup -noidentlookup -access=/etc/courier/imapaccess.dat"

I'm assuming that the imapd-ssl inherits this as there is no similar line there.

I also tried setting this in my smtpaccess file on the off chance that it was 
shared by the imapd server, but again, no luck.

I have a lot of clients behind a single IP, but I don't want to raise the 
global max if I can avoid it.



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to