On 2014-08-19 03:40, James Knott wrote:
On 08/18/2014 09:34 PM, Carlos E. R. wrote:
The dovecot 2 supplied by openSUSE is designed so that you do not touch any of the supplied configuration files, but instead edit only "/etc/dovecot/local.conf". This way you keep the distributiohn files intact, and carry over a single file with your own modifications, that should be few.
I don't see that file.
No, you create it, of course.
Dovecot 2 config also uses something called "namespaces", so you have to be careful with that. A setting might not apply globally.
And in order to find out the actual configuration it is using, you run "doveconf -N".
# 2.1.17: /etc/dovecot/dovecot.conf # OS: Linux 3.11.10-21-desktop x86_64 openSUSE 13.1 (x86_64) mail_privileged_group = mail
I don't have that one. But I have: auth_mechanisms = plain default_vsz_limit = 256 M listen = *, :: mail_debug = yes mail_location = mbox:~/Mail:INBOX=/var/mail/%u mail_plugin_dir = /usr/lib64/dovecot/modules mail_plugins = " fts fts_lucene"
namespace inbox { hidden = no inbox = yes list = yes location = maildir:~/Mail/INBOX:LAYOUT=fs mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = }
Ah, you have changed the location _inside_ the inbox namespace, so that it only applies to "inbox". What I have is, I believe the openSUSE default: namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = }
passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } service imap-login { inet_listener imaps { port = 993 ssl = yes } } ssl_cert =
The rest I have similar, with non important differences: passdb { driver = pam } plugin { fts = lucene fts_lucene = whitespace_chars=@. sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } service imap { vsz_limit = 512 M } ssl = yes ssl_cert =
So you could post the output you get now and we have a look ;-)
Also, we have to consider how you have fetchmail set...
# Configuration created Sun May 21 12:58:54 2006 by fetchmailconf 1.52 $Revision: 4636 $ set postmaster "james.knott" set bouncemail set no spambounce set properties "" set daemon 120 poll pop proto pop3 via pop.broadband.rogers.com user "********" pass "#########" ssl nokeep
As you can see, I've been using this configuration for a while.
Mmm. I think that email there is handled over to the local smtp server, with the same "user" (I'm unsure of that detail, as I set it explicitly). And it would probably end in /var/spool/mail/username (username = **** above, I think). If you also use procmail, or some other delivery agent, it could end anywhere instead. Ah, wait. Is that fetchmail run by root, or by some local user? In the second case, that's the user it could be sent to finally. But I think that your dovecot will not look at /var/spool/mail/username, so that it will not see new email... Your dovecot expects email to enter on "~/Mail/INBOX" instead, in maildir format (which by default postfix doesn't). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)