Hi list,
I've yet to figure out what's the issue with my installation, why I can't see the mails
that are definitely there.
I've updated with last package: dovecot-2.0.9-1.fc14.x86_64.rpm and performed the
following test:
send a simple 2 lines test mail from "root" to user "testdvct" with alpine
login under "testdvct" + run alpine + list (only list, not read) the mail:
+------------------------------ Alpine Output --------------------------------------+
| ALPINE 2.02(1266) MESSAGE INDEX Folder: INBOX Message 1 of 1 NEW |
| |
| + N 1 17:43 root (881) |
+--------------------------------------------------------------------------- --------+
so it tells me I've got one mail from root
3) I issue the command: "strace -o strace-dovecot.txt -p 2218"
where 2218 is the /usr/sbin/dovecot PID
4) telnet into pop3:
# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user testdvct
+OK
pass <my-password>
+OK Logged in.
list
+OK 0 messages:
.
quit
+OK Logging out.
Connection closed by foreign host.
- kill strace
Still no joy! Is there anything else I can do to debug this issue?
Thanks,
JF
There are not dovect entries in the syslog
# ls -lhR /var/run/dovecot
/var/run/dovecot:
total 12K
srw------- 1 root root 0 Jan 19 17:38 anvil
srw------- 1 root root 0 Jan 19 17:38 anvil-auth-penalty
srw------- 1 root root 0 Jan 19 17:38 auth-client
srw------- 1 dovecot root 0 Jan 19 17:38 auth-login
srw------- 1 root root 0 Jan 19 17:38 auth-master
srw------- 1 root root 0 Jan 19 17:38 auth-userdb
srw------- 1 dovecot root 0 Jan 19 17:38 auth-worker
srw------- 1 root root 0 Jan 19 17:38 config
srw------- 1 root root 0 Jan 19 17:38 dict
srw------- 1 root root 0 Jan 19 17:38 director-admin
srw------- 1 root root 0 Jan 19 17:38 director-userdb
srw-rw-rw- 1 root root 0 Jan 19 17:38 dns-client
srw------- 1 root root 0 Jan 19 17:38 doveadm-server
lrwxrwxrwx 1 root root 25 Jan 19 17:38 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root root 4.0K Dec 18 12:30 empty
srw-rw-rw- 1 root root 0 Jan 19 17:38 lmtp
drwxr-x--- 2 root dovenull 4.0K Jan 19 17:38 login
-rw------- 1 root root 5 Jan 19 17:38 master.pid
/var/run/dovecot/empty:
total 0
/var/run/dovecot/login:
total 0
srw-rw-rw- 1 root root 0 Jan 19 17:38 dns-client
srw-rw-rw- 1 root root 0 Jan 19 17:38 imap
srw-rw-rw- 1 root root 0 Jan 19 17:38 login
srw-rw-rw- 1 root root 0 Jan 19 17:38 pop3
srw-rw-rw- 1 root root 0 Jan 19 17:38 ssl-params
# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.35.10-74.fc14.x86_64 x86_64 Fedora release 14 (Laughlin) auth_debug = yes auth_debug_passwords = yes auth_verbose_passwords = plain disable_plaintext_auth = no mail_location = mbox:INBOX=/var/mail/%u mbox_write_locks = fcntl passdb {
driver = pam
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh service imap-login {
group = dovenull
}
service pop3-login {
group = dovenull
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
-----Original Message-----
From: dovecot-bounces+joach_ferr=yahoo.co.uk@dovecot.org [mailto:dovecot-bounces+joach_ferr=yahoo.co.uk@dovecot.org] On Behalf Of Joachim Ferreira
Sent: 06 January 2011 19:46
To: dovecot@dovecot.org
Subject: [Dovecot] dovecot can't see mail that is there
I used to install dovecot on any Fedora fresh installation and I could fetch my internal mail
few minutes later. Now I've been struggling for two days and I haven't got my mail working yet.
I have Fedora 14 with sendmail. Some application on the same machine send mail to an account
on the same machine (hence all is confined to one machine) and I want to retrieve it from a laptop
on the same LAN via Outlook.
If I login into the account and check the mail with the alpine (ex pine) client, I see that there are 10 mails.
When I "telnet localhost pop3" and login into the account, the "list"
command says there are 0 mails.
Various suggestions found on the internet for slightly different configuration did not help.
All the help will be very much appreciated.
Thanks,
Joachim
++++++++++++++++++++++++++++++++++++++++++++
The output of dovecot -n
# dovecot -n
# 2.0.8: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.35.10-74.fc14.x86_64 x86_64 Fedora release 14 (Laughlin)
auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = plain
disable_plaintext_auth = no
mail_location = mbox:INBOX=/var/mail/%u
mbox_write_locks = fcntl
passdb {
driver = pam
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
driver = passwd
}
NOTE - I don't use ssl, but disabling ssl + certificate did not change behaviour.
THE OUTPUT OF /var/log/maillog
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: Loading modules from
directory: /usr/lib64/dovecot/auth
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libauthdb_ldap.so
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libdriver_sqlite.so
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: Module loaded:
/usr/lib64/dovecot/auth/libmech_gssapi.so
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: pam(joachim,192.168.0.88):
lookup service=dovecot
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: pam(joachim,192.168.0.88):
#1/1 style=1 msg=Password:
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: client out:
OK#0111#011user=joachim
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: master in:
REQUEST#0113019243521#01112409#0111#0116f7f83729469c6158f08283ec2e20067
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: passwd(joachim,192.168.0.88):
lookup
Jan 6 19:14:26 BEATLES dovecot: auth: Debug: master out:
USER#0113019243521#011joachim#011system_groups_user=joachim#011uid=500#011gi
d=500#011home=/home/joachim
Jan 6 19:14:26 BEATLES dovecot: pop3-login: Login: user=<joachim>, method=PLAIN, rip=192.168.0.88, lip=192.168.0.2, mpid=12414
Jan 6 19:14:26 BEATLES dovecot: pop3(joachim): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0