[Mailman-Users] Re: Recovering the virtual-mailman file

Tom Diehl tdiehl at rogueind.com
Tue Sep 28 13:34:57 CEST 2004


On Mon, 27 Sep 2004, Eric Pretorious wrote:

> 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 
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> 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)
     ^^^^^^^^^^^^^^^^^^^^^^^^
     ^^^^^^^^^^^^^^^^^^^^^^^^

> 
> How can I recover from this?

Fix the permissions/ownership of virtual-mailman. Did you actually read the
error message above??

HTH,

Tom



More information about the Mailman-Users mailing list