FAQ
Hello all,

I have noticed in my mailman logs an entry like this, which comes
repeatedly, and not just for one particular list. My question is, what is
posting to the list from the listname-owner that is causing this?

Aug 19 12:13:16 2010 (12806) post to yspnetwork from
listname-owner at mydomain.com size047, message-id=<
mailman.245.1282239915.26781.listname at mydomain.com>, 1 failures


--
Christopher Adams
adamsca at gmail.com

Search Discussions

  • Mark Sapiro at Aug 20, 2010 at 12:13 am

    Christopher Adams wrote:
    I have noticed in my mailman logs an entry like this, which comes
    repeatedly, and not just for one particular list. My question is, what is
    posting to the list from the listname-owner that is causing this?

    Aug 19 12:13:16 2010 (12806) post to yspnetwork from
    listname-owner at mydomain.com size047, message-id=<
    mailman.245.1282239915.26781.listname at mydomain.com>, 1 failures

    That's from the post log. There should also be a message in the
    smtp-failure log of form 'delivery to %(recipient)s failed with code
    %(failcode)d: %(failmsg)s' giving more specific information about the
    failed recipient and reason.

    The sender and message-id in the log message you quote indicate that
    this is a Mailman generated message, not a post, possibly a notice of
    a held post or a response to a message to listname-request, etc.

    Most likely the original messages are spam and Mailman is sending some
    response to the sender of the spam and your MTA is rejecting the
    response recipient.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Scott Race at Aug 20, 2010 at 5:48 pm
    Hello,
    I am running Mailman 2.1.13 on a new server (no live lists yet), server OS is RHEL5.
    I have one test list configured and was working fine before installing htdig 3.2.0b6.

    Applied both the indexing (444879) patch followed by the htdig (444884) patch to my 2.1.13 source directory, ran ./configure --with-cgi-gid=apache (as my install complains if I do not), then make and make install.

    First issue - after doing this, I am unable to post new messages to my test list. I see the email comes into the server via maillog log, but no post, nothing in mailq. Nothing is /mailman/logs/error either. Not sure where it's going.

    Second - htdig seems like it's almost there, but when I run a search, I get:

    htsearch detected an error.

    Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db'
    Did you run htdig?

    I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to.

    htsearch returns same error above from command line (about did you run htdig).

    Rebooted server just to see, no effect.

    Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned:
    htdig'ing archive of list: mailman_project

    now, only problem is when I do a search - it returns a blank page.

    Thanks in advance for anyone's help, been working on this for awhile and feel like I'm pretty close.
    Thanks.
    Scott
  • Karl Zander at Aug 20, 2010 at 10:25 pm

    On Fri, 20 Aug 2010 10:48:52 -0700 Scott Race wrote:

    Second - htdig seems like it's almost there, but when I run a search, I get:

    htsearch detected an error.

    Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db'
    Did you run htdig?

    I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to.

    htsearch returns same error above from command line (about did you run htdig).

    Rebooted server just to see, no effect.

    Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned:
    htdig'ing archive of list: mailman_project

    now, only problem is when I do a search - it returns a blank page.

    Are there any messages in the archive? Is there anything unique you can search for?


    Do you have a htdig conf file for the list in
    /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf

    What's in mailman_project.conf?

    --Karl
  • Scott Race at Aug 20, 2010 at 10:27 pm
    Hi Karl,
    Yes, I do have the mailman_project.conf file in the location show below, here it is - also, it's owned by root:mailman with 664 permissions:

    database_dir: /usr/local/mailman/archives/private/mailman_project/htdig
    start_url: http://lists2.cacities.org/mailman/htdig/mailman_project/
    limit_urls_to: ${start_url}
    local_urls: http://lists2.cacities.org/mailman/htdig/mailman_project/=/usr/local/mailman/archives/private/mailman_project/
    local_urls_only: true
    url_part_aliases: http://lists2.cacities.org/mailman/htdig/mailman_project/ *mm-htdig*
    script_name: http://lists2.cacities.org/mailman/mmsearch/mailman_project
    noindex_end: <!--/htdig_noindex-->
    noindex_start: <!--htdig_noindex-->
    exclude_urls: /cgi-bin/ .cgi
    bad_extensions: .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \

    thanks
    Scott

    -----Original Message-----
    From: Karl Zander [mailto:kwz-mm at commpartners.com]
    Sent: Friday, August 20, 2010 3:25 PM
    To: Scott Race; mailman-users at python.org
    Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig

    On Fri, 20 Aug 2010 10:48:52 -0700
    Scott Race wrote:
    Second - htdig seems like it's almost there, but when I run a search, I get:

    htsearch detected an error.

    Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db'
    Did you run htdig?

    I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to.

    htsearch returns same error above from command line (about did you run htdig).

    Rebooted server just to see, no effect.

    Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned:
    htdig'ing archive of list: mailman_project

    now, only problem is when I do a search - it returns a blank page.

    Are there any messages in the archive? Is there anything unique you can search for?


    Do you have a htdig conf file for the list in
    /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf

    What's in mailman_project.conf?

    --Karl
  • Karl Zander at Aug 20, 2010 at 10:44 pm

    On Fri, 20 Aug 2010 15:27:17 -0700 Scott Race wrote:
    Hi Karl,
    Yes, I do have the mailman_project.conf file in the location show below, here it is - also, it's owned by root:mailman with 664 permissions:
    OK...
    Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db'
    Did you run htdig?

    Do you see any of the db. files in
    /usr/local/mailman/archives/private/mailman_project/htdig

    You should have

    db.docdb
    db.docs.index
    db.wordlist
    db.words.db

    And after the cron script runs, you should also have

    rundig_last_run


    --Karl
  • Karl Zander at Aug 20, 2010 at 11:05 pm

    On Fri, 20 Aug 2010 15:54:21 -0700 Scott Race wrote:
    Yes, I have:

    db.docdb
    db.docs.index
    db.excerpts
    db.metaphone.db
    db.soundex.db
    db.words.db
    db.words.db_weacmpr
    mailman_project.conf
    rundig_last_run (date stamped today at 10:46am when I ran the cron script)

    Running htsearch from command line gives me:

    [root at list bin]# htsearch -c /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf
    Enter value for words: test
    Content-type: text/html

    Enter value for format: short
    [root at lists2 bin]#

    Do you have a message in the archives with the word "test"? That's pretty generic. I am trying to recall if htdig would omit that.

    Can you send a message to the list with some unique content? Even Lorem Ipsum would do. May some quotes for Shakespeare. Rerun the cron script.

    Do you see the search form on your list archives when you log into your list URL?

    --Karl
  • Scott Race at Aug 21, 2010 at 4:07 am
    Any search returns the same blank page, I did try a few more posts and searched for the term 'error' and my name.

    Rerunning the cron script now gives the following, even though I sent a post about 1 minute before running the cron script and it posted to the list....

    [root at lists2 cron]# ./nightly_htdig -v mailman_project
    Skipping htdig for list; no recent posts: mailman_project

    -----Original Message-----
    From: Karl Zander [mailto:kwz-mm at commpartners.com]
    Sent: Friday, August 20, 2010 4:06 PM
    To: Scott Race
    Cc: mailman-users at python.org
    Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig

    On Fri, 20 Aug 2010 15:54:21 -0700
    Scott Race wrote:
    Yes, I have:

    db.docdb
    db.docs.index
    db.excerpts
    db.metaphone.db
    db.soundex.db
    db.words.db
    db.words.db_weacmpr
    mailman_project.conf
    rundig_last_run (date stamped today at 10:46am when I ran the cron script)

    Running htsearch from command line gives me:

    [root at list bin]# htsearch -c /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf
    Enter value for words: test
    Content-type: text/html

    Enter value for format: short
    [root at lists2 bin]#

    Do you have a message in the archives with the word "test"? That's pretty generic. I am trying to recall if htdig would omit that.

    Can you send a message to the list with some unique content? Even Lorem Ipsum would do. May some quotes for Shakespeare. Rerun the cron script.

    Do you see the search form on your list archives when you log into your list URL?

    --Karl
  • Mark Sapiro at Aug 21, 2010 at 1:12 pm

    On 8/20/2010 9:07 PM, Scott Race wrote:
    Any search returns the same blank page, I did try a few more posts
    and searched for the term 'error' and my name.

    See below:

    Rerunning the cron script now gives the following, even though I sent
    a post about 1 minute before running the cron script and it posted to
    the list....

    [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig
    for list; no recent posts: mailman_project

    This should only occur if there is no
    archives/private/mailman_project/yyyy-Month/ directory with a mod time
    more recent than archives/private/mailman_project/htdig/rundig_last_run.
    When you post, is the post archived? Does the mod time of
    archives/private/mailman_project/2010-August get updated?


    Running htsearch from command line gives me:

    [root at list bin]# htsearch -c
    /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf

    Enter value for words: test
    Content-type: text/html

    This is normal/correct to here.

    Enter value for format: short [root at lists2 bin]#

    This should produce some HTML output following your input of 'short'.
    There is some problem with htsearch or the mailman_project.conf file.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Scott Race at Aug 23, 2010 at 9:23 pm
    I think I am having a problem with the htdig seach templates. On my old installation, I had a bunch of .html files in /etc/htdig - short.html, wrapper.html, etc....those files do not exist on my new installation.

    I copied them over from the old server to the new, rebooted, but same issue with a blank search page. I checked the /etc/htdig/htdig.conf file and it says the common directory is /usr/share/htdig - that directory does not exist for me.

    So I hacked my .conf file in /usr/local/mailman/htdig to point directly to the templates that I copied over:


    template_map: Long long /etc/htdig/long.html \
    Short short /etc/htdig/short.html

    template_name: short


    I do indeed get search results now. The results are not pretty - images don't appear and a few other problems - but - I get something.

    Any basic tips to fix my templates or maybe what might be wrong with my common_dir variable?

    Thanks!


    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Saturday, August 21, 2010 6:13 AM
    To: Scott Race
    Cc: Karl Zander; mailman-users at python.org
    Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig
    On 8/20/2010 9:07 PM, Scott Race wrote:
    Any search returns the same blank page, I did try a few more posts
    and searched for the term 'error' and my name.

    See below:

    Rerunning the cron script now gives the following, even though I sent
    a post about 1 minute before running the cron script and it posted to
    the list....

    [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig
    for list; no recent posts: mailman_project

    This should only occur if there is no
    archives/private/mailman_project/yyyy-Month/ directory with a mod time
    more recent than archives/private/mailman_project/htdig/rundig_last_run.
    When you post, is the post archived? Does the mod time of
    archives/private/mailman_project/2010-August get updated?


    Running htsearch from command line gives me:

    [root at list bin]# htsearch -c
    /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf

    Enter value for words: test
    Content-type: text/html

    This is normal/correct to here.

    Enter value for format: short [root at lists2 bin]#

    This should produce some HTML output following your input of 'short'.
    There is some problem with htsearch or the mailman_project.conf file.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Aug 24, 2010 at 4:12 am

    On 8/23/2010 2:23 PM, Scott Race wrote:
    I think I am having a problem with the htdig seach templates. On my
    old installation, I had a bunch of .html files in /etc/htdig -
    short.html, wrapper.html, etc....those files do not exist on my new
    installation.

    IIRC, I had the same problem when I updated htdig from 3.1.6 to 3.2.0b6

    I copied them over from the old server to the new, rebooted, but same
    issue with a blank search page. I checked the /etc/htdig/htdig.conf
    file and it says the common directory is /usr/share/htdig - that
    directory does not exist for me.

    So I hacked my .conf file in /usr/local/mailman/htdig to point
    directly to the templates that I copied over:


    template_map: Long long /etc/htdig/long.html \ Short short
    /etc/htdig/short.html

    template_name: short


    I do indeed get search results now. The results are not pretty -
    images don't appear and a few other problems - but - I get
    something.

    Any basic tips to fix my templates or maybe what might be wrong with
    my common_dir variable?

    You need a common_dir. It doesn't matter what its name is. Mine is
    /opt/www/share/htdig, but what ever it is it needs to contain things
    similar to mine

    [mark at sbh16 ~]$ ls -l /opt/www/share/htdig
    total 6072
    -rw-r--r-- 1 root root 76 Dec 26 2008 bad_words
    -rw-r--r-- 1 root root 922950 Dec 26 2008 english.0
    -rw-r--r-- 1 root root 5756 Dec 26 2008 english.aff
    -rw-r--r-- 1 root root 190 Dec 26 2008 footer.html
    -rw-r--r-- 1 root root 877 Dec 26 2008 header.html
    -rw-r--r-- 1 root root 194 Dec 26 2008 long.html
    -rw-r--r-- 1 root root 1390 Dec 26 2008 nomatch.html
    -rw-r--r-- 1 root root 2228224 Dec 26 2008 root2word.db
    -rw-r--r-- 1 root root 67 Dec 26 2008 short.html
    -rw-r--r-- 1 root root 14480 Dec 26 2008 synonyms
    -rw-r--r-- 1 root root 90112 Dec 26 2008 synonyms.db
    -rw-r--r-- 1 root root 1261 Dec 26 2008 syntax.html
    -rw-r--r-- 1 root root 2899968 Dec 26 2008 word2root.db
    -rw-r--r-- 1 root root 1087 Dec 26 2008 wrapper.html
    [mark at sbh16 ~]$

    You also need the graphics in the directory accessed by HTDIG_FILES_URL.
    In my case, this directory is /opt/www/htdocs/htdig/, HTDIG_FILES_URL is
    the default '/htdig/' and I have

    Alias /htdig/ "/opt/www/htdocs/htdig/"

    in httpd.conf. The contents of this directory are

    [mark at sbh16 ~]$ ls -l /opt/www/htdocs/htdig/
    total 124
    -rw-r--r-- 1 root root 781 Dec 26 2008 button10.gif
    -rw-r--r-- 1 root root 1527 Dec 26 2008 button10.png
    -rw-r--r-- 1 root root 755 Dec 26 2008 button1.gif
    -rw-r--r-- 1 root root 1428 Dec 26 2008 button1.png
    -rw-r--r-- 1 root root 785 Dec 26 2008 button2.gif
    -rw-r--r-- 1 root root 1518 Dec 26 2008 button2.png
    -rw-r--r-- 1 root root 745 Dec 26 2008 button3.gif
    -rw-r--r-- 1 root root 1404 Dec 26 2008 button3.png
    -rw-r--r-- 1 root root 786 Dec 26 2008 button4.gif
    -rw-r--r-- 1 root root 1534 Dec 26 2008 button4.png
    -rw-r--r-- 1 root root 780 Dec 26 2008 button5.gif
    -rw-r--r-- 1 root root 1519 Dec 26 2008 button5.png
    -rw-r--r-- 1 root root 791 Dec 26 2008 button6.gif
    -rw-r--r-- 1 root root 1538 Dec 26 2008 button6.png
    -rw-r--r-- 1 root root 796 Dec 26 2008 button7.gif
    -rw-r--r-- 1 root root 1522 Dec 26 2008 button7.png
    -rw-r--r-- 1 root root 784 Dec 26 2008 button8.gif
    -rw-r--r-- 1 root root 1529 Dec 26 2008 button8.png
    -rw-r--r-- 1 root root 784 Dec 26 2008 button9.gif
    -rw-r--r-- 1 root root 1526 Dec 26 2008 button9.png
    -rw-r--r-- 1 root root 587 Dec 26 2008 buttonl.gif
    -rw-r--r-- 1 root root 1328 Dec 26 2008 buttonl.png
    -rw-r--r-- 1 root root 576 Dec 26 2008 buttonr.gif
    -rw-r--r-- 1 root root 1329 Dec 26 2008 buttonr.png
    -rw-r--r-- 1 root root 1822 Dec 26 2008 htdig.gif
    -rw-r--r-- 1 root root 2857 Dec 26 2008 htdig.png
    -rw-r--r-- 1 root root 1315 Dec 26 2008 search.html
    -rw-r--r-- 1 root root 53 Dec 26 2008 star_blank.gif
    -rw-r--r-- 1 root root 151 Dec 26 2008 star_blank.png
    -rw-r--r-- 1 root root 89 Dec 26 2008 star.gif
    -rw-r--r-- 1 root root 195 Dec 26 2008 star.png
    [mark at sbh16 ~]$

    In addition, you need a template from which the individual
    archives/private/LIST/htdig/LIST.conf files are made. The patches
    install this in $prefix/templates/en/htdig.conf.txt. I do not change
    this but rather make a sitewide edited template in
    $prefix/templates/site/en/htdig.conf.txt. Attached is a patch to make my
    version.

    The differences between my version and the base are

    - addition of common_dir - adjust to suit

    - removal of redundant slash following %(htdig_url)s

    - collapsing of the button1.gif through button10.gif names to button%%d.gif

    Note that editing this template only affects subsequently created lists
    or archives subsequently rebuilt with "bin/arch --wipe". For existing
    lists, you either have to rebuild the archive or edit the
    $var-prefix/archives/private/LIST/htdig/LIST.conf file.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: htdig_conf.txt.patch.txt
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20100823/e8c2b4f7/attachment.txt>
  • Odhiambo Washington at Aug 27, 2010 at 7:54 pm

    On Sat, Aug 21, 2010 at 4:12 PM, Mark Sapiro wrote:
    On 8/20/2010 9:07 PM, Scott Race wrote:
    Any search returns the same blank page, I did try a few more posts
    and searched for the term 'error' and my name.

    See below:

    Rerunning the cron script now gives the following, even though I sent
    a post about 1 minute before running the cron script and it posted to
    the list....

    [root at lists2 cron]# ./nightly_htdig -v mailman_project Skipping htdig
    for list; no recent posts: mailman_project

    This should only occur if there is no
    archives/private/mailman_project/yyyy-Month/ directory with a mod time
    more recent than archives/private/mailman_project/htdig/rundig_last_run.
    When you post, is the post archived? Does the mod time of
    archives/private/mailman_project/2010-August get updated?


    Running htsearch from command line gives me:

    [root at list bin]# htsearch -c
    /usr/local/mailman/archives/private/mailman_project/htdig/mailman_project.conf
    Enter value for words: test
    Content-type: text/html

    This is normal/correct to here.

    Enter value for format: short [root at lists2 bin]#

    This should produce some HTML output following your input of 'short'.
    There is some problem with htsearch or the mailman_project.conf file.
    I have been following this thread and had hoped to find a solution to my
    problem, but seems it's ended without the answer I expected:-)
    In my situation (several live lists), I get this error when I make a search
    for a word I am very sure is there:


    <cut>
    htdig Archives Access Failure search failed -12-

    If you want to make another attempt to access a list archive then go via the
    list users information
    page<http://lists.kictanet.or.ke/mailman//listinfo/kictanet>.


    If this problem persists then please e-mail the following information to the
    mailman at lists.kictanet.or.ke:

    http://lists.kictanet.or.ke/pipermail/kictanet/
    /mailman/mmsearch/kictanet


    </cut>

    Here is the page (it is public anyway):
    http://lists.kictanet.or.ke/pipermail/kictanet/


    What could be the cause??

    I have Mailman-2.1.13.



    --
    Best regards,
    Odhiambo WASHINGTON,
    Nairobi,KE
    +254733744121/+254722743223
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    "If you have nothing good to say about someone, just shut up!."
    -- Lucky Dube
  • Scott Race at Aug 27, 2010 at 8:30 pm
    Hello,

    First, thanks for all the help with the htdig issues I had - finally resolved them, will post back shortly on what I found and did to correct.

    I am migrating lists from and old Debian server to a new Red Hat server, in the middle of it now and all lists are down til I can figure this out.

    I was able to move the lists successfully, the archives come up, they are searchable, list config works, etc.

    When posting to the list from a subscribed email, I receive an email back that the post is in moderation, which we expect. However, the message never reaches the moderation queue.

    Ive searched through the /mailman/logs and /var/log/maillog and havent found anything that jumps out at me. Rebooted the server and made sure mailmanctl was running?.any ideas on something I can check? I feel lke I am missing something simple.

    FYI - new lists works fine, its just the migrated lists.
    Thanks!
    Scott
  • Scott Race at Aug 27, 2010 at 9:12 pm
    Actually - this might be resolved. I am not sure what was causing it - I did find the DEFAULT_HOST in the Defaults.py set to the old server name - thought that would have been overriden by my correct entries in mm_cfg.py - but fixed and restarted the mailmanctl process and it appears to be working fine...

    -----Original Message-----
    From: mailman-users-bounces+scott�6networks.com at python.org [mailto:mailman-users-bounces+scott�6networks.com at python.org] On Behalf Of Scott Race
    Sent: Friday, August 27, 2010 1:30 PM
    To: mailman-users at python.org
    Subject: [Mailman-Users] Moved to new server - new mail not showing up in moderation

    Hello,

    First, thanks for all the help with the htdig issues I had - finally resolved them, will post back shortly on what I found and did to correct.

    I am migrating lists from and old Debian server to a new Red Hat server, in the middle of it now and all lists are down til I can figure this out.

    I was able to move the lists successfully, the archives come up, they are searchable, list config works, etc.

    When posting to the list from a subscribed email, I receive an email back that the post is in moderation, which we expect. However, the message never reaches the moderation queue.

    Ive searched through the /mailman/logs and /var/log/maillog and havent found anything that jumps out at me. Rebooted the server and made sure mailmanctl was running?.any ideas on something I can check? I feel lke I am missing something simple.

    FYI - new lists works fine, its just the migrated lists.
    Thanks!
    Scott
    ------------------------------------------------------
    Mailman-Users mailing list Mailman-Users at python.org
    http://mail.python.org/mailman/listinfo/mailman-users
    Mailman FAQ: http://wiki.list.org/x/AgA3
    Security Policy: http://wiki.list.org/x/QIA9
    Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
    Unsubscribe: http://mail.python.org/mailman/options/mailman-users/scott%40916networks.com
  • Mark Sapiro at Aug 28, 2010 at 4:09 am

    On 8/27/2010 2:12 PM, Scott Race wrote:
    Actually - this might be resolved. I am not sure what was causing it
    - I did find the DEFAULT_HOST in the Defaults.py set to the old
    server name - thought that would have been overriden by my correct
    entries in mm_cfg.py - but fixed and restarted the mailmanctl process
    and it appears to be working fine...

    There is no DEFAULT_HOST setting. If you mean DEFAULT_HOST_NAME, this
    should be set to None in Defaults.py and not changed in mm_cfg.py.

    If you mean DEFAULT_URL_HOST, the value in mm_cfg.py overrides that in
    Defaults.py provided the mm_cfg.py setting is followed by

    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST),

    but changing any of these should not affect an existing list. See the
    FAQs at <http://wiki.list.org/x/gIA9> and <http://wiki.list.org/x/mIA9>.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Aug 28, 2010 at 3:57 am

    Odhiambo Washington wrote:
    I have been following this thread and had hoped to find a solution to my
    problem, but seems it's ended without the answer I expected:-)
    In my situation (several live lists), I get this error when I make a search
    for a word I am very sure is there:


    <cut>
    htdig Archives Access Failure search failed -12- [...]
    What could be the cause??

    It means that the search form data were posted to the mmsearch wrapper
    and then to the mmsearch.py script which in turn set up a 2-way pipe
    to the htsearch command configured in Defaults.py/mm_cfg.py as
    HTDIG_HTSEARCH_PATH to actually perform the search, and htsearch
    terminated normally (exit status = 0) but wrote no output to the pipe.

    what happens if you run

    /path/to/htsearch \
    -c /path/to/archives/private/kictanet/htdig/kictanet.conf

    It should prompt for "words" which is your search word, then output a
    "Content-type: text/html" header followed by an empty line, then
    prompt for "format" (enter Short or Long), and finally output the html
    result.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Odhiambo Washington at Aug 28, 2010 at 9:58 am

    On Sat, Aug 28, 2010 at 6:57 AM, Mark Sapiro wrote:

    Odhiambo Washington wrote:
    I have been following this thread and had hoped to find a solution to my
    problem, but seems it's ended without the answer I expected:-)
    In my situation (several live lists), I get this error when I make a search
    for a word I am very sure is there:


    <cut>
    htdig Archives Access Failure search failed -12- [...]
    What could be the cause??

    It means that the search form data were posted to the mmsearch wrapper
    and then to the mmsearch.py script which in turn set up a 2-way pipe
    to the htsearch command configured in Defaults.py/mm_cfg.py as
    HTDIG_HTSEARCH_PATH to actually perform the search, and htsearch
    terminated normally (exit status = 0) but wrote no output to the pipe.

    what happens if you run

    /path/to/htsearch \
    -c /path/to/archives/private/kictanet/htdig/kictanet.conf

    It should prompt for "words" which is your search word, then output a
    "Content-type: text/html" header followed by an empty line, then
    prompt for "format" (enter Short or Long), and finally output the html
    result.
    Reading your response closely, I checked my mm_cfg.py and realized that
    my HTDIG_HTSEARCH_PATH was pointing to a non-existent path.
    Once I corrected this, the search started to work.
    However I had issues with broken icons which I also managed to fix.
    Apparently htdig installs its icons to /usr/local/www/icons/htdig/ so I just
    copied those to /usr/local/www/icons/, fixed any references in htdig.conf
    added an appropriate Redirect rule in Apache configuration:

    RedirectPermanent /htdig /icons

    These are as a result of how htdig installs on FreeBSD. Looking at the
    Makefile for the port, I see it was configured to put these things at the
    "wrong" places, i.e.

    --with-image-dir=${PREFIX}/www/icons/htdig \
    --with-image-url-prefix=/icons/htdig

    Thank you so much, because my searches now work.


    --
    Best regards,
    Odhiambo WASHINGTON,
    Nairobi,KE
    +254733744121/+254722743223
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    "If you have nothing good to say about someone, just shut up!."
    -- Lucky Dube
  • Scott Race at Aug 20, 2010 at 5:55 pm
    Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc...
    Thanks.

    -----Original Message-----
    From: Scott Race
    Sent: Friday, August 20, 2010 10:49 AM
    To: mailman-users at python.org
    Subject: Mailman and htdig - issues after installing htdig

    Hello,
    I am running Mailman 2.1.13 on a new server (no live lists yet), server OS is RHEL5.
    I have one test list configured and was working fine before installing htdig 3.2.0b6.

    Applied both the indexing (444879) patch followed by the htdig (444884) patch to my 2.1.13 source directory, ran ./configure --with-cgi-gid=apache (as my install complains if I do not), then make and make install.

    First issue - after doing this, I am unable to post new messages to my test list. I see the email comes into the server via maillog log, but no post, nothing in mailq. Nothing is /mailman/logs/error either. Not sure where it's going.

    Second - htdig seems like it's almost there, but when I run a search, I get:

    htsearch detected an error.

    Unable to read word database file '/usr/local/mailman/archives/private/mailman_project/htdig/db.words.db'
    Did you run htdig?

    I'm assuming I just need to run /usr/bin/rundig, which I have. Checkd the permissions against a post Mark had a little while back, mailman:mailman is what my db directory and files are set to.

    htsearch returns same error above from command line (about did you run htdig).

    Rebooted server just to see, no effect.

    Ran /cron/nightly_htdig -v mailman_project and it actually worked, returned:
    htdig'ing archive of list: mailman_project

    now, only problem is when I do a search - it returns a blank page.

    Thanks in advance for anyone's help, been working on this for awhile and feel like I'm pretty close.
    Thanks.
    Scott
  • Mark Sapiro at Aug 20, 2010 at 6:45 pm

    "Scott Race" wrote:
    Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc...
    Thanks.

    Have you started mailmanctl?


    --
    Mark Sapiro - mark at msapiro.net
    Sent from my Android phone with K-9 Mail. Please excuse my brevity.
  • Scott Race at Aug 20, 2010 at 9:24 pm
    Thank you Mark - looks like mailmanctl was not started, all is well after the start. However if I reboot I have to start mailmanctl manually now before mailman will work, thought something should make it autostart?

    And my last challenge is with htdig 3.2.0b6 - the search box is there, I can run /cron/nightly_htdig -v mailman_project from command line and it works - returns:
    htdig'ing archive of list: mailman_project

    Now, only problem is when I do a search - it just returns a blank page. I found a post in the mailman archives but did not see a resolution posted.

    thanks again!
    Scott

    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Friday, August 20, 2010 11:45 AM
    To: Scott Race; Scott Race; mailman-users at python.org
    Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig



    "Scott Race" wrote:
    Also, if I create a new list, no emails go out to the list owner to confirm the list creation, etc...
    Thanks.

    Have you started mailmanctl?


    --
    Mark Sapiro - mark at msapiro.net
    Sent from my Android phone with K-9 Mail. Please excuse my brevity.
  • Mark Sapiro at Aug 21, 2010 at 1:14 am

    On 8/20/2010 2:24 PM, Scott Race wrote:
    Thank you Mark - looks like mailmanctl was not started, all is well
    after the start. However if I reboot I have to start mailmanctl
    manually now before mailman will work, thought something should make
    it autostart?

    In the download directory after ./configure, there is a shell script
    misc/mailman. See this file and the instructions at the beginning.

    And my last challenge is with htdig 3.2.0b6 - the search box is
    there, I can run /cron/nightly_htdig -v mailman_project from command
    line and it works - returns: htdig'ing archive of list:
    mailman_project

    Now, only problem is when I do a search - it just returns a blank
    page. I found a post in the mailman archives but did not see a
    resolution posted.

    What is the URL of the returned page? What is in your apache error log
    and Mailman's error log?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Scott Race at Aug 21, 2010 at 4:04 am
    Thanks, the instructions from the mailman script fixed that issue.

    For the htdig, the URL it goes to after you hit the search button is:

    http://lists2.mydomain.org/mailman/mmsearch/mailman_project

    It's just blank, the title is the URL. Was expecting at least a "No results found" type page.

    /var/logs/httpd/error shows nothing except a missing favicon.ico, no other errors at all.

    /usr/local/mailman/logs/error doesn't give anything for tonight, last errors in the log are from this morning when I was troubleshooting:

    Aug 20 10:36:13 2010 (3918) htsearch for list: mailman_project, existatus: 1
    Aug 20 10:44:01 2010 (3951) htsearch for list: mailman_project, existatus: 1
    Aug 20 10:48:08 2010 (3983) htsearch for list: mailman_project, cause: cgi, detail: -5-Field count -4- fields:
    Aug 20 10:52:43 2010 (4013) IOError reading list extension: [Errno 20] Not a directory: '/usr/local/mailman/archives/private/mailman_project.mbox/mailman_project.mbox/extend.py'



    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Friday, August 20, 2010 6:15 PM
    To: Scott Race
    Cc: mailman-users at python.org
    Subject: Re: [Mailman-Users] Mailman and htdig - issues after installing htdig
    On 8/20/2010 2:24 PM, Scott Race wrote:
    Thank you Mark - looks like mailmanctl was not started, all is well
    after the start. However if I reboot I have to start mailmanctl
    manually now before mailman will work, thought something should make
    it autostart?

    In the download directory after ./configure, there is a shell script
    misc/mailman. See this file and the instructions at the beginning.

    And my last challenge is with htdig 3.2.0b6 - the search box is
    there, I can run /cron/nightly_htdig -v mailman_project from command
    line and it works - returns: htdig'ing archive of list:
    mailman_project

    Now, only problem is when I do a search - it just returns a blank
    page. I found a post in the mailman archives but did not see a
    resolution posted.

    What is the URL of the returned page? What is in your apache error log
    and Mailman's error log?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedAug 19, '10 at 7:23p
activeAug 28, '10 at 9:58a
posts22
users5
websitelist.org

People

Translate

site design / logo © 2022 Grokbase