Onno Molenkamp
2015-May-12 08:50 UTC
dovecot-lda panics when postmaster_address is given on command line
Hi, When passing a postmaster_address to dovecot-lda on the command line with -o, it panics: $ ./dovecot-lda -o postmaster_address=anything lda(onno,)Panic: file lda-settings.c: line 80 (lda_settings_check): assertion failed: (set->postmaster_address[0] =SETTING_STRVAR_UNEXPANDED[0]) It looks like postmaster_address has already been expanded at that point when it's given on the command line. (set->postmaster_address[0] is "1") I'm running v2.2.15, but with v2.2.17.rc1 the same thing happens. Regards, Onno -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150512/e2681d2a/attachment.sig>
Timo Sirainen
2015-May-13 16:45 UTC
dovecot-lda panics when postmaster_address is given on command line
On 12 May 2015, at 11:50, Onno Molenkamp <onno at flox.org> wrote:> > Hi, > > When passing a postmaster_address to dovecot-lda on the command line > with -o, it panics: > > $ ./dovecot-lda -o postmaster_address=anything > > lda(onno,)Panic: file lda-settings.c: line 80 (lda_settings_check): > assertion failed: (set->postmaster_address[0] => SETTING_STRVAR_UNEXPANDED[0]) > > It looks like postmaster_address has already been expanded at that point > when it's given on the command line. (set->postmaster_address[0] is "1")Fixed: http://hg.dovecot.org/dovecot-2.2/rev/25dc311a5faa