Displaying 20 results from an estimated 571 matches for "mail_home".
2013 Jun 02
2
rawlog without setting home in userdb
Hi all,
in my settup i decided to set mail_home in 10-mail.conf,
and let dovecot do the hashing to a 2-level directory structure.
mail_location = mdbox:~/mdbox:ALT=/altstorage/%h/mdbox
mail_home = /vmail/%1Mu/%2.1Mu/%u
In my userdb ist homedirectory not set and everythink works as expected,
except when i use rawlog i get only logs in ~/dovecot...
2011 May 09
3
Sieve & auto_create mail_home
Hello
In my setup I have the following in dovecot.conf (dovecot 2.0.12)
mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/
mail_location = mdbox:/buzones/my_domain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n
My problem is with the autocreation of mail_home. We are using roundcube+sieve plugin and the first time a user tries to use siev...
2011 Jun 27
6
hide sieve folder from imap clients
Hello,
What is the best way to hide sieve folders from IMAP clients?
old config
mail_home = /var/vmail/%d/%n
plugin {
sieve_dir = /var/vmail/%d/%n/.sieve/
sieve = /var/vmail/%d/%n/.dovecot.sieve
}
new config (hide sieve folder)
mail_home = /var/vmail/%d/%n
maildir_stat_dirs = yes
plugin {
sieve_dir = /var/vmail/%d/%n/sieve/
sieve = /var/vmail/%d/%n/.dovecot.sieve
}
Is there a bette...
2012 Dec 19
1
setting mail_home and vacation
...iv at xyz.de): Error: sieve: sieve script file path ~/.dovecot.sieve is relative to home directory, but home directory is not available.
Dec 19 20:37:03 lda(archiv at xyz.de): Error: sieve: failed to access user's sieve script ~/.dovecot.sieve (using default script location instead)
When I set
mail_home = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/vhosts/%d/%n
I get this for mboxes in the log:
Error: user archiv at xyz.de: Relative home directory paths not supported: mbox:/var/spool/vhosts/xyz.de/archiv:INBOX=/var/spool/vhosts/xyz.de/archiv
The .dovecot.sieve script of the user seems to be f...
2013 Jul 05
1
Ambiguous behavior with prefetch database?
Hello,
Let's say dovecot.conf contains:
mail_uid = dovemailer
mail_gid = dovemailer
mail_home = /some/path/%n
mail_location = mbox:~/mboxes:INBOX=~/mboxes/inbox
and that the password database query is of the form:
password_query = \
SELECT \
passwd AS password, \
nickname AS user, \
mail_home AS userdb_home, \
mail_location AS userdb_mail, \
WHERE \
...
The database initial...
2012 Aug 31
1
mail_location / mail_home
hi,
I had a long (upgraded today from 2.0.17 to 2.1.9) time mail_location and mail_home at the same path, which I recognize know, that it wasn't a good idea, idea. On my testsystem I've set:
mail_home = /imap/spool/%d/%1u/%u
mail_location = maildir:~/:INDEX=~/
otherwise I don't have access to the mails anymore. Is that ok?
cu denny
2018 Apr 19
0
Replication between servers with different mail_home path
Hi,
I have two dovecot servers that are configured to be replicated using
dsync over ssh. This has been working well for a long time.
Recently I changed the mail_home path on one of the servers, because of
mail data migration. The old file system is still available, but has been
made read-only for now ? I plan to remove it once everything runs
smoothly again.
Now it seems replication is failing: the mail.err log file on both
servers has lots of error messages s...
2019 Mar 21
2
dovecot.sieve shows up as a mailbox
On 3/21/19 3:57 PM, Aki Tuomi via dovecot wrote:
> This because you have a very common misconfiguration, which is that your mail_home and mail_location are pointing to same directory, and that lead into this problem.
>
> Solution is of course to use:
>
> mail_home = /var/mail/vmail/%d/%n
> mail_location = maildir:~/Mail
>
> Aki
While not very intuitive, I have :
mail_home = /var/mail/vmail/%d/%n/dovecot
mai...
2012 Jan 17
2
resolve mail_home ?
I now have "mail_home = /srv/mailstore/%256RHu/%d/%n". Is there any way
of asking dovecot where a user's home directory is?
It's not in "doveadm user":
$ doveadm user -f home janfrode at lyse.net
$ doveadm user janfrode at tanso.net
userdb: janfrode at tanso.net
mail : mdbox:~/mdbox...
2017 Mar 20
2
dovecot & iOS
...them to ~/[.]control and ~/[.]index (with or without
> leading dot) or remove the settings at all and join control and index
> with the existing hierarchie.
>
> -- Steffen Kaiser
As a general rule, it is a good idea to have separate Mailformat
directory (such as Maildir or Mail) under mail_home which contains only
your Maildir, sdbox, mdbox whatever format files only, and keep control
and index *OUT* of this directory. Same goes for sieve. This is because,
as seen above, Maildir contents can be mistakenly interpreted as mail
folders, causing problems.
So avoid this:
mail_home=/var/mail/...
2017 Apr 11
2
AW: dovecot & iOS
.../[.]index (with or without
>> leading dot) or remove the settings at all and join control and index
>> with the existing hierarchie.
>>
>> -- Steffen Kaiser
> As a general rule, it is a good idea to have separate Mailformat directory
> (such as Maildir or Mail) under mail_home which contains only your Maildir,
> sdbox, mdbox whatever format files only, and keep control and index *OUT* of
> this directory. Same goes for sieve. This is because, as seen above, Maildir
> contents can be mistakenly interpreted as mail folders, causing problems.
>
> So avoid thi...
2017 Mar 05
5
Transitioning away from mail_location = maildir:~
Hi,
I have been using this setup for years:
mail_home = /var/mail/vhosts/%d/%n
mail_location = maildir:~
I have since learned that mail_home and mail_location should be
different. I plan to use this:
mail_home = /var/mail/vhosts/%d/%n
mail_location = maildir:~/mail
I would like the transition to be transparent for my email clients. I
don't...
2012 Jun 22
2
dsync error: "Mailboxes don't have unique GUIDs"
I'm getting an error backing up mailboxes. I'm using the mirror
command:
dsync -fvo mail_home=/home/users/bob mirror ssh vmail at 10.1.4.1 dsync -o
mail_home=/home/.incoming_mail_migrations/users/bob
dsync-remote(vmail): Error: Mailboxes don't have unique GUIDs:
1ef6ee37c694894d783100000581a675 is shared by INBOX and INBOX
dsync-remote(vmail): Error: command BOX-LIST failed
dsync-local...
2018 Sep 27
2
Custom variable
...trying this. In the ldap configuration, I have:
pass_attrs =
=userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_uuid=%{ldap:entryUUID}
user_attrs =
=user=%{ldap:mail},=quota_rule=%{ldap:quota:*:storage=10G},=uuid=%{ldap:entryUUID}
and in my dovecot config I get:
mail_home =/mail/mailboxes/%L{uuid}
but when I get user fields I have:
field value
uid vmail
gid vmail
home /mail/mailboxes/unsupported_variable_uuid
mail mdbox:~/mdbox:INDEX=/mail/indexes/um.es/an/angel.luis
quota_rule *:storage=10G
uuid dc6c5cd6-bf4d-1030-8d28-d5b8647941b3
it seems I can't use thi...
2019 Jan 11
2
Error: User bob@aaa.bbb doesn't have home dir set, disabling duplicate database
I made a mistake when I moved dovecot to a new server and only specified
mail_location instead of mail_home
All I have in 10-mail.conf is
---------
mail_location = maildir:/home/vmail/mailboxes/%d/%n
------------
All emails for the few accounts I have are in these mailboxes and I can
get/see them via my mail client
I do, however, get the following error
--------------------
imap(bob at aaa.bbb)...
2013 May 13
1
Autocreation the home folder
...y asked, but I haven't been able to find a
solution, I am trying to migrate a dovecot 1.2 config to 2.1, the 'dovecot
-n > dovecot.conf' migrated all the setup without issues, and the mail is
working as expected.
The only issue I've had is with the change with the mail_location,
mail_home, that in the 2.1 versions can't be on the same path.
After reading in the wiki the various config options (
http://wiki2.dovecot.org/VirtualUsers/Home) I opted to use the 3rd:
Home directory under mail, for example:
Maildir: home=/var/vmail/domain/user/home/ mail=/var/vmail/domain/user/...
2011 Jun 22
2
User doesn't have home dir set, disabling duplicate database
...dovecot, il says something like:
Jun 22 10:18:07 lda(claudio at domain.com): Error: User claudio at domain.com
doesn't have home dir set, disabling duplicate database
But the mail arrives correctly, and no problems at all.
I have googled a little about, and i have found a post it says to put
mail_home and not home into the plugin part of the configuration, but
this is not my problem..
Here is my conf:
# 2.0.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.37.6-0.5-desktop x86_64 openSUSE 11.4 (x86_64) ext3
auth_mechanisms = plain login
first_valid_gid = 51
first_valid_uid = 51
info_log_path = /va...
2017 Mar 16
1
LDAP locking problems - home related
...t' machine, so those error messages do make sense; I would like to
fix that situation.
In our current Dovecot configuration, only mail_location is set:
mail_location = maildir:/var/mail/%u
I would like to ignore the erroneous 'home' attribute fetched from LDAP and
specify a common mail_home, i.e. set:
mail_home = /var/mail/%u/home
but if I understand correctly, that global mail_home configuration directive
would still be overridden by the LDAP 'home' attribute fetched from passdb:
[...]
pass_attrs = supannAliasLogin=user,userPassword=password,\
homeDirectory=userdb_home,...
2012 Nov 21
1
Rsync --update copy one file multiples times
Hi All,
My using rsync command to backup my mail server mailbox to backup server.
I am using following command for backup.
rsync -avzu -e ssh root at 192.168.1.12:/mail_home /mail_backup
I configured daily cron for this command in backup server.
In mail server /mail_home folder having all user's mailbox and size of
mail_home is 345 GB and in backup server I have assign 450 GB for
mail_backup drive. when I run command first time its copied all mailbox
folder...
2019 Oct 02
4
Home Directory Creation
Hello,
I hate to have to ask this, but... why isn't the home directory being
created automatically?
Due to legacy compatibility we've had to use this type of home dir config:
mail_location = maildir:/vmail/%d/%n
mail_home = /vmail/%d/%n/home
We're in the middle of upgrading to new hardware, and so I'm migrating
configs to the new server, Dovecot 2.3.7 and Postfix 3.4.6
On our old server (Dovecot 2.2, Postfix 2.11) the home directory gets
created automatically with a new user, but not on this one. The Dov...