369 lines
6.6 KiB
HTML
369 lines
6.6 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>FEddi-COMO: Installing FEddi</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="feddi.howto-2.html">Previous</A>
|
|
<A HREF="feddi.howto-4.html">Next</A>
|
|
<A HREF="feddi.howto.html#toc3">Table of Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s3">3. Installing FEddi</A></H2>
|
|
|
|
|
|
|
|
<H2><A NAME="ss3.1">3.1 User installation <CODE>fido</CODE>.</A></H2>
|
|
|
|
|
|
<P>We'll install <CODE>fido</CODE> as a mail user, but you can give it another name.</P>
|
|
<P>If you see <CODE>~/</CODE> in this document, we refer to the user's <CODE>home</CODE>
|
|
directory.</P>
|
|
<P>
|
|
<UL>
|
|
<LI>file <CODE>/etc/passwd</CODE>
|
|
|
|
Include the following line:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
fido::2004:300::/home/fido:/bin/bash
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>file <CODE>/etc/group</CODE>
|
|
|
|
Include the following line:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
fido::300:uucp,fido,root
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
</UL>
|
|
</P>
|
|
|
|
|
|
<H2><A NAME="ss3.2">3.2 Necessary packages</A></H2>
|
|
|
|
|
|
<P>You'll need:</P>
|
|
<P>
|
|
<UL>
|
|
<LI><I>perl</I>, do
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
ls /usr/bin/perl
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
If not found, install it from disk-set D (Slackware)
|
|
</LI>
|
|
<LI><I>ncurses</I>, do
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
ls /usr/lib/libncurses.a
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
If not found, install it from disk-set D (Slackware)</LI>
|
|
</UL>
|
|
</P>
|
|
|
|
|
|
<H2><A NAME="ss3.3">3.3 <I>mailer</I> installation/configuration.</A></H2>
|
|
|
|
|
|
<P>Change to the directory <CODE>/FEddi-0.9pl5</CODE> </P>
|
|
<P>
|
|
<OL>
|
|
<LI>Edit the file <CODE>Makefile</CODE>, put for variable <CODE>SRCDIR</CODE> your
|
|
fonts' path, e.g.:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
SRCDIR=/root/trabajo/mailer/FEddi-dev
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>Add to the beginning of the line <CODE>NODEPRG =</CODE>: <CODE>nlfunct.o</CODE> else
|
|
it won't compile.
|
|
</LI>
|
|
<LI><CODE>make</CODE></LI>
|
|
<LI>If you get the following error:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
ncurses.h: No such file or directory
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
Do:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
ln -s /usr/include/ncurses/curses.h /usr/include/ncurses/ncurses.h
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
su root
|
|
make install
|
|
exit
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>It seems that the install utility doesn't copy all of the utilities;
|
|
do the following:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
cp utils/* ~/fnet/utility
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>A few files need modification:
|
|
|
|
<UL>
|
|
<LI>File <CODE>printmsg</CODE>
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
|
|
#!/bin/sh
|
|
cat | $HOME/fnet/utility/formatmsg | lpr
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>File <CODE>exportmsg</CODE>
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
|
|
#!/bin/sh
|
|
if test $1 = "new"
|
|
then
|
|
cat | $HOME/fnet/utility/formatmsg > "$2"
|
|
else
|
|
cat | $HOME/fnet/utility/formatmsg >> "$2"
|
|
fi
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
</UL>
|
|
|
|
</LI>
|
|
<LI>The fnet directory has the following contents:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
./outbound
|
|
./msgbase
|
|
./copy
|
|
./log
|
|
./inbound
|
|
./utility
|
|
./nodelist
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
Create these directories and do the following:
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
chown -R fido.fido fnet
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
</LI>
|
|
<LI>Configuration file <CODE>~/.feddirc</CODE>:
|
|
|
|
<UL>
|
|
<LI>Permissions <CODE>644</CODE></LI>
|
|
<LI>User/group <CODE>fido.uucp</CODE></LI>
|
|
</UL>
|
|
|
|
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
;
|
|
; This .feddirc was automatically created with config.user
|
|
;
|
|
; Profile Section
|
|
;
|
|
PROFILE Manuel Soriano
|
|
2:346/207.punto net_name the_passwd outbound 2:*
|
|
25:946/100.punto other_net_name the_passwd outbound 25:*
|
|
93:346/101.punto other_net_name the_passwd outbound 93:*
|
|
END
|
|
; The first line is your main address, the following are subnets, the routing
|
|
; fro 25: to 93: is done by means of 2:
|
|
;
|
|
;
|
|
;
|
|
; Paths
|
|
;
|
|
MsgBasePath ~/fnet/msgbase/
|
|
InboundPath ~/fnet/inbound/
|
|
OutboundPath ~/fnet/
|
|
UtilityPath ~/fnet/utility
|
|
Log ~/fnet/log/feddi.log 200
|
|
CopyPath ~/fnet/copy/
|
|
NodelistPath ~/fnet/nodelist/
|
|
;
|
|
; Misc
|
|
;
|
|
Packer /usr/bin/zip -q -m -k -j %s %s
|
|
; Editor /usr/bin/vi %s
|
|
Beep Yes
|
|
AutoDelEmpty Yes
|
|
KeepPKT No
|
|
KeepNL Yes
|
|
KeepBackups No
|
|
ShowAllAddr Yes
|
|
MaxMsgLength 64k
|
|
QuoteLength 70
|
|
ReplySubject No
|
|
AskForOrigName Yes
|
|
AutoNextFolder Yes
|
|
;
|
|
; End of .feddirc
|
|
;
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
You may base your configuration on this file, as it works for me without
|
|
troubles.
|
|
|
|
</LI>
|
|
<LI>File <CODE>~/fnet/nodelist/fnlcrc</CODE>
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
dial 34-6- 3
|
|
dial 34-6
|
|
dial *
|
|
|
|
pointlist ptlstr34
|
|
pointlist eu_point
|
|
|
|
nodelist region34
|
|
nodelist eu_nodes
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
<CODE>dial</CODE> : According to your zone 34-6 (Valencia), 34-1 (Madrid),
|
|
34-3 (Barcelona), etc...
|
|
|
|
As <CODE>pointlist</CODE>, the different lists of points, you may use the point lists
|
|
that come from the <I>bbs</I>, without modification.
|
|
|
|
As <CODE>nodelist</CODE>, the different lists of nodes, you may use the node lists
|
|
that come from the <I>bbs</I>, without modification.
|
|
|
|
That's it.
|
|
|
|
</LI>
|
|
<LI>Compiling the nodelist/pointlist
|
|
|
|
I'm using the following scripts. They are simple and work.
|
|
|
|
<UL>
|
|
<LI>file <CODE>~/fnet/nodelist/compila0</CODE>
|
|
permissions <CODE>777</CODE>
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#!/bin/bash
|
|
unzip lista.zip
|
|
mv EU_NODOS* eu_nodos
|
|
mv EU_PUNTO* eu_punto
|
|
mv PTLSTR34* ptlstr34
|
|
mv REGION34* region34
|
|
mv SNETLIST* snetlist
|
|
mv SUBPTLST* subptlst
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
|
|
|
|
</LI>
|
|
<LI>file <CODE>~/fnet/nodelist/compila1</CODE>
|
|
permissions <CODE>777</CODE>
|
|
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#!/bin/bash
|
|
rm fnlc.*
|
|
fnlc
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
</UL>
|
|
|
|
|
|
This will compile the lists. If you run into troubles, certainly it's about
|
|
permissions. Check four files, normally the binaries go to <CODE>/usr/bin</CODE></LI>
|
|
</OL>
|
|
</P>
|
|
|
|
|
|
<H2><A NAME="ss3.4">3.4 Check and usage.</A></H2>
|
|
|
|
|
|
<P>Check your mail. Look for a mail package you might have for MS/DOS. Put it
|
|
into the directory <CODE>~/fnet/inbound</CODE> and do</P>
|
|
<P>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
ftoss ; futility pack ; futility link
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</P>
|
|
<P>This will always be the way to handle your incoming mail. <CODE>ftoss</CODE> will
|
|
create automatically the <I>folder</I> according to your areas.</P>
|
|
<P>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
fmbedit
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</P>
|
|
<P>If everything went well you'll see the mail of that package on your screen :-)</P>
|
|
<P>The editor is quite simple and well documented. It looks somewhat like the
|
|
<I>fmail</I>'s editor.</P>
|
|
<P>Create a message in an area or two and do the following:</P>
|
|
<P>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
fscan
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</P>
|
|
<P>This will always be the way to handle your outgoing mail.</P>
|
|
|
|
|
|
<HR>
|
|
<A HREF="feddi.howto-2.html">Previous</A>
|
|
<A HREF="feddi.howto-4.html">Next</A>
|
|
<A HREF="feddi.howto.html#toc3">Table of Contents</A>
|
|
</BODY>
|
|
</HTML>
|