FreeBSD 10.1
Nombres uucp
Cada computadora en la red está identificada por un nombre uucp que consiste de cuatro a siete letras o numeros y es único dentro de una red uucp particular.
computer!computer!user
sdf!wotan!alguien
Install taylor-uucp
pkg install freebsd-uucp
mkdir -p /var/log/uucp
touch /var/log/uucp/{Log,Stats,Deug}
chown -R uucp:uucp /var/log/uucp
config
nodename uwotan
spool /var/spool/uucp
pubdir /var/spool/uucppublic
logfile /var/log/uucp/Log
statfile /var/log/uucp/Stats # The UUCP statistics file
debugfile /var/log/uucp/Debug </code>
sys
system sdf
alias mx
address uucp.sdf.org
call-login U
port
port TCP
type tcp
Running UUCP
/usr/local/bin/uux
ejecuta comandos en máquinas remotas
/usr/local/libexec/uucp/uucico
hace la llamada y configura la
transferencia de archivos.
/usr/local/libexec/uucp/uuxqt
le dice a otras máquinas que programa se
debe ejecutar para el manejo apropiado de los archivos.
/etc/mail/freebsd.mc
divert(-1)
divert(0)
VERSIONID(`$FreeBSD: releng/10.1/etc/sendmail/freebsd.mc 266698 2014-05-26 15:42:39Z gshapiro $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db, hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable,
hash -o /etc/mail/mailertable’)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable’)
dnl UUCP
dnl FEATURE(promiscuous_relay)dnl
FEATURE(accept_unresolvable_domains)dnl
dnl Enable STARTTLS for receiving email.
dnl define(CERT_DIR',
/etc/mail/certs’)dnl
dnl define(confSERVER_CERT',
CERT_DIR/host.cert’)dnl
dnl define(confSERVER_KEY',
CERT_DIR/host.key’)dnl
dnl define(confCLIENT_CERT',
CERT_DIR/host.cert’)dnl
dnl define(confCLIENT_KEY',
CERT_DIR/host.key’)dnl
dnl define(confCACERT',
CERT_DIR/cacert.pem’)dnl
dnl define(confCACERT_PATH',
CERT_DIR’)dnl
dnl define(confDH_PARAMETERS',
CERT_DIR/dh.param’)dnl
dnl Uncomment to allow relaying based on your MX records. dnl NOTE: This can allow sites to use your server as a backup MX without dnl your permission. dnl FEATURE(relay_based_on_MX)
dnl DNS based black hole lists dnl ——————————– dnl DNS based black hole lists come and go on a regular basis dnl so this file will not serve as a database of the available servers. dnl For more information, visit dnl http://en.wikipedia.org/wiki/DNSBL
dnl Uncomment to activate your chosen DNS based blacklist
dnl FEATURE(dnsbl, dnsbl.example.com')
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl,
dnsbl.example.com’, ``“550 Mail from “ $&{client_addr} “ rejected”’’)
dnl Dialup users should uncomment and define this appropriately
define(SMART_HOST',
uucp-dom:sdf’)
dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(confCW_FILE',
-o /etc/mail/sendmail.cw’)
define(confCW_FILE',
-o /etc/mail/local-host-names’)
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(Name=IPv4, Family=inet')
DAEMON_OPTIONS(
Name=IPv6, Family=inet6, Modifiers=O’)
define(confBIND_OPTS',
WorkAroundBrokenAAAA’)
define(confNO_RCPT_ACTION',
add-to-undisclosed’)
define(confPRIVACY_FLAGS',
authwarnings,noexpn,novrfy’)
dnl UUCP
define(UUCP_RELAY', uucp.sdf.org)
define(
UUCP_MAX_SIZE’, 200000)
define(UUCP_MAILER_PATH',
/usr/local/bin/uux’)dnl
MAILER(local) MAILER(smtp) dnl UUCP MAILER(uucp)dnl Cw Uwotan.UUCP divert(-1) </code>
###
- https://psg.com/~brian/doc/comms/uucp.htm
- http://www.sendmail.com/sm/open_source/docs/m4/mailertables.html
- http://www.sendmail.com/sm/open_source/docs/m4/features.html
- http://etutorials.org/Server+Administration/Sendmail/Part+I+Build+and+Install/Chapter+4.+Configure+sendmail.cf+with+m4/FEATUREuucpdomain/