# netstat -anf inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address
(state)
tcp 0 0 *.993 *.*
LISTEN
tcp 0 0 *.143 *.*
LISTEN
tcp 0 0 *.995 *.*
LISTEN
tcp 0 0 *.110 *.*
LISTEN
tcp 0 0 *.3306 *.*
LISTEN
tcp 0 0 *.80 *.*
LISTEN
tcp 0 0 *.443 *.*
LISTEN
tcp 0 0 *.37 *.*
LISTEN
tcp 0 0 *.13 *.*
LISTEN
tcp 0 0 *.113 *.*
LISTEN
tcp 0 0 *.587 *.*
LISTEN
tcp 0 0 *.25 *.*
LISTEN
My pf.conf :
set skip on lo
block log all
pass in on egress inet proto tcp from any to any port \
{imap,imaps,http,https,pop3,pop3s,smtp,smtps}
So my configuration : OpenBSD 5.0
dovecot-2.0.13p5
roundcubemail-0.5.3p1
sendmail
mysql-server
php
On Mon, 5 Dec 2011 13:18:02 +0200, Gregory Edigarov
<[email protected]> wrote:
> On Mon, 05 Dec 2011 14:56:20 +0400
> "Wesley M." <[email protected]> wrote:
>
>> Hi,
>>
>> Thank you for your reply.
>> Already done. But still doesn't work.
>> I have "connection error on imap server"
>>
>> I have 3 users created, with 3 2 domains hosted.
>> 993, 143 dovecot ports (imaps,imap) listen OK.
>>
>> ?
>
> is server really listening on 127.0.0.1?
>
>>
>> On Mon, 5 Dec 2011 10:59:24 +0200, Gregory Edigarov
>> <[email protected]> wrote:
>> > On Mon, 05 Dec 2011 12:38:46 +0400
>> > "Wesley M." <[email protected]> wrote:
>> >
>> >> Thank you very much. It works.
>> >>
>> >> Except i can't connect to my imap server. :-(
>> >> I use dovecot. Ports are opened.
>> >> ??
>> >>
>> > again, search your roundcube config file for 'localhost'
>> > pattern, and replace it with 127.0.0.1.
>> > but better still, add "127.0.0.1 localhost" to your /etc/hosts file,
>> > and check man resolv.conf, looking specifically for 'lookup' option
>> >>
>> >> On Mon, 05 Dec 2011 21:15:08 +1300, Richard Toohey
>> >> <[email protected]> wrote:
>> >> > On 5/12/2011, at 9:03 PM, Wesley M. wrote: