Displaying 20 results from an estimated 3000 matches similar to: "Using mail_chroot and default_mail_env"
2004 Sep 22
1
Questions about mail process chroots
Greetings,
I am configuring a new Dovecot installation, and the way the
valid_chroot_dirs and mail_chroot variables affect the mail processes are a
bit unclear to me. I was wondering if anyone could provide me with more
specific details than the comments in the configuration file do, or maybe
even recommend some values given my configuration.
We have a Debian GNU/Linux system and a mix of users
2006 Aug 20
2
maildir autodetect failing. what's wrong with this setup?
i'm setting up for virtual_users w/ maildir.
i have in my dovecot.conf:
auth default {
passdb passwd-file {
args = /etc/dovecot/imapd.passwd
}
userdb static {
args = static uid=300 gid=300 home=/var/dovecot/mail
mail=maildir:/var/dovecot/mail/%d/%n/Maildir nice=10
}
}
default_mail_env =
maildir:/var/dovecot/mail/%d/%n/Maildir:INDEX=/var/dovecot/indexes/%d/%n
in
2006 Nov 11
1
mail_chroot: no variables support?
Hello dovecot,
It seems, that mail_chroot setting can't use variables. I try to set it to `%h' and it deosn't work :(
Are here any security considerations, or it is bug?
--
Best regards,
Lev mailto:lev at serebryakov.spb.ru
2008 Dec 12
1
Unable to modify TDB passwd
Hi,
I'm having difficulty creating new user accounts.
Attempting to create a new user account using smbpasswd fails, as follows:
#smbpasswd -a guest
New SMB password:
Retype new SMB password:
Unable to modify TDB passwd: NT_STATUS_UNSUCCESSFUL!
Failed to add entry for user guest.
Failed to modify password entry for user guest
Attempting to create a new user account using pdbedit fails,
2004 Oct 20
1
default_mail_env problems
sorry if this mail is a duplicate - I am testing the new mail system!
I am having problems setting the default mail environment.#
I am using Fedora Core 2 with version dovecot-0.99.10.5-0.FC2
My users all have an NFS mounted home directory, and all mail is
delivered to ~Mail/.mailbox it is all mbox format.
I would like to put the indexes on the local system in
/var/indexes/{username}.
So I
2004 Dec 29
3
why dovecot try to access the uses's home?
hi,
after i try to use dovecot with ldap i configure dovecot as:
------------------------
first_valid_uid = 499
last_valid_uid = 499
first_valid_gid = 499
last_valid_gid = 499
default_mail_env = maildir:/home/mail/%d/%n
auth_userdb = static uid=499 gid=499 home=/home/users/%d/%n
auth_passdb = ldap /etc/dovecot-ldap.conf
------------------------
but after this i've got the error in imap.log:
2005 Jan 03
2
problem with default_mail_env
I'v set the default_mail_env to maildir:/var/maildir/%d/%u where
/var/maildir/ is the root dorectory for my maildir tree and I'm
getting the folowing error in the maillog :
Jan 3 15:16:58 websrv pop3(roi): unlink(/var/maildir//roi/cur/new:2,T) failed:
Is a directory
Notice that the %d is missing.
If I change to 'default_mail_env =
maildir:/var/maildir/example.tld/%u' then
2008 Apr 03
2
mail_chroot problems / dovecot 1.1rc4
Hello
I've noticed a little strange behaviour of that option. For example with
following settings:
system user: admin, with its home directory as /home/admin
dovecot options: as reported by dovecot -n (in attachment)
dovecot will try to chroot into /home/home/admin with the following
message in logs, in my case:
Fatal: chdir(/home/home/admin) failed with uid 1999: No such file or
2006 Aug 03
3
default_mail_env %d problem
Hi all.
I`ve got such problem:
default_mail_env = mbox:%h/mail/:INBOX=/var/mail/domain.net.ua/%n - it works.
But when I say:
default_mail_env = mbox:%h/mail/:INBOX=/var/mail/%d/%n - it not.
Log:
Aug 3 22:51:19 serv dovecot: POP3(user): mbox: data=/home/user/mail/:INBOX=/var/mail//user
Aug 3 22:51:19 serv dovecot: POP3(user): mbox: root=/home/user/mail, index=/home/user/mail,
2006 Jul 07
1
default_mail_env and IMAP server directory in client
Hi,
I'm currently installing a dovecot Server to be a replacement for an
uw-imapd.
I dont want to touch the clients configuration, because I have too much
users...
Situation is the following: the mbox files are in the users
homedirectory (~/MailImap), automounted via nfs
In dovecot.conf I've set
default_mail_env = mbox:%h/MailImap:INBOX=/var/mail/%u
It works perfect without a value
2006 Oct 13
1
default_mail_env renaming
I was thinking about renaming default_mail_env to something that is more
understandable. I'll keep it working for backwards compatibility anyway.
How about:
# Location for users' mailboxes. This is the same as the old default_mail_env
# setting. The default is empty, which means that Dovecot tries to find the
# mailboxes automatically. This won't work if the user doesn't have any
2004 Jul 25
2
dovecot.conf: default_mail_env
I just installed Dovecot on Debian and everyting seems to be working
fine except for the fact that it can't seem to find my mails when I log
in. All my mails are stored in the file ~/mail/Inbox. In the
dovecot.conf file I put:
default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u and it's not working.
What is the part: mbox:~/mail/ for ?
and what is the part: INBOX=/var/mail/%u for ?
I
2005 Aug 02
1
Default_mail_env..
Hi,
I 'm new to Dovecot and we are trying to do some tests in a
production environment. We use mysql to authenticate and dovecot imap
only. But our structure directory is something special.
All of ours accounts are stored in maildir and the path is the
following:
For example the account pepe at inter.net
/export/maildir/inter.net/p/e/pepe and into pepe we have
2004 Mar 08
2
MySQL Auth and default_mail_env
Hi
Not sure how much support you guys can offer but when I use
default_mail_env =
mbox:/var/spool/mail/%d/imap/%n/:INBOX=/var/spool/mail/%d/%n
I get the login error ..
Fatal: Failed to create storage with data:
mbox:/var/spool/mail/DOMAIN/imap/USER/:INBOX=/var/spool/mail/DOMAIN/USER
It is grabbing the right values for %d and %n from the mysql query
65 Query SELECT password FROM
2009 Dec 06
2
How do i translate the old default_mail_env setting?
Hi,
First, I am new to dovecot. Before my Jan '08 meltdown,
sendmail was sufficient. A friend set up dovecot and since
things just-worked, I was happy with that. Now I have a new
mailserver and what was installed nearly two years ago fails.
My pal installed things in dovecot.conf this way:
default_mail_env = maildir:~/Maildir
but the new mail environment is too different to be
2006 May 19
4
beta8: core, signal 11
Timo,
The gdb analysis is attached. It looks like memory got seriously
stomped in this core dump. There was no assert or other useful
information in the syslog. My setup: Solaris 9, imap and imaps,
mbox format, INBOXes NFS mounted, index files on local ufs
filesystem, beta8 configured like so:
VERSION=1.0.beta8
CC=gcc CFLAGS="-g -O" CPPFLAGS=-I/opt/openssl/include
2006 Jan 31
1
default_mail_env auto-detect woes for maildir users
Hello--
I am a fairly new dovecot user and have run into a problem.
I am running dovecot 1.0alpha5 (built from source) on a Fedora Core 1 machine.
The system has about 400 users with over 80 IMAP users, and we have
just transitioned from UW-IMAP. Thus all users are currently still mbox
users.
I would like to transition them to maildir users (this was the main point for
me switching servers), and
2006 Jun 16
1
Problem with default_mail_env in beta9
Hallo,
I am playing arround with dovecot
I hat version 1.0.beta7 running fine. After installing beta9 there is a problem with default_mail_env setting.
I have all users in ldap.
there is an attribute "mailMessageStore" which contains a relative path to users maildir
mailMessageStore: sca/
my mailer completes this relative pathinformation to /var/mail/sca/
therefor I setup
2012 Nov 08
3
Mails don't get deleted after POP3
Hi, there!
Well, I am new to dovecot, so please be patient with me:
I have a virtual server and want to setup simple mail delivery.
postfix, saslauthd and dovecot basically work fine.
The only open issue is, that (I guess) dovecot doesn't remove the
mail when it's retrieved via pop3 from the server.
It keeps sending me the same emails again and again.
(The mail client (Thunderbird) is
2003 Aug 24
1
Chrooting the Mail processes
Hello!
Could somebody give some feedback on this configuration:
- OpenBSD box with local ssh users.
- /home directory mounted with nosuid,noexec.
- postfix dropping mail in /home/username/mail/INBOX, with the UID/GID
of the user.
- dovecot:
valid_chroot_dirs = /home
default_mail_env = mbox:/home/%u/mail/:INBOX=/home/%u/mail/INBOX
Are there any obvious ways for a local user to help