From: Slava Dubrovskiy <slava@tangramltd.com> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] pop3-сервер с users/passwords/mbox names в plain text file Date: Tue, 12 Jun 2007 17:22:05 +0300 Message-ID: <466EAC0D.9080203@tangramltd.com> (raw) In-Reply-To: <466EA866.2060109@stc.donpac.ru> [-- Attachment #1: Type: text/plain, Size: 1376 bytes --] Eugene Prokopiev пишет: >> Если б уговорить deliver не менять uid/gid, проблему удалось бы решить. >> Точно нет способа это сделать? Или есть другие варианты, которых я не вижу? >> > > Решение найдено, но на грани извращения (или уже за гранью ;) ): > Да не, нормально все. Так и должно быть. > # cat /etc/dovecot/dovecot.conf > protocols = pop3 > shutdown_clients = yes > ssl_disable = yes > mail_extra_groups = mail > first_valid_uid = 8 > last_valid_uid = 1000 > first_valid_gid = 12 > last_valid_gid = 1000 > mail_location = mbox:/data/mail/%u > mbox_min_index_size = 0 > lock_method = fcntl > protocol pop3 { > pop3_uidl_format = %08Xu%08Xv > } > protocol lda { > postmaster_address = postmaster@myhost.mydomain.ru > auth_socket_path = /var/run/dovecot/auth-master > } > auth default { > mechanisms = plain > passdb pam { > } > passdb passwd-file { > args = /etc/dovecot/dovecot.passwd > } > Может можно добавить userdb passwd { } И тогда отключить allow_all_users=yes ? > userdb static { > args = uid=8 gid=12 home=/data/mail/%u allow_all_users=yes > } > -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]
next prev parent reply other threads:[~2007-06-12 14:22 UTC|newest] Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-11 5:10 Eugene Prokopiev 2007-06-11 8:32 ` Konstantin A. Lepikhov 2007-06-11 10:18 ` Eugene Prokopiev 2007-06-11 10:50 ` Konstantin A. Lepikhov 2007-06-11 9:19 ` Eugene Prokopiev 2007-06-11 10:02 ` Konstantin A. Lepikhov 2007-06-11 11:22 ` Eugene Prokopiev 2007-06-11 16:14 ` Slava Dubrovskiy 2007-06-11 18:33 ` Eugene Prokopiev 2007-06-11 18:48 ` Konstantin A. Lepikhov 2007-06-11 19:38 ` Eugene Prokopiev 2007-06-11 19:49 ` Eugene Prokopiev 2007-06-11 19:52 ` Konstantin A. Lepikhov 2007-06-11 20:07 ` Eugene Prokopiev 2007-06-11 20:11 ` Konstantin A. Lepikhov 2007-06-11 20:28 ` Eugene Prokopiev 2007-06-11 20:27 ` Konstantin A. Lepikhov 2007-06-11 20:51 ` Eugene Prokopiev 2007-06-11 18:54 ` Eugene Prokopiev 2007-06-11 18:55 ` Konstantin A. Lepikhov 2007-06-11 20:59 ` Eugene Prokopiev 2007-06-11 21:04 ` Konstantin A. Lepikhov 2007-06-12 7:20 ` Eugene Prokopiev 2007-06-12 7:35 ` Slava Dubrovskiy 2007-06-12 7:45 ` Eugene Prokopiev 2007-06-12 8:06 ` Slava Dubrovskiy 2007-06-12 8:20 ` Konstantin A. Lepikhov 2007-06-12 9:20 ` Eugene Prokopiev 2007-06-12 10:43 ` Eugene Prokopiev 2007-06-12 7:42 ` Eugene Prokopiev 2007-06-12 8:13 ` Slava Dubrovskiy 2007-06-12 9:28 ` Eugene Prokopiev 2007-06-12 9:32 ` Slava Dubrovskiy 2007-06-12 13:38 ` Eugene Prokopiev 2007-06-12 14:06 ` Eugene Prokopiev 2007-06-12 14:10 ` Konstantin A. Lepikhov 2007-06-12 14:29 ` Eugene Prokopiev 2007-06-12 16:43 ` Konstantin A. Lepikhov 2007-06-12 17:14 ` Eugene Prokopiev 2007-06-12 19:27 ` Konstantin A. Lepikhov 2007-06-13 6:32 ` Eugene Prokopiev 2007-06-12 14:22 ` Slava Dubrovskiy [this message] 2007-06-12 14:29 ` Eugene Prokopiev 2007-11-25 3:55 ` Aleksey Avdeev 2007-06-12 10:40 ` Slava Dubrovskiy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=466EAC0D.9080203@tangramltd.com \ --to=slava@tangramltd.com \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git