Problem with MHonArc

1999-07-06 Thread Gunnar Hjalmarsson
root:/usr/src/sys/compile/VKERN i386 Any help would be appreciated. Regards, Gunnar Hjalmarsson Phone: +46 70 5508110 Internet: [EMAIL PROTECTED] Fax:+46 70 6108110 http://www.gunnar.cc

Re: Problem with MHonArc

1999-07-06 Thread Gunnar Hjalmarsson
Earl, thanks for trying to help! > It appears MHonArc believes it is under a Win environment. > > > Perl version: 5.004_01 > This is a suspect version. You may want to upgrade Perl. > > What does the following command output: > > perl -e 'print $^O, "\n";' Since I do not have she

Re: Problem with MHonArc

1999-07-06 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > > Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration: > > Platform: > > osname=bsdos, osvers=2.1, archname=i386-bsdos > ---^^^ > Ugh. What? Should I send your regards to my web hosting provider? :-) > Delete line 67 of your copy of osinit.pl

Re: Problem with MHonArc

1999-07-07 Thread Gunnar Hjalmarsson
Al Gilman wrote: > > It sounds as though he would like to know before he sends his > message that he is addressing a list of subscribers and a > publicly accessible archive. Yes, Al, that's my point. No big deal in this case, but maybe a matter of principle... Thanks! :-) / Gunnar ---

Respecifying the resource file

1999-07-09 Thread Gunnar Hjalmarsson
From the FAQ: > Do I have to respecify the resource file each time I update an > archive? > No. The archive database stores all resource settings. The only > time you need to respecify the resource file is if changes are > required in the layout of the archive. Not _all_ resource settings seem

Simple Admin Tool

1999-07-12 Thread Gunnar Hjalmarsson
I have my website hosted with a provider that does not grant me shell access to my account, so I have to run the MHonArc commands from cgi scripts. Now I have made a template to make the archive administration easier, and since there might be other people out there, that are interested in making t

Re: Simple Admin Tool

1999-07-13 Thread Gunnar Hjalmarsson
On 12 July Gunnar Hjalmarsson wrote: > > I disabled the option to enter other commands in this demo > installation. The reason is that you can enter any general > system command via the form I made a change, so that only MHonArc commands can be entered via the form. The demo install

Default resource file

1999-07-14 Thread Gunnar Hjalmarsson
I tried to make use of the default resource file, but it seems like it does not work properly. These are my findings: - It worked when creating a new archive, but changes after that had no effect when updating the archive. (Is this possibly intentionally?) - The resource MSGGMTDATEFMT did no

Re: time and date in indexes

1999-07-14 Thread Gunnar Hjalmarsson
Martin List-Petersen wrote: > > Is it possible, to have the time and date of the messages > shown in the mail- and thread indexes ?? You can put some date variable, e.g. $MSGGMTDATE$, in the resource for the main index, and in the , , and resources for the thread index. If you want exactly th

Re: Sv: time and date in indexes

1999-07-14 Thread Gunnar Hjalmarsson
Martin List-Petersen wrote: > > >If you want exactly the same format as in the messages, i.e. > >the time in the timezone where respective message originated +/- > >the difference compared to GMT, I haven't found any solution either. > > > I was a bit too fast about complayning. > I made a templa

Re: Default resource file

1999-07-15 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > > - The resource MSGGMTDATEFMT did not affect the variable > > $MSGGMTDATE$ . > > Works for me. Well, I recreated the demo archive for the "admin tool", and this time it worked for me, too. > Also, if specifying a resource file via RCFILE, make sure it is > not setting M

Missing default settings

1999-08-12 Thread Gunnar Hjalmarsson
After having upgraded to 2.4.2, the default settings for the resource variables $LOCALDATE$ and $GMTDATE$ don't work for me. Gunnar Phone: +46 70 5508110 Internet: [EMAIL PROTECTED] Fax:+46 70 6108110 http:

Re: Missing default settings

1999-08-12 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > Patch for mhtime.pl attached. Thanks, Earl. But I exchanged (the new) line 87 for $fmt = '%a %b %d %H:%M:%S '.($local ? "" : "GMT ").'%Y' if $fmt !~ /\S/; Any objections? Gunnar Phone: +46 70 5508110

Re: syntax for the expiredate

1999-08-24 Thread Gunnar Hjalmarsson
> I want to run the expiredate command. I did run the command > as given in the document but it did not execute. The > command I have given is as follows: > > mhonarc -oudir /promed/ -add -expiredate 1 Dec 1999 > /root/list/*.* > > The result shows that it could not parse the expiredate. I hav

Exclude Majordomo message footer?

1999-09-04 Thread Gunnar Hjalmarsson
I'm using MHonArc for converting a Majordomo mailing list, and a message footer is appended to the end of the body of each list message. Is there any easy way to make MHonArc exclude such a standard text when converting the body of a list message? Gunnar -

Re: Exclude Majordomo message footer?

1999-09-10 Thread Gunnar Hjalmarsson
Thanks Earl and Al. Since I'm not using Procmail, and have access to only one Majordomo list, I chose to create a filter. Earl Hood wrote: > > You'll have to create a custom filter function, see MIMEFILTERS > for details. You can use the text/plain filter as a template. I simply copied mhtxtpl

Line beginning with "From"

1999-01-04 Thread Gunnar Hjalmarsson
When converting an email with a line in the body that begins with the word "From", my installation of MHonArc (2.4.4) does not make it. It seems like it interprets the word "From" as the beginning of a new email, and consequently converts the email into two messages. Gunnar Let's see what happen

Re: Line beginning with "From"

1999-11-06 Thread Gunnar Hjalmarsson
Gunnar Hjalmarsson wrote: > > When converting an email with a line in the body that begins with the > word "From", my installation of MHonArc ... interprets the word > "From" as the beginning of a new email, and consequently converts the > email into t

Re: Icons for attachments

1999-11-08 Thread Gunnar Hjalmarsson
Bennett Samowich wrote: > > Is there a way to add icons for message attachments? http://www.oac.uci.edu/indiv/ehood/MHonArc/doc/resources/icons.html / Gunnar

Re: Follow-up/References/Botlinks interaction

1999-11-08 Thread Gunnar Hjalmarsson
Wayne Chapeskie wrote: > > A minor message page formatting question, for MHonArc 2.4.4 > ... > if the message has no follow-ups, and no references, you get two > lines together. > ... > Does anyone know how to avoid this "double " syndrome? Wayne, Feel free to study my resource file at ftp://f

Re: Line beginning with "From"

1999-11-10 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > I should note that this topic is discussed in the FAQ. Yes, I see now that it's covered in both the FAQ and the MSGSEP doc. My apologies for being too quick to post my query. Gunnar

Mailboxes on servers different from MHonArc

1999-11-10 Thread Gunnar Hjalmarsson
I run MHonArc on a UNIX web server, i.e. a part of the server provided by my web hosting ISP. So far I have let MHonArc process mailbox files that have been stored on the same server, and consequently it has been easy to simply specify the paths to the files I wanted to process. Now I wonder whic

Re: Mailboxes on servers different from MHonArc

1999-11-15 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > Attached is a sample Perl program that archives mail using POP. I used part of the program, and it works fine. Thank you very much for providing it. > The program has been edited from a real program I wrote inorder > to protect the guilty. Use at your own risk. Sure, as a

Re: web admin interface

1999-12-17 Thread Gunnar Hjalmarsson
> Like many people, I have been trying to develop a web admin > interface for my users forum administrators. I use a web admin tool, from which you might want to pick some ideas. You find it at ftp://ftp.gunnar.cc/pub/gunnar/mhonarc/mhaadmin-demo.pl . Please note that for the admin interface t

Re: No multi-page thread index?

1999-12-27 Thread Gunnar Hjalmarsson
Garth Sainio wrote: > > I'm trying to create a multipage thread index from an archive. > ... > the index page is created with only 100 messages on it but there > are no links to the other index pages > ... > Any suggestions on what I should try next? The default setting of the THEAD resource inc

Re: Y2K Problem with MhonArc 2.4.4

2000-01-12 Thread Gunnar Hjalmarsson
Brian Cameron wrote: > > I have included the following string: $MSGLOCALDATE(CUR;%m/%d/%y %H%M) > ... > Note that the year value (%y) in the $MSGLOCALDATE is supposed > to be a 2-digit year value. However, for messages posted in the > year 2000, it is printing out "100", as in the following exam

Re: Y2K Problem with MhonArc 2.4.4

2000-01-14 Thread Gunnar Hjalmarsson
Earl Hood wrote: > > Probably quicker to just subtract 100 from $year if $year > 100 > after $yearfull has been set: > > $year -= 100 if $year > 100; Well, 100 must be included, of course: $year -= 100 if $year >= 100; / Gunnar

Re: Deleting Mail frm Pop Account

2000-01-26 Thread Gunnar Hjalmarsson
[EMAIL PROTECTED] wrote: > > Is it possible to automatically delete the mail MHonArc copies > from the pop account during a normal daily archive? One way is to use the Net::POP3 Perl module. I run MHonArc from a script, where the actual MhonArc execution is preceded by a Net::POP3 routine. Basic

Re: Problems with the 'converted message body'

2000-02-04 Thread Gunnar Hjalmarsson
Peter Vestergaard wrote: > Hope someone knows how to get rid of the pre-tag Maybe you should try the MIMEARGS resource instead: text/plain:nonfixed / Gunnar

Subjectstripcode and Threading by subject

2000-02-27 Thread Gunnar Hjalmarsson
When messages have no References or In-Reply-To fields, MHonArc is supposed to group messages of the same subject together under the header . I experienced lately that this feature didn't work reliably, and I found out that it was because I use the SUBJECTSTRIPCODE resource to stip a prefix. This

Re: stripping body ads

2000-03-10 Thread Gunnar Hjalmarsson
Wade VanBuskirk wrote: > > I would like to strip out the ads which this list has added to the > message body. Hi Wade, I let MHonArc strip a message footer when archiving a mailing list. Normally MHonArc uses mhtxtplain.pl to filter plain text, but by using the resource I make it use a modifie

Re: New user question

2000-04-26 Thread Gunnar Hjalmarsson
meijin wrote: > > Can I make a suggestion for a small added feature? Would, in the > resulting HTML, it be possible to show the total number of messages Can be done through the variable $NUMOFMSG$. > and the total number of threads Sounds like a good idea. > in the links at the top? / Gunnar

Re: Suppressing Part of a Message

2000-05-02 Thread Gunnar Hjalmarsson
Kenneth Blackwell wrote: > > I may need to have a passage of an archived message suppressed. > Thus I need to know whether it can be done. It can be done by simply letting MHonArc strip the passage before the conversion. I guess, based on your description, that the original messages are plain t

Re: Suppressing Part of a Message

2000-05-05 Thread Gunnar Hjalmarsson
Wade VanBuskirk wrote: > > I have attempted to make and "register" a revised filter, but I got > the following error: > > Reading /home/wade/nsmail/temp . > Can't locate /home/wade/MHonArc2.3.3/bin/mhtxtplain2.pl in @INC at > /usr/local/lib/perl5/site_perl/readmail.pl line 769, chunk > 48. > >

Re: Customising

2000-05-31 Thread Gunnar Hjalmarsson
Michael Acheson wrote: > > I need to customise the index page (maillist.html). Do I have to > edit the idxpgbegin resource file. Where is this file to edit? IdxPgBegin is not a file, it's a resource. > If you have to write it what do you save it as? Can someone give > me very simple step my ste

Re: GUI

2000-11-09 Thread Gunnar Hjalmarsson
"Gerrit P. Haase" wrote: > > is it able to compose a gui-user-interface for mhonarc? > ... > maybe someone out there has begun and we could share the work? Since I don't have shell access to my webhosting account, I use a simple tool to administrate MHonArc: http://www.gunnar.cc/cgi-bin/mhonarc

Re: Call MHonArc from a perl script

2001-01-19 Thread Gunnar Hjalmarsson
"leo.ufv" wrote: > > Is there a better way to call MHonArc? You might want to try: unshift(@INC, /path/to/mhonarc/library); require 'mhamain.pl'; mhonarc::initialize(); mhonarc::process_input( '-quiet', '-add', '-outdir', /usr/local/apache/share/htdocs/lj

Re: "From" Help

2001-03-29 Thread Gunnar Hjalmarsson
Fazal Aslam wrote: > > It works grate except when it finds a line in which > the first word is "from" or "From" then it thinks that > it a new e-mail and it tries to archive it. Check out http://www.mhonarc.org/MHonArc/doc/faq/archives.html#split / Gunnar

Re: urgent mhonarc setup - help!

2002-05-02 Thread Gunnar Hjalmarsson
Stuart Otway wrote: > I need a method for me to fire this command to the server via a > webpage. I heard this is possible via CGI. If anyone has some > scripts to send me to get me started and if anyone has some files > that format the mhonarc pages nicely i would be most greatful. Hi Stuart

mhn2mbox and v2.5.4

2002-05-13 Thread Gunnar Hjalmarsson
Hi, I have successfully used mhn2mbox (http://www.albany.net/~anthonyw/mhonarc/mhn2mbox) with MHonArc v2.4.6 to convert archives back to mbox format. Thanks, Anthony, for this program! However, when I had upgraded to MHonArc v2.5.4, I noticed that the message separators in the pseudo mbox did

Re: use of HTML in AddressModifyCode

2002-05-27 Thread Gunnar Hjalmarsson
Earl Hood wrote: > You can insert a line break in an address: > > > s/\@/ AT\n/; > Thanks for the tip. But isn't it as important to do anything with the MAILTOURL resource? I did this: mailto:$TOADDRNAME$@$TOADDRDOMAIN$ Is there any easy way to improve that? / Gunnar