|Message: Re: how to debug mail-incoming.pl?||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Hi Tom, You can turn on the debugging in hndocs/debugOption by setting the master switch DEBUG=1 and leave the default debug and debug to 1 for mail debugging. The log will be created in hndocs/debugLog. regards, -- Terry Hung - Stanford Linear Accelerator Center phone: 650-926-3618 e-mail: firstname.lastname@example.org > > Hi, > > I ahve set up a Test forum in HN. To post to it I have to write to > Hypernews-Test@hnews.... The mail arrives and in the /etc/aliases I > forward it to account hn. Then in the account hn I do have a .procmailrc > file with the following directive: > > :0 c > * ^TO HyperNews-Test > | /var/www/cgi-bin/HyperNews/.scripts/mail-incoming.pl -f /Test > > Incoming mail arrives to hn machine, it is directed to hn account - but > then somehow /mail-incoming.pl does not post it to forum Test. > > The mail-incoming.pl script works standalone: > > perl -c mail-incoming.pl > mail-incoming.pl syntax OK > > also procmail works - if I replace the line > | /var/www/cgi-bin/HyperNews/.scripts/mail-incoming.pl -f /Test > with > |cat >temp.file > the incoming mail is written into temp.file > > So the problem is that mail-incoming.pl does not post the incoming mail to > the forum Test. How can I debug it? Is there a mail-incoming.pl log > somewhere? > > -- > Tomasz Wlodek | tel 631-344-7448 > Brookhaven Laboratory, Building 510M | fax 631-344-7616 > Upton NY 11973-5000 | >