[Mailman-Users] Recovering the virtual-mailman file

Eric Pretorious ericp at he.net
Tue Sep 28 07:35:18 CEST 2004

On Sunday 26 September 2004 01:10 pm, 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? e.g.,
> maybe from the data/virtual-mailman.db file?

When I execute `bin/genaliases` now, it complains...

>mailman # bin/genaliases
>postmap: fatal: open /usr/local/mailman/data/virtual-mailman.db: Permission 
>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)

How can I recover from this?

Eric P.

More information about the Mailman-Users mailing list