Menu

#1 Editing module config file does not seem to work

open
nobody
None
5
2003-12-31
2003-12-31
No

I have a RedHat-8.0 system which puts Mailman in
/var/mailman. So I installed the first Webmin Module
for Mailman and edited the
/usr/libexec/webmin/mailman/config file to look like
this (I do use postfix):

listdir=/var/mailman
newlist_exec=/var/mailman/bin/newlist
rmlist_exec=/var/mailman/bin/rmlist
newaliases_command=/usr/bin/newaliases
aliases_file=/etc/postfix/aliases
exec_as_user=mailman

Webmin still gives me this error message:
Cannot find Mailman files! Do you have Mailman installed?

Mailman does work.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    try to
    newaliases_command=/var/mailman/bin/newaliases

    It works for me
    :)

     
  • Nobody/Anonymous

    Logged In: NO

    There are two different configuration files. One is found in the module package and sits next to a file called config.info. If you are editing that one then go find the other config file.

    I am using FreeBSD so I'm not sure where you can find that other configuration file at, in my case I found it in /usr/local/etc/webmin/mailman and there was the config file. If you can't find it then you'll have to grep the entire file system for something like rmlist_exec to find the config file that's in need of editing. Perhaps to make life easier use the locate command 'locate mailman' and see what pops up, then grep those areas recursively.

    Try the following first:
    1) Open your browser to main webmin page
    2) navigate to this URL as part of the webmin URL config.cgi?mailman (this should bring up the configuration for mailman. Gee thanks app developer for not letting me in to the configuration in the first place)
    3) Try to save the changes.
    4) Close your browser
    5) Open again, then try getting in to mailman, hopefully it works.

    If it doesn't work then...

    Try temporarily disabling the error message within webmin/mailman by editing index.cgi and finding the line
    $listdirec = getMMListDir() || error($text{erNotFound});
    change to
    $listdirec = getMMListDir();
    # preserving what should be at the end of the above line.
    # || error($text{erNotFound});

    Once you edit the above file index.cgi file browse to the mailman module in webmin, hopefully you can then get in and change the module settings. Then go back in to index.cgi and put the error line back where it is suppose to be.

    All the above worked for me, I tested it out with success. If it doesn't work then dunno what's going on.

     

Log in to post a comment.

MongoDB Logo MongoDB