Displaying 20 results from an estimated 1246 matches for "mail_uid".
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 is missing UID (set mail_uid)
May 04 14:57...
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 mode=0700)
The mailb...
2009 Sep 03
2
mail_uid and mail_gid are not set in environment (for expire-tool and so)
...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 following:
mail_uid = vmail
mail_guid = vmail
which is confirmed with 'dovecot -n'
I have a script my-expire-tool-test containing:
#!/bin/sh
set
which basically only display environment variables.
When I run :
/usr/sbin/dovecot --exec-mail ext my-expire-tool-test
I do not see any variable MAIL_UID no...
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
Error: Error in configuration file /etc/dovecot/etc/dovecot.conf line
962: Unknown setting: mail_uid
Fatal: Invalid configuration in /etc/dovecot/etc/dovecot.conf
# sbin/dovecot...
2020 Mar 23
0
Problem with mail_uid
> On 23/03/2020 19:43 ratatouille <ratatouille at bitclusive.de> wrote:
>
>
> 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 m...
2010 Oct 13
1
doveadm doesn't seem to honor mail_location, mail_uid, mail_gid
I am adjusting the recommended ldap configuration to match active
directory instead of the standard posixaccount layout. The problem is
that doveadm seems to ignore mail_uid and mail_gid along with (possibly)
mail_location.
This is a setup with all virtual users (all ldap, not system accounts).
Everything works in postfix and standard dovecot operation, it is only
doveadm which doesn't work.
Ldap queries return everything but these entries (as they do not exist
i...
2010 May 04
3
Dovecot deliver LDA problem
Hello folks,
I was trying to set up Dovecot deliver LDA instead of Postfix default
virtual LDA
In Postfix main.cf I specified:
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
In Postfix master.cf I entered:
dovecot unix - n n - - pipe
user=mailer flags=DRhu
argv=/usr/local/mail/libexec/dovecot/deliver -f ${sender} -d ${recipient}
In
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 = 500
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver...
2011 Aug 11
2
Unknown setting: service
...ze 64bit and installed dovecot from
the sources. However, I can't start dovecot or even use doveconf:
root at imap01:~# doveconf -n
# 2.0.13: /usr/local/etc/dovecot/dovecot.conf
doveconf: Fatal: Error in configuration file
/usr/local/etc/dovecot/conf.d/10-mail.conf line 111: Unknown setting:
mail_uid
Why is mail_uid and mail_gid an unknown setting?
On my other box the configuration is identical (but Dovecot is
upgraded from early 2.0.x versions to the current one)
If I comment the mail_uid and mail_gid lines, I get another error:
root at imap01:~# doveconf -n
doveconf: Fatal: Error in config...
2012 Sep 14
0
Couldn't drop privileges: User is missing UID (see mail_uid setting)
...postfix and dovecot for my mail servers with a mysql
backend for the last 2 years I have tried to set up an installation with a
ldap backend.
I followed the how-to from the ?Postfix Book? and now I have always the
following error message:
Couldn't drop privileges: User is missing UID (see mail_uid setting)
This error message occurs whenever I try to connect via a mail client.
System emails were delivered the way I expected. So I assume postfix is
working fine. The ldap search I use for user authentication is as follows:
uris = ldap://myserver.com
dn = cn=admin, dc=mydomain, dc=com...
2011 Jan 29
2
sql : uid, gid, home ignored ?
...s:
client out: OK 1 user=theuser home=/home/theuser uid=1000 gid=1000
master in: REQUEST 547880961 10068 1 e6...(hexadecimal stuff)
master out: USER 547880961 theuser
But in the mail.err log i see:
dovecot: imap(theuser): Error: user theuser: Couldn't drop privileges: User is missing UID (see mail_uid setting)
dovecot: imap(theuser): Error: Internal error occurred. Refer to server log for more information.
The same two lines are also displayed in mail.info and mail.log
Further testing (setting mail_uid & mail_gid to a nobody) shown that the home setting was ignored too.
The sql example s...
2019 Oct 11
2
Panic: file smtp-client-connection.c: line 1212 (smtp_client_connection_established): assertion failed: (!conn->connect_succeeded)
...8:1c17:4548::1lmtp_rcpt_check_quota = yesmail_attribute_dict =
file:%h/dovecot-attributesmail_debug = yesmail_gid = dovecot-
mailmail_home = /srv/mail/%d/%nmail_location =
sdbox:~/mail_max_userip_connections = 20mail_plugins = " acl mail_crypt
mail_log notify quota quota_clone replication"mail_uid = dovecot-
mailmail_vsize_bg_after_count = 100managesieve_notify_capability =
mailtomanagesieve_sieve_capability = fileinto reject envelope encoded-
character vacation subaddress comparator-i;ascii-numeric relational
regex imap4flags copy include variables body enotify environment
mailbox date inde...
2009 Feb 02
2
Errors after install with non-standard prefix
...g_path: /zhome/var/log/dovecot_info.log
protocols: imap
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /zhome/var/run/dovecot
login_executable: /zhome/dovecot/libexec/dovecot/imap-login
login_user: exim
login_chroot: no
login_max_processes_count: 30
max_mail_processes: 30
first_valid_uid: 1
mail_uid: exim
mail_gid: exim
mail_location: mbox:/zhome/var/mail:INBOX=/zhome/var/mail/.dead_letters
mail_debug: yes
mbox_lazy_writes: no
auth default:
failure_delay: 1
verbose: yes
debug: yes
worker_max_request_count: 1
passdb:
driver: pam
args: dovecot
--
Dmitry Samersoff
dms...
2020 Mar 20
2
systemuser login
...ile
2020-03-20 15:44:43 imap-login: Info: Login: user=<andreas at dualbit.de>, method=PLAIN, rip=::1, lip=::1, mpid=15272, secured, session=<pYBcU0qhqIM
AAAAAAAAAAAAAAAAAAAAB>
2020-03-20 15:44:43 imap(andreas at dualbit.de): Error: Couldn't drop privileges: User is missing UID (see mail_uid setting)
2020-03-20 15:44:43 imap: Error: Internal error occurred. Refer to server log for more information.
hmmm
Andreas
2016 Dec 15
3
Configuration problem for secure virtual server
...ntent)
All mails should be stored in /mail in the mounted container.
Dovecot has this configuration:
=======================================
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf
}
userdb {
driver = static
args = uid=Debian-exim gid=mail home=/mountpoint/mail/%d/%n
}
mail_uid = Debian-exim
first_valid_uid = 107
last_valid_uid = 107
first_valid_gid = 8
last_valid_gid = 9
mail_location = maildir:/mountpoint/mail/%d/%n
=======================================
The /mountpoint has the following rights:
drwxrwx--- 5 root crypt 4,0K Dez 13 19:05 mountpoint
The subdirecto...
2013 Jan 02
1
map_uid/GUID at IMAP level (IMAP extension?)
Is map_uid/guid going to be supported at IMAP protocol level? [via IMAP
protocol extension]
Specifically I would like to be able to:
a) ask for mail_uid/GUID of specific message in mail store
b) get list of folders containing copies of message with given mail_uid/GUID
http://wiki2.dovecot.org/MailboxFormat/dbox#Multi-dbox
Related:
https://developers.google.com/google-apps/gmail/imap_extensions#access_to_the_gmail_unique_message_id_x-gm-msgid
[mes...
2012 Jan 08
2
uid / gid and systemusers
Hi all,
I'm facing a problem when a user (q and g in this example) is logging into dovecot. Can anybody tell some hint?
Thanks in advance.
George
/var/log/mail.log:
...
Jan 8 16:18:28 test dovecot: User q is missing UID (see mail_uid setting)
Jan 8 16:18:28 test dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=<q>, method=PLAIN, rip=AAA.BBB.CCC.DDD, lip=EEE.FFF.GGG.HHH TLS <--- edited by me
Jan 8 16:18:28 test dovecot: dovecot: User g is missing UID (see mail_uid setting)
Jan 8 16:18:28...
2009 Sep 12
2
Problems getting Dovecot to work.
...d flash space). However I can't even log in via
telnet. I've followed the Wiki troubleshooting tips, and still no further
forward.
logging via telnet, I get: "user sheeva BAD Error in IMAP command received
by server."
the logs show: ubuntu dovecot: User sheeva is missing UID (see mail_uid
setting)
What do I need to do? I know basic Linux stuff, but I wouldn't call
myself an expert, so please no tech talks!!!
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
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
us...
2017 Sep 15
2
logins fail for virtual users (permission denied, we're not in group 5000)
...n group 5000(vmail), dir owned by 5000:5000 mode=0750)
A previous user had a similar problem in 2015:
https://dovecot.org/list/dovecot/2015-July/101469.html
He was advised to look at https://wiki2.dovecot.org/UserIds ? without being
given more specific advice. I looked at the page. I tried adding mail_uid
and mail_gid. No luck.
In my case, I see:
# sudo -u dovecot groups
dovecot vmail
# sudo -u dovecot cat /var/mail/vhosts/travler.net/shadow
<file contents>
I have a vmail user:
# id vmail
uid=5000(vmail) gid=5000(vmail) groups=5000(vmail)
# ls -la /var/mail/vhosts
total 0
drwxr-s--- 1 vmai...