dovecot 1.1.11 vs 1.1.15

Mark Hattam mark at dxradio.demon.co.uk
Mon Jun 1 15:59:57 PDT 2009


On 1 Jun 2009, at 06:04, Ryan Schmidt wrote:

>
> On May 31, 2009, at 19:27, Mark Hattam wrote:
>
>> OK ... good to see the version up to date ... only problem is that  
>> it doesn't run.
>>
>> Luckily I didn't do the "uninstall inactive" after the "upgrade  
>> outdated" which I normally do as a matter of course, so I'm now  
>> back on 1.1.11
>>
>> However, even 1.1.11 didn't work again initially.
>>
>> It seemed to lose access to
>> /opt/local/var/run/dovecot/login
>>
>> so I've chmod'd that to 777 and 1.1.11 is now able to work.  
>> However, deactivating that and activating 1.1.15 is still "no joy".
>
> Before deactivating 1.1.11, you stop the server process, yes? And  
> after activating 1.1.15 you try to start the new one? What error  
> message do you get?

Tried again this evening ... deactivated 1.1.11 ... restarted  
machine ... activated 1.1.15 ... restarted machine ... 1.1.15 doesn't  
run ... deactivated 1.1.15 ... restarted machine ... activated  
1.1.11 ... doesn't run but gives permissions error ... chmod the  
folder ... restart machine ... 1.1.11 runs (and is what I'm using now)

Last login: Mon Jun  1 23:37:05 on console

iMac:~ mark$ ps -ef | grep dovecot
   501   202   192   0   0:00.00 ttys000    0:00.00 grep dovecot

iMac:~ mark$ sudo port activate dovecot @1.1.15_0+darwin_9
Password:
--->  Activating dovecot @1.1.15_0+darwin_9

iMac:~ mark$ ps -ef | grep dove
   501   221   192   0   0:00.00 ttys000    0:00.00 grep dove

iMac:~ mark$ dovecot -n
# 1.1.15: /opt/local/etc/dovecot/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full  
load (more than 640). Either grow the limit or change  
login_max_processes_count and max_mail_processes settings
# OS: Darwin 9.7.0 i386
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /opt/local/var/run/dovecot/login
login_executable: /opt/local/libexec/dovecot/imap-login
mail_location: maildir:~/Maildir
auth default:
   passdb:
     driver: passwd-file
     args: /etc/passwd.dovecot
   passdb:
     driver: pam
   userdb:
     driver: passwd

iMac:~ mark$ ps -ef | grep dovecot
   501   224   192   0   0:00.00 ttys000    0:00.00 grep dovecot

iMac:~ mark$ sudo port activate dovecot @1.1.11_0+darwin_9
--->  Activating dovecot @1.1.11_0+darwin_9

iMac:~ mark$ dovecot -n
# 1.1.11: /opt/local/etc/dovecot/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full  
load (more than 640). Either grow the limit or change  
login_max_processes_count and max_mail_processes settings
# OS: Darwin 9.7.0 i386
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /opt/local/var/run/dovecot/login
login_executable: /opt/local/libexec/dovecot/imap-login
mail_location: maildir:~/Maildir
auth default:
   passdb:
     driver: passwd-file
     args: /etc/passwd.dovecot
   passdb:
     driver: pam
   userdb:
     driver: passwd

iMac:~ mark$ dovecot
Fatal: open() failed for /opt/local/var/run/dovecot/login: Permission  
denied

iMac:~ mark$ ps -ef | grep dovecot
     0    53     1   0   0:00.00 ??         0:00.00 /opt/local/bin/ 
daemondo --label=dovecot --start-cmd /opt/local/sbin/dovecot ; -- 
pid=fileauto --pidfile /opt/local/var/run/dovecot/master.pid
     0   102     1   0   0:00.00 ??         0:00.00 /opt/local/sbin/ 
dovecot
     0   105   102   0   0:00.00 ??         0:00.00 dovecot-auth
     0   111   102   0   0:00.00 ??         0:00.00 dovecot-auth -w
   501   187   176   0   0:00.00 ttys000    0:00.00 grep dovecot



On 1 Jun 2009, at 16:10, Daniel J. Luke wrote:

> On Jun 1, 2009, at 6:07 AM, Mark Hattam wrote:
>> Having chmod'd that to 777, 1.1.11 now runs, and writes its pid in  
>> there. But 1.1.15 still can't run. I can't find
>> where it writes a log, not that it gets far enough to do that.
>
> http://wiki.dovecot.org/Logging
>
> it should be in /var/log/mail.log by default (but is configurable)
>
> --
> Daniel J. Luke

Yes, they're there ... but it doesn't write anything when it can't run.

1.1.15 doesn't even get as far as the equivalent of

Jun  1 23:47:56 iMac dovecot[102]: dovecot v1.1.11 starting up (core  
dumps disabled)


More information about the macports-users mailing list