NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Expanding email aliases



Steffen Nurpmeso wrote in
 <20220726221641.9sWt-%steffen%sdaoden.eu@localhost>:
 |Steffen Nurpmeso wrote in
 | <20220726174554.l93yH%steffen%sdaoden.eu@localhost>:
 ||Martin Neitzel wrote in
 || <20220726172558.1760B34893%marshlabs-mx.gaertner.de@localhost>:
 |||SB> Is there a simple way of expanding an email alias, [...]
 ...
 |  Unfortunately, while implementing it, i found a dictionary
 |  iterator bug that makes `mtaalias' as released flaky as it will
 |  potentially store the pointer to a wrong alias name in its
 |  name<->expansion map (it stores the pointer into dict[*][0], not
 |  to the actual node which is not necessarily [0] but could also
 |  be [1..X-1]), which is why the test did not catch the bug.

  P.S.: the error is only in the visual output of `mtaalias', not
        when expanding MTA aliases when sending mails.

  ...

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Home | Main Index | Thread Index | Old Index