Displaying 20 results from an estimated 10000 matches similar to: "doveadm doesn't seem to honor mail_location, mail_uid, mail_gid"
2009 Sep 03
2
mail_uid and mail_gid are not set in environment (for expire-tool and so)
Hello,
I've just subscribed to the list, as a recent user of Dovecot (1.2.4 by
now).
I eventually missed a point, so I tried to find other doc or comments about
my issue, but failed to. If the following has already been discussed, please
simply reply with a URL to the corresponding thread or doc ;-)
Now that I have covered my ass, here is the problem I meet.
In dovecot.conf, I have the
2010 Oct 11
1
Samba4 Active Directory and Doveadm
When executing: doveadm search -A mailbox INBOX from SOMEBODY
I am getting:
doveadm(root): Error: user root: Invalid settings in userdb: userdb
returned 0 as uid
doveadm(root): Error: User lookup failed: Invalid user settings. Refer
to server log for more information.
doveadm(bin): Error: user bin: Couldn't drop privileges: Mail access for
users with UID 1 not permitted (see first_valid_uid in
2020 Mar 23
3
Problem with mail_uid
Hello!
I have problems fetching mail for a system user. In use is a passwd-file.
If I set (for virtual users)
mail_uid = vmail
mail_gid = vmail
in 10-mail.conf, I get permission denied.
2020-03-23 18:39:23 imap(andreas at dualbit.de): Error: chdir(/home/andreas/Maildir/) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /home/andreas/Maildir, dir owned by 5006:5006
2010 Feb 12
1
dovecot v1.2.10 + unknown mail_uid parameter
hi...
i upgrading dovecot from v1.0.7 to v1.2.10, so i perform some modifications
(http://wiki.dovecot.org/Upgrading/1.1 and
http://wiki.dovecot.org/Upgrading/1.2), but i have the following problem
when i want to test installation:
in dovecot.conf, i set the user mail:
mail_uid= 72940
mail_gid= 72941
but when i try to start dovecot i have the following error:
# sbin/dovecot
2020 Oct 25
2
doveadm SSL problem with recent update
With a recent update, I started seeing this:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 14: ssl_cert: Can't open file /etc/letsencrypt/live/SERVER/fullchain.pem: Permission denied
1 4 * * * vmail /usr/bin/doveadm expunge -A mailbox MAILBOXINQUESTION savedbefore 1w
is one of the crontab entries I am seeing this for.
Is there an option to keep doveadm
2012 Jun 25
4
Virtual users - what is better Maildir or mbox?
Hi,
I'm trying to configure a server to use SAMBA and Winbind to
authenticate to Active Directory.... I managed to get this portion up
and running even the Dovecot portion.
For reference something similar to this guide:
http://www.whitneytechnologies.com/?p=119
However PAM is slightly different:
# cat /etc/pam.d/dovecot
auth sufficient pam_krb5.so no_user_check validate
account
2013 Oct 03
0
understanding user_attrs and mail_uid/gid
Hello,
I'm trying to understand what's the difference between those parameters.
In my dovecot.conf in the global section I have a definition of mail_uid
and mail_gid.
In my LDAP configuration used by passdb and userdb, I have a definition for
user_attrs= uidNumber=500,gidNumber=8.
Here is a part of my configuration files (dovecot version: 2.1.7)
dovecot.conf
mail_gid = 8
mail_uid =
2019 Jan 24
4
Discard mail with from date older than xxxx
On 1/24/19 12:15 AM, Per Jessen wrote:
> Trever L. Adams wrote:
>
>> I know that sieve doesn't do math. The file would be created
>> externally.
>>
>> Based on examples in section 4.4 of
>> https://tools.ietf.org/html/rfc5260#section-4
>>
>> I figured something like this would work.
>>
>> if date :value "le" :originalzone
2011 Apr 26
2
possible bug leading to lmtp crashes
On 04/25/2011 09:12 AM, Trever L. Adams wrote:
>
> As I look at the code in the hg reference above, I think there is a bug.
> If HOME should be preserved as first, and some of these others may be
> critical to proper operation, they should be preserved automatically, no
> matter what the configuration says. This seems to be contrary to the
> code and to the top of the page
2015 Aug 19
2
Samba 4 DC - no AES kerberos tickets - only arcfour
Hi Trever,
things improved after resetting user/machine passwords, however only the session key is using aes256 now, the ticket itself is still arcfour:
root at ubuntu1:~# kinit user09999
user09999 at S4DOM.TEST's Password:
root at ubuntu1:~# klist -v
Credentials cache: FILE:/tmp/krb5cc_0
Principal: user09999 at S4DOM.TEST
Cache version: 4
Server: krbtgt/S4DOM.TEST at
2011 Sep 06
6
Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap
Hello,
I spend a couple of days configurating a new installation of dovecot 2.0.14 with virtual accounts and NFS storage for maildir home/mail directories.
At this point I need shared mailboxes but since user mail/home locations are ldap attributes, how is it supposed I must configure this for shared mailboxes?
for the users' mail/home directories I set this line:
user_attrs =
2010 May 04
1
Where should I define mail_uid for deliver LDA?
Hello folks
I'm trying to use Dovecot deliver LDA instead Postfix virtual LDA
The last road block I have to resolve is to define mail_uid, becaus
dovecot.err log has these error messages:
May 04 14:57:19 deliver(user1 at some_domain.com): Error: User
user1 at some_domain.com is missing UID (set mail_uid)
May 04 14:57:19 deliver(user2 at some_domain.com): Error: User
user2 at some_domain.com
2009 Feb 02
2
Errors after install with non-standard prefix
Hi Everyone,
I'm new in dovecot - so first at all, thank you for amazing work.
I'd flicked through dovecot code and it's very accurate.
I'm trying to use dovecot with a little bit non-standard configuration:
dovecot installed under /my_path/dovecot, all users has the same home
directory /my_path/var/mail and have to access all mailboxes/folders
located there.
But I have
2015 Jul 14
2
krbtgt user not showing aes types
I have found source4/scripting/devel/chgtdcpass for adding the aes types
to machines. I know you have to change the password of normal users.
How do you fix this for krbtgt? Can you just change the password? Is
there a recommended method?
Thank you for any help,
Trever
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type:
2011 Feb 02
1
LDAP and GSSAPI problems
This is a continuation of a problem I have been having. Samba 4 has
recently changed to require binds. I need LDAP to verify users exist. I
am using Kerberos (GSSAPI) as the passdb. Samba can handle
GSSAPI/Kerberos SASL binds.
I have the following in my dovecot-ldap setup for userdb:
dn = smtp/mailhost.example.org at EXAMPLE.ORG
sasl_bind = yes
sasl_mech = GSSAPI
sasl_realm = EXAMPLE.ORG
2008 Jan 14
2
file system permissions
I am using Maildir and virtual domains.
I have the following definitions in the dovecot.conf:
mail_uid = 10000
mail_gid = 10000
mail_location = maildir:/var/mail/apps/%d/%n/Maildir
...
Userdb database is LDAP based. Some users in LDAP might have a uid/gid
defined. If thats the case, I want dovecot to use those uid/gid. If
the user in LDAP does not have a uid/gid attribute, it'll fall back to
2008 Dec 02
2
data retention and e-discovery rules
Hello All,
I am in the United States where we have e-discovery rules. Some
organizations have to retain data for a certain amount of time, others
are required to have a data retention policy.
This means that while it should probably be possible for a user to
"delete" an email so they do not see it. The server needs to store it,
possibly in a tree that mirrors the folder setup of
2019 Jan 23
2
Discard mail with from date older than xxxx
I know that sieve doesn't do math. The file would be created externally.
Based on examples in section 4.4 of
https://tools.ietf.org/html/rfc5260#section-4
I figured something like this would work.
if date :value "le" :originalzone "date" "date" "2018-10-25" {
??????? fileinto "SPAM";
??????? stop;
}
However, I get the following.
spam: line
2016 Oct 14
2
First steps in Dovecot; IMAP not working
doveconf -n:
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab116.1 x86_64 Debian 8.6
mail_location = mbox:~/mail:INBOX=/var/mail/%u
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
}
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 want mail/directories/sieve_scripts to