Le 19/06/2015 09:04, Steffen Kaiser a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 19 Jun 2015, Mickael Choisnard wrote:
Date: Fri, 19 Jun 2015 08:29:08 +0200 From: Mickael Choisnard mickael.choisnard@free.fr To: dovecot@dovecot.org Subject: [Dovecot] question about /var/mail/xxx
Hi, I need your help to use dovecot with sendmail I use a fresh debian 8 jessie and i installed sendmail and dovecot 2. Sendmail works fine.
All mails go to /var/mail/xxx
this is problem for dovecot. dovecot cannot get it.
# 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.1 auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = yes disable_plaintext_auth = no first_valid_uid = 116 last_valid_uid = 116 log_path = /var/log/dovecot.log mail_home = /srv/mail/%u mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_privileged_group = mail 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 } mailbox Trash { special_use = \Trash } prefix = } passdb { args = scheme=SHA-CRYPT /etc/dovecot/users driver = passwd-file } postmaster_address = root@arpagon protocols = " imap pop3" service auth { unix_listener auth-userdb { group = vmail user = vmail } } ssl = no userdb { args = uid=vmail gid=vmail home=/srv/vmail/%d/%n driver = static }
cat /var/log/dovecot.log
Jun 19 08:14:18 imap-login: Info: Login: user=<mc110771>, method=PLAIN, rip=10.11.12.30, lip=88.179.182.93, mpid=18799, session=
Jun 19 08:14:18 imap(mc110771): Info: Disconnected: Logged out in=8 out=395 Jun 19 08:14:26 imap-login: Info: Login: user=<mc110771>, method=PLAIN, rip=10.11.12.30, lip=88.179.182.93, mpid=18801, session= Jun 19 08:14:26 imap-login: Info: Login: user=<mc110771>, method=PLAIN, rip=10.11.12.30, lip=88.179.182.93, mpid=18803, session= Jun 19 08:14:26 imap(mc120771): Error: open() failed with mbox file
/var/mail/mc120771: Permission deniedwhat permissions have these files? -rw-rw---- mc120771 mail I'm in the configuration like this http://wiki2.dovecot.org/MailLocation/mbox I use "mail_privileged_group = mail" whithout success
Maybe i can do this http://wiki2.dovecot.org/LDA/Sendmail
Jun 19 08:14:57 imap(mc120771): Info: Disconnected: Logged out in=137 out=640 Jun 19 08:14:57 imap(mc120771): Info: Disconnected: Logged out in=74 out=547 Jun 19 08:18:47 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=10.11.12.45, lip=88.179.182.93, session=
Jun 19 08:18:47 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=10.11.12.45, lip=88.179.182.93, session=<2gOX5dgYigAKCwwt> Jun 19 08:18:47 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=10.11.12.45, lip=88.179.182.93, session=<ojeY5dgYjQAKCwwt>
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVYO+/Xz1H7kL/d9rAQIanggAjEpTu5XO/bbmsZlCxtqircdUkHzCxih1 6BdH2D7VlCv2UKPfk+xrY7GJoZEWg4cXYsOb3YfGwgLPffTMxvxZ5bOcW4O46jfn YfVqkLmOTVL66MQR5Z+bxR3oi/5fIGFIPDQ268XRZOLuFb6adGgQyu5GiASkrx9A YXGz9XYwI2yYAN0PxgajNbLlsu/x36b/xMSl8j9YdeZryDHhiG7p5AKluijwfMBg 4Eu+Tr7LabU0iYQuLSFqfV9sNLA4PCOIoJANPGaCcl+xVoPwKok+/GeVJIHNMFa/ cCH04Vc414g5TzVbHreYrJAD86z2WBPQjk37ZmGplnePCKSpsOdP/A== =r68Y -----END PGP SIGNATURE-----