[Dovecot] Configuration Question.
Hi Everyone.
I have recently installed dovecot for the first time on a RHEL3
server. I have it working for the most part, but am a bit baffled by
part of the configuration, something that I am sure I am just doing
incorrectly.
I can successfully access my normal mailbox which is in /var/spool/
mail/username, but I also want to create mail folders, and that's the
problem I am having. I want the folders to live in
~/mail/
I have tried
default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u
and
default_mail_env = maildir:~/mail:INBOX=/var/spool/mail/%u
What on earth am I doing wrong? I'm sure it's something small that I
just don't understand.
Thanks James
James Andrews wrote:
Hi Everyone. Hi,
I have recently installed dovecot for the first time on a RHEL3 server. I have it working for the most part, but am a bit baffled by part of the configuration, something that I am sure I am just doing incorrectly.
I can successfully access my normal mailbox which is in /var/spool/mail/username, but I also want to create mail folders, and that's the problem I am having. I want the folders to live in
~/mail/
I have tried
default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u allows you to keep mail in /var/spool/mail/username and folders in ~/mail
and
default_mail_env = maildir:~/mail:INBOX=/var/spool/mail/%u
You don't need this.
What on earth am I doing wrong? I'm sure it's something small that I just don't understand.
Just read above.
Thanks
You're welcome
James Tolga
-- E se l'otto marzo l'avessero inventato per smaltire le mimose? -- Nidasio
ok so when I use
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
and I restart dovecot, I get
Starting Dovecot Imap: Fatal: Error in configuration file /etc/ dovecot.conf line 199: Unknown setting: mail_location
any other suggestions?
James
On Dec 17, 2006, at 6:08 AM, Tolga wrote:
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
* On 17/12/06 11:16 -0500, James Andrews wrote: | ok so when I use | | mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u | | and I restart dovecot, I get | | Starting Dovecot Imap: Fatal: Error in configuration file /etc/ | dovecot.conf line 199: Unknown setting: mail_location mail_location is a param for rc15, I believe, so better upgrade. Sorry I cannot help with the answer to the main question. I use Maildir and everything seems easier that way. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ "The sooner all the animals are dead, the sooner we'll find their money." -- Ed Bluestone, "The National Lampoon"
On 17.12.2006, at 4.56, James Andrews wrote:
I can successfully access my normal mailbox which is in /var/spool/ mail/username, but I also want to create mail folders, and that's
the problem I am having. I want the folders to live in
What exactly is the problem with creating the folders then? Do you
get an error message or something?
default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u
This should work just fine.
participants (4)
-
James Andrews
-
Odhiambo WASHINGTON
-
Timo Sirainen
-
Tolga