[Dovecot] auth processes

Stan Hoeppner stan at hardwarefreak.com
Fri Feb 19 00:35:18 EET 2010


Eric Rostetter put forth on 2/18/2010 3:21 PM:
> Quoting Stan Hoeppner <stan at hardwarefreak.com>:
> 
>> Timo Sirainen put forth on 2/18/2010 12:54 PM:
>>
>>> Hmm. You could try setting auth_worker_max_request_count=1 to see if
>>> that gets rid of the processes after they've handled the request.
>>
>> Restarting IMAP/POP3 mail server: dovecotError: Error in configuration
>> file
>> /etc/dovecot/dovecot.conf line 1: Unknown setting:
>> worker_max_request_count
>> Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
>>
>> FYI I'm running 1.2.10
>>
>> -- 
>> Stan
> 
> Could be a typo, could be your problem, but:
> 
> auth_worker_max_request_count != worker_max_request_count
> 
> (i.e., did you forget the "auth_" at the start?)

I think it's sad that sometimes some sysadmins assume their fellow sysadmins are
less than capable, to put it politely.

[02:55:20][root at greer]/home/stan$ dovecot -a|grep auth_worker_max_request_count
[02:55:26][root at greer]/home/stan$ man dovecot
[02:56:36][root at greer]/home/stan$ man dovecot.conf
No manual entry for dovecot.conf
[02:56:40][root at greer]/home/stan$ vi /etc/dovecot/dovecot.conf
[03:02:06][root at greer]/home/stan$ dovecot restart
Usage: dovecot [-F] [-c <config file>] [-p] [-n] [-a]
       [--version] [--build-options] [--exec-mail <protocol> [<args>]]
Fatal: Unknown argument: restart
[03:02:11][root at greer]/home/stan$ /etc/init.d/dovecot
Usage: /etc/init.d/dovecot {start|stop|restart|force-reload|status}
[03:02:41][root at greer]/home/stan$ /etc/init.d/dovecot status
dovecot is running.
[03:03:10][root at greer]/home/stan$ /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecotError: Error in configuration file
/etc/dovecot/dovecot.conf line 868: Unknown setting: worker_max_request_count
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
 failed!
[03:04:33][root at greer]/home/stan$ vi /etc/dovecot/dovecot.conf
[03:06:09][root at greer]/home/stan$ /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecotError: Error in configuration file
/etc/dovecot/dovecot.conf line 1: Unknown setting: worker_max_request_count
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
 failed!
[03:06:50][root at greer]/home/stan$ vi /etc/dovecot/dovecot.conf
[03:07:38][root at greer]/home/stan$ /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecot.

Now, does that string of actions look to you like I fucked up, didn't verify my
edits and results, before reporting back?  Pristine?  No.  Perfect?  No.
_Thorough_?  YES.

Dovecot strips the "auth_" portion of the parameter name in that error message.
 I don't know why.  Do you?  If you're running 1.2.10 or prior on one of your
systems, insert that parameter into dovecot.conf, do a restart or force reload,
and report back the error message, if any, that you receive.

Maybe then you might have a constructive, positive comment for me.

-- 
Stan


More information about the dovecot mailing list