Small FAQ po nastrojke fido mail pod Linux (i ne tol'ko)
Sm. tak zhe Dmitrij Zavalishin. "Diffuziya"
- ---[fido_faq]----------->--------------------------->---------------------
(c) copyleft, jav@ufg.ru [version 0.6 alpha from 14.4.97]
>0. READ THIS TWICE!
Stavya novoe yadro, libc, lyuboj prikladnoj paket -- PROCHITAJTE
Changes, News, README, man, a uzhe potom zadavajte voprosy.
Small FAQ po nastrojke fido mail pod Linux (i ne tol'ko)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* * *
V dannoj versii FAQ dayutsya otvety na sleduyushchie voprosy:
1. Kakie programmy neobhodimy dlya organizacii fido mail?
2. Kak ustanovit' ifmail?
3. Kak naibolee prosto nastroit' inn?
4. Kak nastroit' sendmail dlya raboty s fido mail?
5. Kak nastroit' smail dlya raboty s fido mail?
6. Kakie est' populyarnye chitalki?
7. Gde mozhno vzyat' AreaFix for Linux?
8. Gde mozhno vzyat' FileFix (allfix) for Linux?
* * *
Q1: Kakie programmy neobhodimy dlya organizacii fido mail pod Linux?
A: 1. samyj prostoj variant: ifmail (mailer) + QEcho (fido tosser & editor)
Poslednyaya versiya ifmail dostupna na http://www.average.org/
avtor Eugene G. Crosser, 2:5020/230.
QEcho lezhit na ftp://ftp.mgdtd.ac.ru/pub/QEcho/QEcho.tgz
avtor Nikolay Shadrin, 2:5020/609.
2. bolee slozhnyj variant: ifmail + inn (ili cnews) + sendmail (ili smail),
pozvolyayushchij odnoj chitalkoj chitat' n'yusy i fidoshnye ehi.
Q2: Kak ustanovit' ifmail?
A: Vzyat' ifmail, prochitat' README, popravit' CONFIG, sobrat', zainstalirovat'.
Pojti v misc/, otredaktirovat' config.
Warning! rnews dolzhen byt' binar' [elf], a ne skript. Obychno on nahoditsya
v /usr/lib/news/rnews.
Prochitat' FAQ, zakompilirovat' nodelist.
>Rekomenduetsya nalozhit' na ifmail patchi by Serg Oskin.
U vas propadut mnogie problemy c gejtirovaniem.
Oni oformleny kak odin patch, kotoryj mozhno vzyat' na:
ftp://ftp.relcom.ru /unix/fido/ifm*os.dgz.
^ versiya ifmail
primenim dlya lyuboj versii ifmail s sootvetstvuyushchimi dorabotkami.
Q3: Kak naibolee prosto nastroit' inn?
A: Esli u vas slackware, v standartnoj "razdache" distributiva est' katalog
/var/lib/news/tools.linux v kotorom mnogo poleznoj informacii...
(esli u vas ne slackware i etogo kataloga net, to sovetuyu shodit' na lyuboj
sajt i poiskat' v distributive arhiv s inn)
Vam dostatochno prochitat' i vypolnit' rekomendacii iz Install.ms
(chitat' "nroff -mgs Install.ms | less") i INSTALL-linux (po shagam
opisana ustanovka).
Posle etogo idete v ~ifmail/misc/inn/:
a. send-ifmail kladete v /var/lib/news/, vyzov pihaete v news
crontab'a cherez kazhdye 15 minut.
b. po primeru newsfeeds pishete svoj (/var/lib/news/newsfeeds).
horosho pomogaet man newsfeeds.
Kak sozdavat', udalyat', etc. newsgroup? man ctlinnd; ctlinnd -h
Mozhno postavit' autocreat by Serg Oskin. Vhodit v sostav patcha k ifmail.
>INN obyazatel'no zapuskat' s klyuchom -u, kotoryj nuzhno dobavit' v
peremennuyu FLAGS v skripte zapuska INN (rc.news).
Eshche rekomenduetsya dobavit' klyuch -s0, chtoby inn ne otkidyval v
/var/spool/news/in.coming/bad/ stat'i, napisannye bolee N dnej nazad.
Ili napisat' skript, pravyashchij datu na tekushchuyu i perekladyvayushchij stat'i v
/var/spool/news/in.coming/ na s'edenie rnews -U.
Q4: Kak nastroit' sendmail dlya raboty s fido mail?
: |to samyj gadkij programm... Pered nastrojkoj rekomenduetsya prochitat'
vse doki ( ~sendmail/doc/* ).
Primer rabochej konfiguracii.
Kir Marushkin:
Est', po-moemu, bolee udobnyj i gibkij variant.
Popravit' nizhesleduyushchee konechno pridetsya (puti, adresa, OSTYPE i VERSIONID).
1.
$SENDMAIL_HOME/cf/mailer/ifmail.m4:
===================================
PUSHDIVERT(-1)
#
# Copyright skipped
#
ifdef(`IFMAIL_MAILER_PATH',,
`define(`IFMAIL_MAILER_PATH', /usr/local/ifmail/ifmail)')
ifdef(`IFMAIL_MAILER_ARGS',,
`define(`IFMAIL_MAILER_ARGS', `ifmail -r $h $u')')
POPDIVERT
#######################################
### ifmail Mailer specification ###
#######################################
VERSIONID(`@(#)ifmail.m4 0.1 (Waxwork) 10/25/95')
Mifmail, P=IFMAIL_MAILER_PATH, F=msDFMuC, S=11, R=21,
A=IFMAIL_MAILER_ARGS
====================================================================
2.
$SENDMAIL_HOME/cf/cf/waxwork.mc:
================================
divert(-1)
#
# Copyright skipped
#
include(`../m4/cf.m4')
VERSIONID(`@(#)waxwork.mc 0.1 (Waxwork) 10/25/95')
OSTYPE(bsd4.4)
FEATURE(mailertable)
FEATURE(nocanonify)
MAILER(local)
MAILER(procmail)
MAILER(smtp)
MAILER(ifmail)
MAILER(uucp)
define(`confCOPY_ERRORS_TO',`postmaster')
define(`USE_CW_FILE')
define(`confCW_FILE',`/etc/sendmail.cw')
LOCAL_RULE_3
R$+ < @ $+ . fidonet . org > $* $@ $1 < @ $2 . fidonet . org . > $3
R$+ < @ $+ . fidonet > $* $@ $1 < @ $2 . fidonet . org . > $3
R$+ < @ $+ . fido > $* $@ $1 < @ $2 . fidonet . org . > $3
R$+ < @ $+ . ftn > $* $@ $1 < @ $2 . fidonet . org . > $3
^^^^^^ zdes' tabulyaciya!!!
=========================================================================
3.
V /etc/sendmail.cw ukazyvaem nashi aliasy na kotorye sendmajl
mozhet prinimat' pochtu (bez fidoshnyh aka).
Naprimer y menya:
saver.msk.su fidogate.saver.msk.su
=========================================================================
4.
Ruting propisyvaetsya v mailertable, chto gorazdo udobnee, chem pryamo
v konfige sendmajla.
/etc/mailertable:
.fidonet.org ifmail:f322.n5020.z2.fidonet.org
f361.n5020.z2.fidonet.org ifmail:f361.n5020.z2.fidonet.org
.f361.n5020.z2.fidonet.org ifmail:f361.n5020.z2.fidonet.org
f297.n5020.z2.fidonet.org ifmail:f297.n5020.z2.fidonet.org
.f297.n5020.z2.fidonet.org ifmail:f297.n5020.z2.fidonet.org
f688.n5020.z2.fidonet.org ifmail:f688.n5020.z2.fidonet.org
.f688.n5020.z2.fidonet.org ifmail:f688.n5020.z2.fidonet.org
================================================================
4.
Hy i dlya udobstva:
/usr/local/bin/vimt:
#!/bin/sh
vi /etc/mailertable
makemap hash /etc/mailertable.db < /etc/mailertable
Esli makemap ne podderzhivaet hash, ispol'zovat' dbm (ndbm) c
sootvetsvuyushchimi ispravleniyami v opisanii mailertable (sm. vyshe i
dokumentaciyu na sendmail)
===================================================
5.
% m4 $SENDMAIL_HOME/cf/cf/waxwork.mc > /etc/sendmail.cf
Tak zhe rekomenduetsya posmotret' ~ifmail/misc/sendmail/ifmail.m4-*
Q5: Kak nastroit' smail dlya raboty s fido mail?
A:
Boris Tobotras:
|to moya konfiguraciya, ni iz chego ne sleduet, chto pravil'naya.
V routers dobavit':
ifmail:
driver=pathalias,transport=ifmail;
file=ftnpaths,proto=lsearch
V transports dobavit' takoj:
ifmail: -from,-received,max_addrs=5,max_chars=200,
driver=pipe;
pipe_as_sender,
cmd="/usr/local/lib/ifmail/ifmail -r$host
$((${strip:user})$)"
Zavesti fajl ftnpaths, kuda propisat' vseh pryamyh linkov i vsyu
informaciyu o routinge v takom vide:
# ... my direct links ...
.f20.n5020.z2.fidonet.org f20.n5020.z2.fidonet.org!%s
.f0.n5020.z2.fidonet.org f0.n5020.z2.fidonet.org!%s
p8.f510.n5020.z2.fidonet.org p8.f510.n5020.z2.fidonet.org!%s
# This is default routing:
.fidonet.org f188.n5020.z2.fidonet.org!%s
Dolzhno rabotat'.
Q6: Kakie est' populyarnye chitalki?
A: dlya netmail: mail, elm, exmh & mh, ml.
dlya news (terminal): tin, pine, rn, nn.
(pod X'y): xrn, xvnews, nn-tk, knews, XEmacs (monstr :),
netscape.
Q7: Gde mozhno vzyat' AreaFix for Linux?
A: ftp://ftp.lexa.ru /pub/domestic/lexa/areafix*.tar.gz
Odin iz avtorov Alex Tutubalin, 2:5020/96.
Q8: Gde mozhno vzyat' FileFix (allfix) for Linux?
A: FileFix by Serg Oskin, 2:5020/20.
ftp://ftp.relcom.ru /unix/fido/filefix*.tar.gz
freq filefix.tgz 2:5020/20, work time 22.00-08.00 (24 weekend)
~~~~~~~~~~~~~
Kir Marushkin 2:5020/322.38
Boris Tobotras 2:5020/510
za utochneniya/dopolneniya/ispravleniya.
Esli gde est' oshibki, netochnosti - welcome!
Dopolneniya, ispravleniya mozhno prisylat' na:
e-mail: and@jav.msk.ru
jav@ufg.ru
fido: 2:5020/718.13@fidonet.org
2:5020/20.1313@fidonet.org
------------>--------------------------->--------------------------------
Last-modified: Wed, 03 Sep 1997 06:43:03 GMT