On Mon, 2008-09-08 at 17:51 -0500, Michael Sullivan wrote: > On Mon, 2008-09-08 at 15:43 -0700, kashani wrote: > > Michael Sullivan wrote: > > > The problem is with dovecot. (port 110 is the IMAP port, isn't it? I > > > can't telnet to it.) > > > > > > camille log # emerge -pv dovecot > > > > > > These are the packages that would be merged, in order: > > > > > > Calculating dependencies... done! > > > [ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap > > > mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3 > > > -suid -vpopmail" 2,221 kB > > > > > > Total: 1 package (1 reinstall), Size of downloads: 2,221 kB > > > > To see what ports equals what, look at /etc/services which should exist > > on all *nix boxes and tracks nearly all the major ports. > > > > pop is 110, imap 143, and imaps 993 > > > > I would make sure that dovecot is actually running, then make sure it's > > listening on ports you expect with sudo netstat -ptln , and then I'd > > post the logs from any transactions. > > > > Troubleshooting mail servers without the relevant log entries is usually > > painful and frustrating. > > > > kashani > > > > camille dovecot # cat /etc/services | grep imap > imap 143/tcp imap2 # Internet Message Access > Protocol > imap 143/udp imap2 > imap3 220/tcp # Interactive Mail Access > imap3 220/udp > imaps 993/tcp # imap4 protocol over TLS/SSL > imaps 993/udp > camille dovecot # ps ax | grep dovecot > 4209 pts/0 R+ 0:00 grep --colour=auto dovecot > 14645 ? Ss 0:04 /usr/sbin/dovecot > -c /etc/dovecot/dovecot.conf > 14646 ? S 0:01 dovecot-auth > 17329 ? S 0:00 dovecot-auth -w > > > dovecot doesn't seem to have a log. How do I turn on logging for > dovecot? > >
I forgot: camille log # netstat -ptln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 14520/nasd tcp 0 0 0.0.0.0:60512 0.0.0.0:* LISTEN 14193/rpc.mountd tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - tcp 0 0 192.168.1.2:3306 0.0.0.0:* LISTEN 18476/mysqld tcp 0 0 0.0.0.0:38285 0.0.0.0:* LISTEN 13957/rpc.statd tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4311/dovecot tcp 0 0 0.0.0.0:6543 0.0.0.0:* LISTEN 14886/mythbackend tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 13656/spamd child tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 13825/portmap tcp 0 0 0.0.0.0:6544 0.0.0.0:* LISTEN 14886/mythbackend tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 13764/vsftpd tcp 0 0 192.168.1.2:53 0.0.0.0:* LISTEN 13718/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 13718/named tcp 0 0 0.0.0.0:41495 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3879/exim tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 13718/named tcp 0 0 :::16001 :::* LISTEN 14503/esound-esd tcp 0 0 :::80 :::* LISTEN 2502/apache2 tcp 0 0 :::22 :::* LISTEN 13783/sshd