Re: [Dovecot] Delivery failure about update to 1.2.4 (Debian) (SOLVED)

2009-10-06 Thread William Witteman
On Mon, Oct 05, 2009 at 02:53:55PM -0400, William Witteman wrote:
>Version:
>1.2.4
>
>Config:
># 1.2.4: /etc/dovecot/dovecot.conf

I have found the problem.  I was not looking in the dovecot-deliver.log,
and so I was not alerted to the cause of the error.  By the way, I love
the links to the wiki in the error messages - when I first upgraded  and
the server didn't come up automatically, it was trivial with the wiki's
guidance to change to "ssl=yes".

>lda:
>  log_path: /home/vmail/dovecot-deliver.log

Here is my problem line - I noted in the changelog that this was being
phased out, but I wasn't seeing the error (because it was in the deliver
log) that showed me that it was this that was the problem.
>  mail_plugins: cmusieve

A quick comment and I was good to go.  Thanks to all.
-- 

yours,

William Witteman



Re: [Dovecot] Delivery failure about update to 1.2.4 (Debian)

2009-10-05 Thread William Witteman
On Mon, Oct 05, 2009 at 03:28:24PM -0400, Jerry wrote:
>On Mon, 05 Oct 2009 15:00:58 -0400
>Timo Sirainen  wrote:
>
>> On Mon, 2009-10-05 at 14:59 -0400, Timo Sirainen wrote:
>> > On Mon, 2009-10-05 at 14:53 -0400, William Witteman wrote:
>> > > log_path: /var/log/dovecot.log
>> 
>> > lda:
>> >   log_path: /home/vmail/dovecot-deliver.log
>> 
>> > > Oct  5 14:47:07 theta postfix/pipe[30972]: 451873B5B8:
>> > > to=, relay=dovecot, delay=168521,
>> > > delays=168521/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary
>> > > failure)
>> > 
>> > What does deliver log to dovecot.log? If nothing, does it have
>> > enough permissions to write to it?
>> 
>> Oh, /home/vmail/dovecot-deliver.log of course. :)
>
>I just had a problem similar to this. I turned on all the debug
>(logging) in dovecot and discovered that I had to the default 0600
>permissions on auth-client and auth-master, as shown below. After
>restarting dovecot, all went well.
>
>srw-rw-rw-   1 root  wheel   0B Oct  4 15:43 auth-client=
>srw-rw-rw-   1 root  wheel   0B Oct  4 15:43 auth-master=

I am confused.  The permissions above look like 0666 to me.  Do I make
my file look like what is above, or set it to 0600?
-- 

yours,

William
nerd.cx



[Dovecot] Delivery failure about update to 1.2.4 (Debian)

2009-10-05 Thread William Witteman
Version:
1.2.4

Config:
# 1.2.4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26-2-686 i686 Debian squeeze/sid ext3
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps pop3 pop3s
ssl_ca_file: /etc/ssl/certs/gd_intermediate_bundle2.crt
ssl_cert_file: /etc/ssl/certs/theta.crt
ssl_key_file: /etc/ssl/private/theta.key
ssl_key_password: obfuscated
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_location: maildir:/home/vmail/%d/%n
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
lda:
  log_path: /home/vmail/dovecot-deliver.log
  auth_socket_path: /var/run/dovecot/auth-master
  postmaster_address: obfuscated
  mail_plugins: cmusieve
  global_script_path: /home/vmail/globalsieverc
auth default:
  mechanisms: plain login digest-md5
  user: vmail
  debug: yes
  passdb:
driver: passwd-file
args: /etc/dovecot/passwd
  userdb:
driver: static
args: uid=5000 gid=5000 home=/home/vmail/%d/%n
  socket:
type: listen
client:
  path: /var/run/dovecot/auth-client
  mode: 438
master:
  path: /var/run/dovecot/auth-master
  mode: 384
  user: vmail


I recently updated Debian (testing).  Now, no mail is getting from
postfix to dovecot, but postfix didn't get upgraded.  dovecot seems
happy (after I fixed the "ssl = yes" change (speaking of which, that
line is not in the dovecot -n output)), but postfix is unable to deliver
email to it.  Here is a sample mail.log entry:

Oct  5 14:47:07 theta postfix/pipe[30972]: 451873B5B8: to=, 
relay=dovecot, delay=168521, delays=168521/0.01/0/0.02, dsn=4.3.0, 
status=deferred (temporary failure)

I cannot seem to figure out what changed and why things are now broken.
Can anyone help?  Thanks.
-- 

yours,

William