hello everyone, i'm new to this list
im running dovecot as imap+pop (2.1.12) and roundcube (0.8.4) as
client.
having problems on saving to imap folders, with errors on some accounts
my folder structure is as follow:
/home/user/.maildir
/home/user/.maildir/.Drafts
/home/user/.maildir/.Junk
/home/user/.maildir/.Sent
/home/user/.maildir/.Trash
/home/user/.maildir/.Archives
/home/user/.maildir/.Archives.2010
...
i'm very confused with the namespace settings. i don't understand what
is the correct way to configure it.
don't need public or shared folders.
on dovecot.log i can see this error with my account (and all the
others), but it seems to work ok using roundcube:
imap(gsansone): Error: autocreate: No namespace found for mailbox: Junk
with a few accounts, i have this on roundcube log:
IMAP Error: Could not save message in Drafts in
/var/www/localhost/htdocs/mail/program/steps/mail/sendmail.inc
with error on saving to imap folder in roundcube UI
send you attached the output of 'dovecot -n' and the roundcube
configuration related to folders.
does anyone have any suggestion?
thanks in advance.
--
G. Sansone
# 2.1.12: /etc/dovecot/dovecot.conf
managesieve(root): Warning: sieve: ignored unknown extension 'spamtestpl' while
configuring available extensions
# OS: Linux 3.1.6-gentoo x86_64 Gentoo Base System release 2.1
auth_mechanisms = plain login
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
hostname = eumus.edu.uy
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
log_path = /var/log/dovecot/dovecot.log
mail_location = maildir:~/.maildir
mail_plugins = quota
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date ihave spamtest
imapflags notify
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 = INBOX.
separator = .
}
passdb {
driver = shadow
}
plugin {
autocreate = Sent
autocreate2 = Drafts
autocreate3 = Junk
autocreate4 = Trash
autosubscribe = Sent
autosubscribe2 = Drafts
autosubscribe3 = Junk
autosubscribe4 = Trash
quota = maildir:User quota
quota_rule = *:storage=4G
sieve = ~/.dovecot.sieve
sieve_default = /etc/dovecot/sieve/move-spam.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags +spamtest +spamtestpl
sieve_global_dir = /etc/dovecot/sieve
}
postmaster_address = [email protected]
protocols = imap pop3 lmtp sieve
sendmail_path = /var/qmail/bin/sendmail
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 1
vsz_limit = 64 M
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl_cert = </var/qmail/control/servercert.pem
ssl_key = </var/qmail/control/servercert.pem
userdb {
driver = passwd
}
protocol lmtp {
mail_plugins = quota sieve
}
protocol lda {
mail_plugins = quota sieve quota autocreate
}
protocol imap {
mail_plugins = quota imap_quota autocreate
}
protocol pop3 {
mail_plugins = quota
}
// store draft message is this mailbox
// leave blank if draft messages should not be stored
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['drafts_mbox'] = 'Drafts';
// store spam messages in this mailbox
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['junk_mbox'] = 'Junk';
// store sent message is this mailbox
// leave blank if sent messages should not be stored
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['sent_mbox'] = 'Sent';
// move messages to this folder when deleting them
// leave blank if they should be deleted directly
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['trash_mbox'] = 'Trash';
// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
// NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP)
$rcmail_config['default_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk',
'Trash');
// automatically create the above listed default folders on first login
$rcmail_config['create_default_folders'] = true;