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

Eric Pretorious eric at pretorious.net
Thu Sep 30 22:09:20 CEST 2004


On Tuesday 28 September 2004 04:34 am, Tom Diehl wrote:
>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??

Yes - of course I *read* the error message above. I just didn't *understand* 
the error message above.  ;)

Thanks - you were right. Somehow the file's owner had been changed from 
mailman to apache.

-- 
Eric P.,
Sunnyvale, CA



More information about the Mailman-Users mailing list