<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Is it possible that dovecot came with your system
and you have actually two dovocots on your system. Then each one of them is
using different config file and thats why its working and not working depending
on which one you start.</FONT></DIV>
<DIV><FONT face=Arial size=2>Mike</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=sam.fung@gmail.com href="mailto:sam.fung@gmail.com">Sam Fung</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=dovecot@dovecot.org
href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 29, 2005 11:29
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Dovecot] sudo
/etc/init.d/dovecot start doesn't work</DIV>
<DIV><BR></DIV>I've been trying to get dovecot working with postfix with
virtual domain setting. I noticed that if I started dovecot with
"sudo /usr/sbin/dovecot", everything would work fine. But if I
started with "sudo /etc/init.d/dovecot start", I would get the following
permission error. I checked "ps -ef | grep dovecot" and didn't find
anything different. <BR><BR>Sep 29 16:54:35 localhost imap-login: Login: <A
href="mailto:xyz@example.com">xyz@example.com</A> [::ffff:<A
href="http://192.168.0.4">192.168.0.4</A>]<BR>Sep 29 16:54:36 localhost
imap(<A href="mailto:xyz@example.com"> xyz@example.com</A>):
mkdir_parents(/var/spool<BR>/virtual_mailboxes/example.com/xyz/.imap/INBOX)
failed: Permission denied<BR><BR>Here's the directory for storing virtual
domain email.<BR><BR>[localhost ~]$ sudo ls -al
/var/spool/virtual_mailboxes/example.com <BR>total
24<BR>drwx------ 3 vuser vuser 4096 Sep 29 16:43 .
<BR>drwxrwxr-x 3 root mail 4096 Sep 21 21:57
..<BR>drwx------ 3 vuser vuser 4096 Sep 29 16:55
xyz<BR><BR>[localhost ~]$ sudo ls -al
/var/spool/virtual_mailboxes/example.com/xyz <BR>total
32<BR>drwx------ 3 vuser vuser 4096 Sep 29 16:55 .
<BR>drwx------ 3 vuser vuser 4096 Sep 29 16:43
..<BR>-rw------- 1 vuser vuser 1209 Sep 29 19:10 Inbox
</BLOCKQUOTE></BODY></HTML>