Re: [Mailman-Users] Recovering the virtual-mailman file
On Monday 27 September 2004 12:28 am, Jim Tittsler wrote:
On Sep 27, 2004, at 05:10, Eric Pretorious wrote:
I ran
bin/genaliases
this morning and it emptied my data/virtual-mailman file. Is there any way to recover this file?bin/genaliases should be able to build it for you.
(Do you have MTA='Postfix' and POSTFIX_STYLE_VIRTUAL_DOMAINS set correctly for your configuration in your mm_cfg.py file? If you are using the Postifix style virtual domains, make sure the domain names match those you've added in your mm_cfg.py. See the README.POSTFIX documentation.)
Hi, Jim:
Yes - the settings are correct. (Mailman has been handling lists for three different virtual domains with Postfix for a while now.)
bin/genaliases
destroyed the data/virtual-mailman file so now when I run
bin/genaliases
it complains...
mailman # bin/genaliases postmap: fatal: open /usr/local/mailman/data/virtual-mailman.db: Permission denied Traceback (most recent call last): File "bin/genaliases", line 116, in ? main() File "bin/genaliases", line 106, in main MTA.create(mlist, nolock=True, quiet=quiet) File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 232, in create _update_maps() File "/usr/local/mailman/Mailman/MTA/Postfix.py", line 60, in _update_maps raise RuntimeError, msg % (vcmd, status, errstr) RuntimeError: command failed: /usr/sbin/postmap /usr/local/mailman/data/virtual-mailman (status: 1, Operation not permitted)
-- Eric P., Sunnyvale, CA
participants (1)
-
Eric Pretorious