[H-GEN] Courier-imap config

David Ash dash at redhat.com
Sat Jul 22 04:22:56 EDT 2006


Ted Percival wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Harry Phillips wrote:
> 
>>Quoting Harry Phillips <harry at tux.com.au>:
>>
>>>Is anyone familiar with courier-imap? Do you know how to set it up to
>>>allow all internal connections and external connection from a single IP?
>>
>>The line I tried so that it would accept connections on it's external
>>interface
>>gives an error "Unknown command 192.168.2.2"
>>
>>ADDRESS=192.168.1.1, 192.168.2.2
>>
>>Does anyone know the correct syntax for that config line to allow
>>connections
>>from both IP's?
> 
> 
> ADDRESS=0 will bind to any (all) interfaces, from there you can use
> iptables to selectively block access if you like.

You could also very which ip address it is listening on by doing a:
#netstat -pln
And grepping for the appropriate service.
0.0.0.0 is possibly the listening address your after if you take the 
firewall advise above.
Regards
Dash




More information about the General mailing list