ghalvors78 at hushmail.com
2014-Dec-15 18:00 UTC
Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
On 12/15/2014 at 12:26 PM, "Bertrand Caplet" <bertrand.caplet at chunkz.net> wrote:> >> that I needed: >> >> namespace inbox { >> inbox = yes >> } > >Hey, >I wonder where do you have set this namespace inbox ? in 10- >mail.conf ? >The word 'namespace' does not appear in any file within the tree of /etc/dovecot/ This was a suggestion that was offered to me from the Postfix list when I was cleaning up my postfix installation, but I wasn't certain of which file it should be in (or if it even matters from the software perspective). I'm curious how so many other users could have gotten the HOWTO to work for them without having to add this. This is maybe day 4 of my experience with dovecot, so I am very cautious, but I can try adding this to 10-mail.conf and restart the service... According to the mail.log, Postfix handed dovecot a message. Might have been the test email from a couple days ago. Hey, there is content in the directory tree of /var/mail/vhosts/example.com/bob/ That was empty before.>> # >> # /etc/dovecot/conf.d/10-mail.conf >> # >> mail_location = maildir:/var/mail/vhosts/%d/%n >> mail_privileged_group = mail > >Do /var/mail/vhosts exists and is owned by mail:mail ? >When you checked all of this try to debug dovecot, see if there is >something in /var/log/mail.err >/var/mail/vhosts does exist and it's owned by vmail, which was a user and group that was created during the process. drwxrwsr-x 3 vmail vmail 4096 Dec 11 12:53 . drwxr-xr-x 13 root root 4096 Nov 7 18:39 .. -rw------- 1 root vmail 0 Dec 11 12:53 root drwxr-sr-x 4 vmail vmail 4096 Dec 8 00:14 vhosts Permissions seem to be good enough for writing to it. The privacy and permissions of the subdirectories are good too. I'm not entirely certain why an addition mail user vmail when I already have a user called postfix and dovecot. Anyway, the directory has been written to by dovecot since the subdirectories have changed since adding the change to 10-mail.conf and starting the server And guess what, I can log into squirrelmail's interface just fine. No more dropped connection to the IMAP server. And now that the panic is over, I'd like to get smart on dovecot.>Regards, >-- >CHUNKZ.NET - script kiddie and computer technician >Bertrand Caplet, Flers (FR) >Feel free to send encrypted/signed messages >Key ID: FF395BD9 >GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
Bertrand Caplet
2014-Dec-15 18:12 UTC
Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
> > The word 'namespace' does not appear in any file within the tree of /etc/dovecot/ This was a suggestion that was offered to me from the Postfix list when I was cleaning up my postfix installation, but I wasn't certain of which file it should be in (or if it even matters from the software perspective). I'm curious how so many other users could have gotten the HOWTO to work for them without having to add this. This is maybe day 4 of my experience with dovecot, so I am very cautious, but I can try adding this to 10-mail.conf and restart the service... > > According to the mail.log, Postfix handed dovecot a message. Might have been the test email from a couple days ago.Wow, you actually need to set this namespace in 10-mail.conf> > Hey, there is content in the directory tree of /var/mail/vhosts/example.com/bob/ That was empty before. > > > /var/mail/vhosts does exist and it's owned by vmail, which was a user and group that was created during the process. > > drwxrwsr-x 3 vmail vmail 4096 Dec 11 12:53 . > drwxr-xr-x 13 root root 4096 Nov 7 18:39 .. > -rw------- 1 root vmail 0 Dec 11 12:53 root > drwxr-sr-x 4 vmail vmail 4096 Dec 8 00:14 vhosts > > Permissions seem to be good enough for writing to it. The privacy and permissions of the subdirectories are good too. I'm not entirely certain why an addition mail user vmail when I already have a user called postfix and dovecot. Anyway, the directory has been written to by dovecot since the subdirectories have changed since adding the change to 10-mail.conf and starting the server > > And guess what, I can log into squirrelmail's interface just fine. No more dropped connection to the IMAP server. > > And now that the panic is over, I'd like to get smart on dovecot.Well we are fixed. I thought it wasn't that. Try adding the namespace restart and tell me what it does. -- CHUNKZ.NET - script kiddie and computer technician Bertrand Caplet, Flers (FR) Feel free to send encrypted/signed messages Key ID: FF395BD9 GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20141215/c3a47fbd/attachment.sig>
ghalvors78 at hushmail.com
2014-Dec-15 18:24 UTC
Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
I added the namespace to 10-mail.conf (that was the only change I made today). And when I turned on dovecot (it had been stopped since yesterday) the message immediately passed through. So yes, the namespace suggestion from the postfix guy worked. I've been reading up on namespaces since then. I have a feeling that there are some wonderful things I can do with this package. In some ways, the parts of the documentation seem vague and inexact so I guess it will have to grow on me. http://wiki2.dovecot.org/Namespaces "If the configuration doesn't explicitly specify a namespace (as was in v2.0 and older) a default namespace is created automatically." I think this might have been what was going on. The HOWTO I read may have already gotten stale and Dovecot has since grown.> >Try adding the namespace restart and tell me what it does. >-- >CHUNKZ.NET - script kiddie and computer technician >Bertrand Caplet, Flers (FR) >Feel free to send encrypted/signed messages >Key ID: FF395BD9 >GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9
Reasonably Related Threads
- Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
- Failed installation on Ubuntu with Postfix/Dovecot/Squirrelmail
- Geting mail quota exceeded with plenty of space
- Geting mail quota exceeded with plenty of space
- Probably K9 not Outlook - Re: Outlook 2010 not connecting to secure POP3