Size limitation on login realms

Alain Spineux aspineux at gmail.com
Mon Nov 3 06:34:56 EST 2008


On Mon, Nov 3, 2008 at 11:46 AM, Mordur Ingolfsson <cl at 1984.is> wrote:
> Dear list,
>
> I have a Cyrus imap 2.2.13  running on Debian serving 1500 users from
> 358 domains, meaning 333 login realms. Today, when I was going to add
> login realm nr. 359 all hell broke loose and my logs filed up with this
> here message:
>
> Nov  3 09:38:20 mail cyrus/lmtpunix[7935]: FATAL: invalid option name on
> line 188 of configuration file /etc/imapd.conf
>
> It so happens, that the line containing the option loginrealms: is line
> 187 in imapd.conf, so I have probably reached a size limit for the
> loginrealms option and the domains in exess of this size limit are
> somehow considered to be on the next line in the file, line 188.
>
> these are the statistics for my loginrealms line:
>
> Lines: 1
> Words:  333
> Characters: 3711
>
> Have I reached an unmovable barrier here, or is there a way around this?
> I would really like to know, because the setup is working very well
> except for this new problem.
>

The line in imapd.conf are limited to 4096 chars before  2.3.12
After 2.3.12 lines length are unlimited and you can also use the "\"
continuation char at the end of the line.

Update to last 2.3.X or try to apply the patch to your old 2.2.13.

Regards


> Thanks,
>
> Mordur Ingolfsson
> 1984 ehf
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list