H FreeBSD Taylor UUCP, - :-)
, , mail.provider.ru : host1.your.domain.org, host2.your.domain.org, host3.your.domain.org. uucp. host1.your.domain.org, host2.your.domain.org, host3.your.domain.org , mail.provider.ru.
, , uucp, uucp-: provider, host1, host2 host3 . - (hostname) uucp- . H, host2.your.domain.org uucp- foo bar. , .
yourhost.your.domain.org, uucp- yourhost.
H uucp Unix :
total 12 drwxrwx--- 3 uucp uucp 512 15 16:23 ./ drwxr-xr-x 10 root wheel 2048 30 21:44 ../ -r--r----- 1 uucp uucp 61 23 1997 call -r--r----- 1 uucp uucp 260 8 1997 config -rw-r----- 1 uucp uucp 250 3 20:51 dial -r--r----- 1 uucp uucp 1 25 1996 dialcode -r--r----- 1 uucp uucp 14 21 1997 passwd -r--r----- 1 uucp uucp 96 29 1997 port drwxr-xr-x 2 root uucp 512 15 12:08 samples/ -r--r----- 1 uucp uucp 160 28 1997 sysin -r--r----- 1 uucp uucp 366 16 16:06 sysout
uucp-. , , . :
======= call ====== # system login password provider uuyourhost Your_Secret_Password ======= call ======
uucp, , . , , .
======= config ====== nodename yourhost # uucp- spool /var/spool/uucp pubdir /var/spool/uucppublic logfile /var/spool/uucp/Log statfile /var/spool/uucp/Stats debugfile /var/spool/uucp/Debug sysfile sysin sysout # - portfile port dialfile dial dialcodefile dialcode callfile call passwdfile passwd # max-uuxqts 1 ======= config ======Igor Nikolaev (2:5030/266@fidonet). , rmail -DQUEUE_ONLY. : sendmail', .
======= dial ====== dialer idc # , uucp dialtone w pause , #chat "" ATZ\r\d\c OK ATM0DPW\T CONNECT \p\c chat "" ATZ\r\d\c OK ATM0DT\T CONNECT \p\c chat-fail BUSY chat-fail ERROR chat-fail NO\sDIALTONE chat-fail NO\sCARRIER #complete \d\d+++\d\dATH\r\c #abort \d\d+++\d\dATH\r\c ======= dial ======, . DTR, . , , uucp . - , , .
======= passwd ====== uuhost1 Top_Secret_Password uuhost2 Smart_Password uuhost3 Stupid_Password ======= passwd ======
======= port ====== port port1 # type modem device /dev/cuaa1 dialer idc speed 38400 port port2 # type tcp service 540 ======= port ======
======= sysin ====== call-login * call-password * local-send / local-receive / port port1 # , , chat-timeout 90 protocol g # , - time never # , debug 1 system host1 myname yourhost # host1, called-login uuhost1 system host2 myname yourhost called-login uuhost2 system host3 myname yourhost called-login uuhost3 ======= sysin ======called-login - . H , . , - .
======= sysout ====== call-login * call-password * local-send / local-receive / port port1 chat-timeout 90 protocol g time any # . . debug 1 system provider chat ogin: \L word: \P # call phone 111111 alternate # phone 222222 alternate phone 333333 ======= sysout ======, uuchk. . , /etc/crontab, :
====== uucp.mc ========= divert(-1) include(`../m4/cf.m4') VERSIONID(`@(#)uucp.mc 1.01') OSTYPE(bsd4.4)dnl MAILER(local)dnl MAILER(smtp)dnl MAILER(uucp)dnl FEATURE(nodns)dnl FEATURE(nocanonify)dnl FEATURE(mailertable)dnl FEATURE(uucpdomain)dnl define(`SMART_HOST', `uucp-dom:provider')dnl define(`confCOPY_ERRORS_TO', `postmaster')dnl ====== uucp.mc =========
, MAILER(smtp) , smtp . , uucp-dom. , - , uucp ( ).
======= /etc/mailertable ====== . uucp-dom:provider ======= /etc/mailertable ======provider - uucp- ( /etc/uucp/sysout) , , . , - uucp, mailertable :
======= /etc/mailertable ====== .host1.your.domain.org uucp-dom:host1 host1.your.domain.org uucp-dom:host1 .host2.your.domain.org uucp-dom:host2 host2.your.domain.org uucp-dom:host2 .host3.your.domain.org uucp-dom:host3 host3.your.domain.org uucp-dom:host3 . uucp-dom:provider ======= /etc/mailertable ======- , . , mailertable . . ,
,
.. uucp- host1. , sendmail mailertable database map, :
======= /etc/uudomain ====== host1 host1.your.domain.org host2 host2.your.domain.org host3 host3.your.domain.org provider mail.provider.ru ======= /etc/uudomain ======uudomain, mailertable, database map,
H , , , , Taylor, - UUCP.
, , uu, mgetty uucico /usr/bin/login. - , uucp- /etc/passwd. uucico -l /etc/uucp/passwd
/etc/uucp/passwd, /etc/passwd. Sergey Zimin: " uid gid uid/gid - "uucp", ! - ( , uid, ftp) uucp- uid /etc/ftpusers , ftp".
Last-modified: Thu, 29 Apr 1999 19:55:25 GMT