doing_uucp_with_sdf
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doing_uucp_with_sdf [2021/03/19 05:23] – created hc9 | doing_uucp_with_sdf [2024/09/01 20:42] (current) – … hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Doing UUCP with SDF ====== | ||
+ | |||
+ | **UUCP** (Unix-to-Unix Copy) is a great way to get your mail and news, even without a stable or static Internet connection. | ||
+ | |||
+ | ===== Request a login ===== | ||
+ | |||
+ | * Know your uuname (run '' | ||
+ | * Post a message on ''< | ||
+ | |||
+ | ===== UUCP Node Configuration ===== | ||
+ | |||
+ | ==== Taylor UUCP ==== | ||
+ | |||
+ | Configuration files are typically located in ''/ | ||
+ | |||
+ | The main file you need to edit is the sys file. A sample of the '' | ||
+ | |||
+ | < | ||
+ | |||
+ | system | ||
+ | alias mx | ||
+ | address | ||
+ | call-login | ||
+ | call-password | ||
+ | time Any | ||
+ | port TCP | ||
+ | chat "" | ||
+ | protocol | ||
+ | myname | ||
+ | |||
+ | </ | ||
+ | |||
+ | You will also need a '' | ||
+ | |||
+ | < | ||
+ | |||
+ | nodename uyour_name | ||
+ | spool / | ||
+ | pubdir / | ||
+ | logfile / | ||
+ | statfile / | ||
+ | debugfile / | ||
+ | |||
+ | </ | ||
+ | |||
+ | And a '' | ||
+ | |||
+ | < | ||
+ | |||
+ | port TCP | ||
+ | type tcp | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== HDB UUCP ==== | ||
+ | |||
+ | TODO … | ||
+ | |||
+ | ===== How to POLL SDF ===== | ||
+ | |||
+ | You can poll SDF manually by running '' | ||
+ | |||
+ | An example crontab line for polling every 15 minutes would be: | ||
+ | |||
+ | < | ||
+ | |||
+ | */15 * * * * / | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Testing your config ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | uucico -s sdf | ||
+ | uulog -10" | ||
+ | |||
+ | </ | ||
+ | |||
+ | Check the log; output like this is a good sign: | ||
+ | |||
+ | < | ||
+ | |||
+ | uucico sdf - (2013-08-09 01: | ||
+ | uucico sdf - (2013-08-09 01:00:07.80 3221) Handshake successful (protocol ' | ||
+ | uucico sdf - (2013-08-09 01:00:07.98 3221) Call complete (2 seconds 0 bytes 0 bps) | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== MTA Configuration ===== | ||
+ | |||
+ | ==== Postfix UUCP settings ==== | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | < | ||
+ | |||
+ | uucp_name.natverk.org | ||
+ | |||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | <file config / | ||
+ | |||
+ | myhostname = uucp_name.natverk.org | ||
+ | alias_maps = hash:/ | ||
+ | alias_database = hash:/ | ||
+ | myorigin = / | ||
+ | mydestination = uucp_name.natverk.org, | ||
+ | default_transport = uucp | ||
+ | relayhost = sdf | ||
+ | relay_transport = uucp | ||
+ | mynetworks = 127.0.0.0/8 | ||
+ | mailbox_size_limit = 0 | ||
+ | recipient_delimiter = + | ||
+ | inet_interfaces = loopback-only | ||
+ | inet_protocols = ipv4 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== Sendmail UUCP settings ==== | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | <file config / | ||
+ | |||
+ | divert(-1) | ||
+ | divert(0) | ||
+ | VERSIONID(`$patito.ninja uucp sdf 20150425 ecelis$' | ||
+ | OSTYPE(freebsd6) | ||
+ | DOMAIN(generic) | ||
+ | |||
+ | FEATURE(access_db, | ||
+ | FEATURE(blacklist_recipients) | ||
+ | FEATURE(local_lmtp) | ||
+ | FEATURE(mailertable, | ||
+ | dnl UUCP | ||
+ | FEATURE(promiscuous_relay)dnl | ||
+ | FEATURE(accept_unresolvable_domains)dnl | ||
+ | FEATURE(nocanonify) | ||
+ | FEATURE(uucpdomain) | ||
+ | define(`SMART_HOST', | ||
+ | |||
+ | dnl Uncomment the first line to change the location of the default | ||
+ | dnl / | ||
+ | dnl define(`confCW_FILE', | ||
+ | define(`confCW_FILE', | ||
+ | |||
+ | dnl Enable for both IPv4 and IPv6 (optional) | ||
+ | DAEMON_OPTIONS(`Name=IPv4, | ||
+ | DAEMON_OPTIONS(`Name=IPv6, | ||
+ | |||
+ | define(`confBIND_OPTS', | ||
+ | define(`confNO_RCPT_ACTION', | ||
+ | define(`confPRIVACY_FLAGS', | ||
+ | dnl UUCP | ||
+ | define(`UUCP_RELAY', | ||
+ | define(`UUCP_MAX_SIZE', | ||
+ | define(`UUCP_MAILER_PATH', | ||
+ | define(`confDONT_PROBE_INTERFACES' | ||
+ | |||
+ | MAILER(local) | ||
+ | MAILER(smtp) | ||
+ | dnl UUCP | ||
+ | MAILER(uucp)dnl | ||
+ | Cw uucp_name.UUCP.user | ||
+ | Cw uucp_name.UUCP | ||
+ | divert(-1) | ||
+ | |||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | <file config / | ||
+ | |||
+ | uucp_name.natverk.org | ||
+ | uucp_name | ||
+ | uucp_name.UUCP.user | ||
+ | host | ||
+ | localhost.localdomain | ||
+ | localhost | ||
+ | |||
+ | </ | ||
+ | |||
+ | ''/ | ||
+ | |||
+ | <file config / | ||
+ | |||
+ | sdf.org uucp-dom: | ||
+ | .sdf.org uucp-dom: | ||
+ | .UUCP local: | ||
+ | .UUCP.user local: | ||
+ | . uucp-dom: | ||
+ | |||
+ | </ | ||
+ | |||
+ | $Id: uucp.html,v 1.8 2015/04/30 00:28:01 ecelis Exp $ [[http:// | ||