Hi,

I just installed a new Mailman (2.1.12) server on Centos 6.4. I used the POSTFIX_ALIAS_CMD mechanism to automatically process the aliases even though I am using Sendmail (8.14.4). I have it invoking:
        /usr/bin/sudo /etc/mail/import-mailman-aliases
which runs:
        /bin/cp /etc/mailman/aliases /etc/mail/mailman.aliases
        /usr/bin/newaliases
(This idea came from: http://wiki.list.org/display/DOC/Integrating+Mailman+with+Sendmail+-+Method+2)

This works, but I noticed that it invokes newalias once for each Mailman list. This seems to be because genaliases runs the command once with one list, then again with two lists, again with three, etc. until all the lists are processed.

I am concerned that if I add a new list to Mailman just as email is coming in then it could be rejected because many of the aliases will not exist for a short time.

Does anyone know of a way to only do the newalias command when the supplied file is complete? Or can the genaliases mechanism build the whole file before calling the POSTFIX_ALIAS_CMD just once at the end?


--
Gary Algier, WB2FWZ          gaa at ulticom.com             +1 856 787 2758
Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054      Fax:+1 856 866 2033

Nielsen's First Law of Computer Manuals:
    People don't read documentation voluntarily.
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to