[Dovecot] Dovecot does not fetch mails from Maildir
Hello
I have the following configuration. I am trying to login through pop3 and fetch e-mails but it does not fetch anything. I see that there is a mail there. Here is what i have
List from my homedir. Set correct on MySQL as (home)
[root@axis info]# ls -al new total 12 drwx------ 2 exim exim 4096 Nov 12 21:11 . drwxrwx--- 6 exim exim 4096 Nov 12 21:11 .. -rw------- 1 exim exim 1996 Nov 12 21:11 1194919868.H288251P7967.axis.phidot.com
-- FROM sql File-- password_query = SELECT userid as user, password FROM mailacct WHERE userid = '%u' user_query = SELECT home, uid, gid FROM mailacct WHERE userid = '%'
-- DOVECOT CONFIG --
# 1.0.7: /usr/local/etc/dovecot.conf base_dir: /var/run/dovecot/ protocols: imap imaps pop3 pop3s ssl_cert_file: /usr/share/ssl/certs/dovecot.pem ssl_key_file: /usr/share/ssl/private/dovecot.pem disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login first_valid_uid: 93 mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: PLAIN passdb: driver: sql args: /etc/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot-sql.conf
Aras Koktas wrote:
Hello
I have the following configuration. I am trying to login through pop3 and fetch e-mails but it does not fetch anything. I see that there is a mail there. Here is what i have
<snip> > user_query = SELECT home, uid, gid FROM mailacct WHERE userid = '%' >
That percent doesn't look too promising...
Hello Peter,
Yeah i noticed that but it is a typo in my e-mail, i checked in original conf and it is %u. Besides even if that is a % only, there is only one test row in my sql db, and it still cant see my e-mails. Do i need to set something specific to tell that it is a Maildir format?
Aras
On Nov 13, 2007 6:13 AM, Peter Fern dovecot@obfusc8.org wrote:
Aras Koktas wrote:
Hello
I have the following configuration. I am trying to login through pop3 and fetch e-mails but it does not fetch anything. I see that there is a mail there. Here is what i have
<snip> > user_query = SELECT home, uid, gid FROM mailacct WHERE userid = '%' >
That percent doesn't look too promising...
I have:
mail_location = maildir:%h/.maildir
Aras Koktas wrote:
Hello Peter,
Yeah i noticed that but it is a typo in my e-mail, i checked in original conf and it is %u. Besides even if that is a % only, there is only one test row in my sql db, and it still cant see my e-mails. Do i need to set something specific to tell that it is a Maildir format?
Aras
On Nov 13, 2007 6:13 AM, Peter Fern dovecot@obfusc8.org wrote:
Aras Koktas wrote:
Hello
I have the following configuration. I am trying to login through pop3
and
fetch e-mails but it does not fetch anything. I see that there is a mail there. Here is what i have
<snip>
user_query = SELECT home, uid, gid FROM mailacct WHERE userid = '%'
That percent doesn't look too promising...
Thank you doing a mail_location = maildir:%h/
solved my problem. I dont know if its a new necessity, cause in the older version of dovecot i was using, i checked my conf and i seem not to have any directives like this. Anyways, saved a bit hair.
On Nov 13, 2007 6:29 AM, Peter Fern dovecot@obfusc8.org wrote:
I have:
mail_location = maildir:%h/.maildir
Aras Koktas wrote:
Hello Peter,
Yeah i noticed that but it is a typo in my e-mail, i checked in original conf and it is %u. Besides even if that is a % only, there is only one test row in my sql db, and it still cant see my e-mails. Do i need to set something specific to tell that it is a Maildir format?
Aras
On Nov 13, 2007 6:13 AM, Peter Fern dovecot@obfusc8.org wrote:
Aras Koktas wrote:
Hello
I have the following configuration. I am trying to login through pop3
and
fetch e-mails but it does not fetch anything. I see that there is a mail there. Here is what i have
<snip>
user_query = SELECT home, uid, gid FROM mailacct WHERE userid = '%'
That percent doesn't look too promising...
participants (2)
-
Aras Koktas
-
Peter Fern