Podklyuchenie mailertable na skoruyu ruku
1. V fajle /etc/mailertable napisat' chto-nibud' takoe:
######################################################
fnii.msk.ru uucp-dom:kras
pomi uucp-dom:pomi
2. Zatem vypolnit' komandy:
cd /etc
makemap hash mailertable < mailertable
3. Ubedit'sya, chto podklyuchena mailertable v
/etc/sendmail.cf
###########################################
Kmailertable hash /etc/mailertable
I nezakommentirovano Ruleset vyzyvayushchee ee,
a tak zhe Ruleset No 90
m4 ishodnik dlya uucp-mailrelay
# A po horoshemu, nado by peresobrat' sendmail.cf iz m4
# ishodnikov, podklyuchiv FEATURE mailertable
OSTYPE(linux)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail)dnl
FEATURE(mailertable,`hash -o /etc/mailertable')dnl
MAILER(local)dnl
MAILER(smtp8)dnl
MAILER(uucp)dnl
> KAKIM OBRAZOM VSYU PRIHODYASHCHUYU V NEGO POCHTU VYKLADYVATX
> V KAKOJ LIBO DRUGOJ mailbox
> (CHTOBY POLE to: OSTAVALOSX PREZHNIM)
> S DOSTUPOM PO POP3?
vKLYUCHITX feature virtusertable.
pROPISATX V virtusertable :
@remote.host localuser@localhost
pROPISATX V sendmail.cw
remote.host
A ESLI sendmail.cw NETU - TO PRYAMO V sendmail.cf SKAZATX Cwremotehost.
zAPUSTITX makemap NA virtusertable I PEREZAPUSTITX sendmail.
Last-modified: Thu, 29 Jul 1999 15:30:35 GMT