On Wed, Jun 12, 2002 at 10:26:18AM +0200, Nico Wieland wrote:

> dear list,
> 
> is there a way to block certain ip's from connecting to courier's pop3d
> altogether from within courier?
> 
> i'm using the pop3d from courier-imap with mysql, and postfix as MTA.

The pop3 server runs under couriertcpd, which has an access option where
you can specify a filename in which you define access control, eg:

couriertcpd -access=/path/to/access/file.gdbm .....

and then in /path/to/access/file you put something like:

192.168.0<tab>allow
10.0.0<tab>allow
*<tab>deny

to allow access for 192.168.0.0/24 and 10.0.0.0/24, and deny the
rest. Make sure to convert the file into file.gdbm with the makedatprog
program.

The default pop3 server startup script may not be specifying an access
file, you may have to edit the startup script. See the man page of
couriertcpd for more details.

-- 
Anand Buddhdev
http://anand.org

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to