Hi,
I would like to eliminate some of the error messages which appear in my
dovecot logfile.
I already understand that the message:
doveconf: Warning: SSL is disabled because global ssl=no, ignoring
ssl=yes for subsection
is fixed in the current development code.
However, I also get a lot of:
lda(peter): Error: User peter doesn't have home dir set, disabling
duplicate database
Is there a way to eliminate/supress these messages? I'm operating with
virtual users, so checking for a home directory doesn't make a lot of
sense. Is there a setting in the .conf file which can control this?
Possibly more concerning is this message:
May 10 23:31:23 imap(peter): Error:
link(/mnt/user/Maildir/peter/dovecot.index.log,
/mnt/user/Maildir/peter/dovecot.index.log.2) failed: Function not
implemented
I'm not sure exactly what I was doing at the time - probably
experimenting with Sieve filters. Has this compromised my maildir? I
have already disabled copy with hard links - is there another 'hardlink'
setting available?
Thank you for any advice!
root at Tower:~# doveconf -n
# 2.0.12: /usr/local/etc/dovecot/dovecot.conf
doveconf: Warning: SSL is disabled because global ssl=no, ignoring
ssl=yes for subsection
doveconf: Warning: SSL is disabled because global ssl=no, ignoring
ssl=yes for subsection
# OS: Linux 2.6.36.2-unRAID i686 Slackware 13.1.0 fuse.shfs
disable_plaintext_auth = no
listen = *
log_path = /var/log/mail.log
mail_location = maildir:/mnt/user/Maildir/%u
maildir_copy_with_hardlinks = no
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
passdb {
args = /etc/passwd.dovecot
driver = passwd-file
}
plugin {
sieve = /mnt/user/Maildir/%u/.dovecot.sieve
sieve_dir = /mnt/user/Maildir/%u/
sieve_global_path = /var/lib/dovecot/default.sieve
}
postmaster_address = postmaster at bellfamily.org.uk
protocols = imap sieve
service auth {
user = root
}
service imap-login {
inet_listener imap {
port = 143
}
}
ssl = no
userdb {
args = /etc/passwd.dovecot
driver = passwd-file
}
protocol lda {
mail_plugins = sieve
}
root at Tower:~#
--
-------------------------------------------------------------------
Peter Bell Mob: +63 (0) 9287 340 343
Tagum City, Philippines. Tel: +63 (0) 84 400 5085
email/msn: peter at bellfamily.org.uk Tel: +44 (0) 118 331 0000
On Wed, May 11, 2011 at 11:35:37AM +0800, Peter Bell wrote:> Possibly more concerning is this message: > May 10 23:31:23 imap(peter): Error: > link(/mnt/user/Maildir/peter/dovecot.index.log, > /mnt/user/Maildir/peter/dovecot.index.log.2) failed: Function not > implementedBasically you are nesting homedir/meta data inside the Maildir root. This is where the errors stem from. Sieve scripts and index data should not reside within same.> mail_location = maildir:/mnt/user/Maildir/%uThis is a bit overcomplicated. Try using a construct like: mail_location = maildir:~/Maildir http://wiki2.dovecot.org/MailLocation/Maildir This however requires home directories to be set accordingly in the User Database:> userdb { > args = /etc/passwd.dovecot > driver = passwd-filehttp://wiki2.dovecot.org/AuthDatabase/Passwd With the changes in place the nesting can be avoided by simplifying:> plugin { > sieve = /mnt/user/Maildir/%u/.dovecot.sieve > sieve_dir = /mnt/user/Maildir/%u/sieve = ~/.dovecot.sieve sieve_dir = ~/sieve Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20110511/a1b90bb8/attachment-0002.bin>
On 11.5.2011, at 6.35, Peter Bell wrote:> However, I also get a lot of: > lda(peter): Error: User peter doesn't have home dir set, disabling duplicate database > Is there a way to eliminate/supress these messages? I'm operating with virtual users, so checking for a home directory doesn't make a lot of sense. Is there a setting in the .conf file which can control this?http://wiki2.dovecot.org/VirtualUsers/Home> Possibly more concerning is this message: > May 10 23:31:23 imap(peter): Error: link(/mnt/user/Maildir/peter/dovecot.index.log, /mnt/user/Maildir/peter/dovecot.index.log.2) failed: Function not implementedSo apparently your fuse filesystem doesn't support link().> I'm not sure exactly what I was doing at the time - probably experimenting with Sieve filters. Has this compromised my maildir? I have already disabled copy with hard links - is there another 'hardlink' setting available?Nope. I don't remember what all places uses link(), but looks like at least copying .log to .log.2 file. It doesn't really matter if it fails though.