[Dovecot] [Fwd: Re: Mail being delivered to mbox instead of Maildir]
---BeginMessage--- Eën®sÚ¶j{Üî±û£Û.ryÇ¢½ç_®µ÷mzó=×oÛ5å« éíÆyÖâ¶---End Message---
[Dovecot] Mail being delivered to mbox instead of Maildir
I thought I had Dovecot configured to use Maildir instead of mbox, but apparently it is still using mbox. Excerpt from dovecot.conf: mail_location = maildir:~/Maildir Excerpt from sendmail.mc: MAILER(dovecot)dnl dovecot.m4: ### DOVECOT Mailer Specification ### Mdovecot, P=/usr/local/libexec/dovecot/deliver, F=DFMPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix, A=deliver -d $u Thank you Sean Smitz
Re: [Dovecot] Mail being delivered to mbox instead of Maildir
Output of dovecot -n: # 1.0.7: /etc/dovecot.conf protocols: imaps ssl_cert_file: /etc/pki/dovecot/certs/mailserv1.cer ssl_key_file: /etc/pki/dovecot/private/mailserv1.pem login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_access_groups: mail mail_location: maildir:~/Maildir mail_full_filesystem_access: yes maildir_copy_with_hardlinks: yes auth default: passdb: driver: pam args: cache_key=%u%s dovecot userdb: driver: passwd
Re: [Dovecot] Mail being delivered to mbox instead of Maildir
Date: Wed, 17 Sep 2008 12:41:31 -0400 From: Charles Marcus [EMAIL PROTECTED] Subject: Re: [Dovecot] Mail being delivered to mbox instead of Maildir To: Dovecot Mailing List dovecot@dovecot.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 On 9/17/2008, Sean Smitz ([EMAIL PROTECTED]) wrote: mail_location: maildir:~/Maildir Maybe it is case sensitive... Try: mail_location: Maildir:~/Maildir -- Best regards, Charles -- I will try, but that is how the examples are capitalized. Message: 9 Date: Wed, 17 Sep 2008 22:25:07 +0300 From: Timo Sirainen [EMAIL PROTECTED] Subject: Re: [Dovecot] Mail being delivered to mbox instead of Maildir To: Dovecot Mailing List dovecot@dovecot.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii On Sep 17, 2008, at 5:22 PM, Sean Smitz wrote: I thought I had Dovecot configured to use Maildir instead of mbox, but apparently it is still using mbox. Excerpt from dovecot.conf: mail_location = maildir:~/Maildir Excerpt from sendmail.mc: MAILER(dovecot)dnl You sure sendmail is really calling deliver? In that case you should see deliver logging saved mail to INBOX lines. Timo, I don't see that in the /var/log/maillog file. do I need to increase the default logging level? Sep 16 15:09:00 mailserv1 sendmail[20848]: m8GJ90bl020846: SMTP outgoing connect on mailserv1.fla.fujitsu.com Sep 16 15:09:06 mailserv1 sendmail[20848]: m8GJ90bl020846: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (10295/10297), delay=00:00:06, xdelay=00:00:06, mailer=relay, pri=120363, relay=fujitsu1.fnanic.fujitsu.com. [192.240.0.1], ds n=2.0.0, stat=Sent (m8GJ95rd028033 Message accepted for delivery) Sep 16 15:09:06 mailserv1 sendmail[20848]: m8GJ90bl020846: done; delay=00:00:06, ntries=1
Re: [Dovecot] Dovecot PAM sessions with Maildir
I able to connect to the mail server with a MUA (Thunderbird) via SSL prior to attempting to set up the session and Maildir options /var/log/audit/audit.log type=USER_AUTH msg=audit(1217992493.198:389): user pid=8022 uid=0 auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM: authentication acct=[me] : exe=/usr/libexec/dovecot/dovecot-auth (hostname=:::[client], addr=:::[client], terminal=dovecot res=success)' type=USER_ACCT msg=audit(1217992493.199:390): user pid=8022 uid=0 auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM: accounting acct=[me] : exe=/usr/libexec/dovecot/dovecot-auth (hostname=:::[client], addr=:::[client], terminal=dovecot res=success)' type=USER_START msg=audit(1217992493.199:391): user pid=8022 uid=0 auid=10243 subj=user_u:system_r:dovecot_auth_t:s0 msg='PAM: session open acct=[me] : exe=/usr/libexec/dovecot/dovecot-auth (hostname=:::[client], addr=:::[client], terminal=dovecot res=failed)' /var/log/maillog Aug 5 23:14:37 mailserv1 dovecot: Dovecot v1.0.7 starting up Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection: pid=8014 Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection: pid=8013 Aug 5 23:14:38 mailserv1 dovecot: auth(default): new auth connection: pid=8015 Aug 5 23:14:46 mailserv1 dovecot: auth(default): new auth connection: pid=8016 Aug 5 23:14:52 mailserv1 dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAPsecured lip=:::[server] rip=:::[client] Aug 5 23:14:52 mailserv1 dovecot: auth(default): client out: CONT 1 Aug 5 23:14:52 mailserv1 dovecot: auth(default): client in: CONThidden Aug 5 23:14:52 mailserv1 dovecot: auth(default): pam([me],:::[client]): lookup service=dovecot Aug 5 23:14:52 mailserv1 dovecot: auth(default): pam([me],:::[client]): pam_open_session() failed: Cannot make/remove an entry for the specified session Aug 5 23:14:53 mailserv1 dovecot: auth(default): client out: FAIL 1 user=[me] Aug 5 23:14:53 mailserv1 dovecot: auth(default): client in: AUTH 2 PLAIN service=IMAPsecured lip=:::[server] rip=:::[client] resp=hidden Aug 5 23:14:53 mailserv1 dovecot: auth(default): pam([me],:::[client]): lookup service=dovecot Aug 5 23:14:53 mailserv1 dovecot: auth(default): pam([me],:::[client]): pam_open_session() failed: Cannot make/remove an entry for the specified session Aug 5 23:14:55 mailserv1 dovecot: auth(default): client out: FAIL 2 user=[me] Aug 5 23:14:58 mailserv1 dovecot: imap-login: Aborted login: user=[me], method=PLAIN, rip=:::[client], lip=:::[server], TLS
Re: [Dovecot] Dovecot PAM problem
I forgot to change the subject originally... With auth_debug = yes /var/log/maillog: Jan 20 11:23:35 flacpmail dovecot: Dovecot v1.0.rc15 starting up Jan 20 11:23:47 flacpmail dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAPsecured lip=:::128.8.244.161 rip=:::128.8.244.15 Jan 20 11:23:47 flacpmail dovecot: auth(default): client out: CONT 1 Jan 20 11:23:47 flacpmail dovecot: auth(default): client in: CONThidden Jan 20 11:23:47 flacpmail dovecot: auth(default): pam(test,:::128.8.244.15): pam_authenticate() failed: Authentication failure Jan 20 11:23:48 flacpmail dovecot: auth(default): client out: FAIL 1 user=test Jan 20 11:23:48 flacpmail dovecot: auth(default): client in: AUTH 2 PLAIN service=IMAPsecured lip=:::128.8.244.161 rip=:::128.8.244.15 resp=hidden Jan 20 11:23:48 flacpmail dovecot: auth(default): pam(test,:::128.8.244.15): pam_authenticate() failed: Authentication failure Jan 20 11:23:50 flacpmail dovecot: auth(default): client out: FAIL 2 user=test Jan 20 11:23:53 flacpmail dovecot: imap-login: Aborted login: user=test, method=PLAIN, rip=:::128.8.244.15, lip=:::128.8.244.161, TLS /var/log/audit/audit.log: type=USER_AUTH msg=audit(1200848003.207:195): user pid=29718 uid=0 auid=0 subj=root:system_r:dovecot_auth_t:s0 msg='PAM: authentication acct=test : exe=/usr/libexec/dovecot/dovecot-auth (hostname=:::128.8.244.15, addr=:::128.8.244.15, terminal=dovecot res=failed)' type=USER_AUTH msg=audit(1200848005.099:196): user pid=29719 uid=0 auid=0 subj=root:system_r:dovecot_auth_t:s0 msg='PAM: authentication acct=test : exe=/usr/libexec/dovecot/dovecot-auth (hostname=:::128.8.244.15, addr=:::128.8.244.15, terminal=dovecot res=failed)' Sean Smitz System Administrator Fujitsu Laboratories of America 8400 Baltimore Ave, Suite 302 College Park, MD 20740 (301) 486-0298 (Desk) Timo Sirainen wrote: On Sat, 2008-01-19 at 11:08 -0500, Sean Smitz wrote: I'm trying to configure PAM authentication and I'm having some issues. I'm using RHEL 5 and included below are excerpts from my relevant configuration and log files: */var/log/maillog* Jan 19 10:55:39 flacpmail dovecot: imap-login: Aborted login: user=test, method=PLAIN, rip=:::128.8.244.15, lip=:::128.8.244.161, TLS Set auth_debug=yes. It might show something more useful. But if the problem is with PAM, you'll need to look at its log files (/var/log/authlog or something).
Re: [Dovecot] dovecot Digest, Vol 57, Issue 55
I'm trying to configure PAM authentication and I'm having some issues. I'm using RHEL 5 and included below are excerpts from my relevant configuration and log files: */var/log/maillog* Jan 19 10:55:39 flacpmail dovecot: imap-login: Aborted login: user=test, method=PLAIN, rip=:::128.8.244.15, lip=:::128.8.244.161, TLS */etc/dovecot.conf* passdb pam { args = session=yes dovecot # also tried args = session=yes * } */etc/pam.d/dovecot* #%PAM-1.0 auth required pam_unix.so nullok auth include system-auth accountinclude pam_unix.so sessioninclude system-auth Thanks in advnaced, Sean Smitz System Administrator Fujitsu Laboratories of America 8400 Baltimore Ave, Suite 302 College Park, MD 20740 (301) 486-0298 (Desk)
[Dovecot] Missing deliver
I've installed Red Hat Enterprise Linux 5 on a new server. I'm configuring sendmail and dovecot; however, /usr/local/libexec/dovecot was not created when I installed the dovecot rpm (rpm -Uvh dovecot-1.0-1.2.rc15.el5.x86_64.rpm). The problem is I can't find the deliver executable which is supposed to be in this directory. Any help would be appreciated.