Go to the first, previous, next, last section, table of contents.


The UUCP system type

When registering a new system, you may set the Type to UUCP. The grabname should be set to the name of your incoming mailbox.

If you want to use THOR as a newsreader as well as a mail reader, you will have to run the type config in the Systems configuration. Also remember to configure your email address in the Systems configuration.

This document will not explain how to install UUCP. This is a non- trivial task, and beyond the scope of this manual. We suggest that you read the manuals in the UUCP archive carefully.

You should always run the UUCP Type options before you start using a UUCP system in THOR. You will be queried for the following information:

Headers
By selecting Headers you can edit a file that always will be inserted in the beginning of the mail/postings you write. This is done before the editor is started so you have the chance to edit the headers along with the rest of the mail. This feature is nice if you always want to have some special information in the header of your mails, such as a Organization: header or a Reply-To: field. You may also write headers at the top of the mail you are composing even if you don't use a header file.
Configuration
By selecting Configuration you will be prompted for various questions that changes the behaviour or the UUCP module.
Use THOR as a news and mail or mail only reader?
Should be self-explainatory. If you choose mail only, your mailbox file will be processed by THOR, not the files in the news tree.
Select news directory
If you chose to use THOR as a news reader, you will be prompted for the root directory of your news tree, where your news is stored. This is normally UUNews: which is the default.
Should THOR use a From: line in postings?
Some UUCP implementations wants a From: line in the header of the file that postnews is delivered. Try this first, and if it doesn't work, run the configuration again and change it not to add a From: line. If you are not adding a fromline you will have to use arguments the sendnews command, see below.
News posting command
Normally, a command called postnews is used to post news articles. This is the default choice. If you have configured no From: header in the previous option, you will have to add the sender on the command line to the postnews command. An example of such a command would for me be
postnews -f kjelli -r "Kjell Irgens"
If this doesn't work, read the documentation of the postnews you use carefully.
Should THOR use a From: line in mails?
Some UUCP implementations wants a From: line in the header of the file that sendmail is delivered. Matt Dillons implementation does not want a From: line while most other do. If you are not adding a fromline you will have to use some arguments to the sendmail command, see below.
Mail sending command
Normally, a command called sendmail is used to send off or spool mail. This is the default choice. If you have configured no From: header in the previous option, you will have to add the sender on the command line to the postnews command. An example of such a command would for me be
sendmail -f kjelli -R "Kjell Irgens"
If this doesn't work, read the documentation of the sendmail you use carefully.

When you have finished the config, you are ready to use the supplied programs for news and mail handling, SendUUCP and ParseUUCP.

Use the SendUUCP command from the bin directory in the THOR drawer to send off your email and postings. This command calls sendmail and postnews on the events in THOR:

senduucp <mysystemname>

Run the ParseUUCP command from the bin directory in the THOR drawer to parse news and mail into THOR:

parseuucp <mysystemname> [mymailbox] DELETE.

This should parse the news tree and your new mail into Thor's database, and delete the UUCP format news and mail from your harddisk.


Go to the first, previous, next, last section, table of contents.