[Bug 266408] Re: genaliases on Postfix is inefficient and can cause bounces

Mark Sapiro mark at msapiro.net
Sat Apr 16 17:48:57 CEST 2011


> and call "MTA.create(None, quiet=quiet)" once more before
>     os.umask(omask)
> in bin/genaliases

Has this been tested? It looks like this will be a deadlock because
genaliases has the lock at this point and MTA,create tries to obtain it.
It seems that things need to be rearranged to

    finally:
        lock.unlock(unconditionally=True)
        MTA.create(None, quiet=quiet)
        os.umask(omask)


** Changed in: mailman
       Status: New => In Progress

** Changed in: mailman
    Milestone: 2.1-stable => 2.1.15

** Changed in: mailman
     Assignee: (unassigned) => Mark Sapiro (msapiro)

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/266408

Title:
  genaliases on Postfix is inefficient and can cause bounces


More information about the Mailman-coders mailing list