[ezmlm-www] Error: Unable to access mailing list
Brought to you by:
alexrj
From: fatin RZ <fa...@ya...> - 2008-07-11 13:19:17
|
hi, Yesterday when i saw following error i thought that i would overcome it ..Because the message was saying everything. "Error: Unable to access mailing list ma...@ma.... Its directory may not exist, or the webserver may not have appropriate permissions to read archives, or the mailing list may not be both archived and indexed (as required). powered by ezmlm-www (v1.4.4)" , after some googling and hard work on installation all the night i decided to ask help from you ..Because i couldnt figure out where did i make mistake.. Would you please help me? Regards ----------------------------------------------------------------- list dir Permissions ----------------------------------------------------------------- [root@smtp src]# ls -all /home/vpopmail/domains/market.com/lists/market1/ drwxrwx--- 9 vpopmail apache 4096 2008-07-11 15:01 . drwxr----- 4 vpopmail apache 4096 2008-07-11 02:02 .. drwxr----- 3 vpopmail apache 4096 2008-07-11 02:02 allow drwxrwx--- 6 vpopmail apache 4096 2008-07-11 02:03 archive -rw------- 1 vpopmail apache 0 2008-07-11 15:07 archived -rw-r--r-- 1 vpopmail vchkpw 2 2008-07-11 08:42 archnum drwxr----- 2 vpopmail apache 4096 2008-07-11 02:02 bounce -rw-r----- 1 vpopmail apache 127 2008-07-11 15:07 bouncer drwxr----- 3 vpopmail apache 4096 2008-07-11 02:02 deny -rw-r----- 1 vpopmail apache 1 2008-07-11 15:07 digestcode -rw-r----- 1 vpopmail apache 60 2008-07-11 15:07 dot -rw-r----- 1 vpopmail apache 636 2008-07-11 15:07 editor -rw-r----- 1 vpopmail apache 1 2008-07-11 15:07 ezmlmrc -rw-r----- 1 vpopmail apache 28 2008-07-11 15:07 flags -rw-r----- 1 vpopmail apache 241 2008-07-11 02:02 headeradd -rw-r----- 1 vpopmail apache 144 2008-07-11 02:02 headerremove -rw------- 1 vpopmail apache 0 2008-07-11 15:07 indexed -rw-r--r-- 1 vpopmail apache 20 2008-07-11 15:07 inlocal -rw-r----- 1 vpopmail apache 160 2008-07-11 02:02 key -rw-r----- 1 vpopmail apache 0 2008-07-11 15:07 lock -rw-r----- 1 vpopmail apache 0 2008-07-11 15:07 lockbounce -rw-r----- 1 vpopmail apache 85 2008-07-11 02:03 Log -rw-r----- 1 vpopmail apache 312 2008-07-11 15:07 manager drwxr----- 7 vpopmail apache 4096 2008-07-11 02:02 mod -rw-r--r-- 1 vpopmail apache 1 2008-07-11 15:07 msgsize -rw-r--r-- 1 vpopmail vchkpw 4 2008-07-11 08:42 num -rw-r----- 1 vpopmail apache 18 2008-07-11 15:07 outhost -rw-r----- 1 vpopmail apache 11 2008-07-11 15:07 outlocal -rw-r----- 1 vpopmail apache 161 2008-07-11 15:07 owner -rw-r----- 1 vpopmail apache 0 2008-07-11 15:07 public drwxr-xr-x 2 vpopmail apache 4096 2008-07-11 02:49 search drwxr----- 2 vpopmail apache 4096 2008-07-11 02:03 subscribers -rw-r--r-- 1 vpopmail apache 12288 2008-07-11 02:02 webnames ----------------------------------------------------------------------- config.pm ----------------------------------------------------------------------- [root@smtp src]# cat /var/www/html/mailinglists/config.pm #--------------------------------------------------------------------------- # ezmlm-www (configuration file - see README) #--------------------------------------------------------------------------- #--------------------------------------------------------------------------- #-- Mailing list configuration goes here: push @$lists, { name => 'ma...@ma...', local_part => 'market', host_part => 'market.com', description => 'My first list', archive => Mail::Ezmlm::Archive->new('/home/vpopmail/domains/market.com/lists/market1/'), conceal_senders => 1, subscription_info => 1, descending_by_default => 1, default_sorting => 'thread', #may be 'thread', 'date' or 'subject' show_html => 1, highlight => 1, show_inline_images => 1 }; # # To add more lists, just copy-and-paste the previous block #Êas many times as many lists you have. # # push @$lists, { # name => 'ano...@ex...', # local_part => 'another-list', # host_part => 'example.com', # description => 'My second list', # archive => Mail::Ezmlm::Archive->new('/path/to/other/list/directory'), # conceal_senders => 1, # subscription_info => 1, # descending_by_default => 1 # default_sorting => 'thread', #may be 'thread', 'date' or 'subject' # show_html => 1, # highlight => 1, # show_inline_images => 1 # }; # #--------------------------------------------------------------------------- #-- This option specifies the language used for localized strings: $lang = 'en'; #--------------------------------------------------------------------------- #-- To enable vpopmail support just uncomment the following line: #-- (this will disable the configuration done with the "push @$lists" #-- syntax above, as all information will be taken from vpopmail local #-- database and the %Config defaults below.) use vpopmail; #--------------------------------------------------------------------------- #--Additional configuration options: %Config = ( ListServerName => 'List Server', #--These settings will be used for vpopmail-based mailing lists: DefaultVpopmailSettings => { conceal_senders => 1, subscription_info => 1, descending_by_default => 1, default_sorting => 'thread', #may be 'thread', 'date' or 'subject' show_html => 1, highlight => 1 }, VpopmailAccess => { default_policy => 'allow', allow_lists => [], deny_lists => [], allow_domains => [], deny_domains => [] }, #--CSS web path: CSSPath => 'style.css' ); 1; -------------------------------------------------------------------------------------------- a part of the ezmlm-www-pl (which i made some updates instructed in README files) -------------------------------------------------------------------------------------------- BEGIN { if ($MOD_PERL = $ENV{MOD_PERL} =~ /mod_perl/) { # if you're running under mod_perl, you must write # here your directory path to this script (just the # directory name, without the trailing slash): # $BASE_PATH = '/var/www/html/mailinglists'; # } else { use FindBin; $FindBin::Bin =~ m/^(.*)$/; $BASE_PATH = $1; } # init configuration $lists = []; eval { require "$BASE_PATH/config.pm" } || die("Failed to load configuration ($@)"); # require language file $Config{Lang} ||= $lang; eval { require "$BASE_PATH/lang/$Config{Lang}.pm" } || die("Failed to load language file for '$Config{Lang}' language."); # set default English strings eval { package EzmlmWww::Lang::En; use vars '$STRINGS'; do "$main::BASE_PATH/lang/en.pm"; }; $STRINGS->{$_} ||= $EzmlmWww::Lang::En::STRINGS->{$_} for keys %$EzmlmWww::Lang::En::STRINGS; # set other default options $Config{CSSPath} ||= 'style.css'; $Config{URL} ||= "http://$ENV{HTTP_HOST}$ENV{SCRIPT_NAME}"; search => 'kinosearch', search_dir => '/home/vpopmail/domains/market.com/lists/market1/search' --------------------------------------------------------------- My www folder and permissions ---------------------------------------------------------------- [root@smtp src]# ls -al /var/www/html/mailinglists/ total 84 drwxr-xr-x 4 root root 4096 2008-07-11 15:38 . drwxr-xr-x 6 root root 4096 2008-07-11 02:07 .. -rw-rwxr-- 1 root root 3101 2008-07-11 02:10 Changelog -rw-rwxrwx 1 apache apache 2487 2008-07-11 14:48 config.pm -rwxr-xr-x 1 root root 25165 2008-07-11 13:23 ezmlm-www.pl -rwxr-xr-x 1 vpopmail apache 6694 2008-07-11 02:10 index.cgi -rw-r--r-- 1 root root 64 2008-07-11 02:10 index.cgi.c drwxr-xr-x 2 root root 4096 2008-07-11 02:10 lang -rw-r--r-- 1 root root 4665 2008-07-11 02:10 README -rw-r--r-- 1 root root 832 2008-07-11 02:10 README.mod_perl -rw-r--r-- 1 root root 2171 2008-07-11 02:10 README.search drwxr-xr-x 2 root root 4096 2008-07-11 02:10 search -rwxr-xr-x 1 root root 1376 2008-07-11 02:10 style.css --------------------------------------------------------------- /home/vpopmail/domains/market.com/lists/market1/archive folder --------------------------------------------------------------- [root@smtp src]# ls -all /home/vpopmail/domains/market.com/lists/market1/archive total 24 drwxrwx--- 6 vpopmail apache 4096 2008-07-11 02:03 . drwxrwx--- 9 vpopmail apache 4096 2008-07-11 15:01 .. drwxrwxr-x 2 vpopmail vchkpw 4096 2008-07-11 08:42 0 drwxrwxr-x 3 vpopmail vchkpw 4096 2008-07-11 02:03 authors -rw-rwx--- 1 vpopmail vchkpw 0 2008-07-11 02:03 lock drwxrwxr-x 4 vpopmail vchkpw 4096 2008-07-11 08:42 subjects drwxrwxr-x 2 vpopmail vchkpw 4096 2008-07-11 08:42 threads ------------------------------------------------------------------- httpd error_log ------------------------------------------------------------------- [Fri Jul 11 15:16:52 2008] [error] [client 127.0.0.1] Premature end of script headers: style.css, referer: http://127.0.0.1/mailinglists/index.cgi?ma...@ma... [Fri Jul 11 15:16:52 2008] [error] [client 127.0.0.1] (8)Exec format error: exec of '/var/www/html/mailinglists/style.css' failed, referer: http://127.0.0.1/mailinglists/index.cgi?ma...@ma... |