TrinityOS-Retired: Retired configs and sections from Trini- tyOS David A. Ranch, dranch@trinnet.net March 4, 2001 TrinityOS and its associated archive scripts guide the Linux user in a step-by-step fashion using a common example throughout to configure over 50+ Internet services. As technology moves forwards, configura- tion files change and some processess and applications are replaced. This document is the resting place for old configs and TrinityOS sec- tions for people who either want to see the old configs or for people who cannot upgrade their systems to the most modern and/or secure mechanisms. ______________________________________________________________________ Table of Contents 1. Retired named configs 2. Retired Sendmail configurations ______________________________________________________________________ 1. Retired named configs Retired: March 4,2001 Compiling older version of Sendmail: #For Bind 8.2.2p5 only #--------------------- ./configure --prefix=/usr 2. Retired Sendmail configurations Retired: October 7, 2000 NOTE #1: The .mc file syntax has CHANGED between Sendmail 8.8.x and 8.9.x. Because of this, use the proper .mc instructions for your version of Sendmail. I *HIGHLY* RECOMMEND THAT YOU UPGRADE to the latest 8.9.x version of Sendmail to avoid known security and spamming issues. /usr/lib/sendmail-cf/cf/trinityos.mc ______________________________________________________________________ -- #When compiling the .mc file, include that template file. include(`../m4/cf.m4') #Give the configuration a version number define(`confDEF_USER_ID',``8:12'') #Tell sendmail that the CF file is for the Linux OS OSTYPE(`linux') #Disable all legacy protocols. They are old and dead. undefine(`UUCP_RELAY') undefine(`BITNET_RELAY') #Rewrite ALL outgoing email to be from acme123.com and not somehost.acme123.com MASQUERADE_AS(acme123.com) #This also does the above trick but also works more in the header. FEATURE(masquerade_envelope) FEATURE(redirect) #If you email someone locally, say "greg" without the full domain, Sendmail will #append acme123.com to the address. "greg@acme123.com" FEATURE(always_add_domain) #Use the /etc/sendmail.cw file for what domains to allow the receiving of #email for. This option is old and will be replace with something else. FEATURE(use_cw_file) #When sending email locally, use procmail to send mail vs. sendmail. More effiecnt. FEATURE(local_procmail) #Use procmail as the local mailer. MAILER(procmail) #Enable the SMTP protocol - other options are the legacy protocols like UUCP and BitNet MAILER(smtp) #Any hosts in the deny file, their email will be dropped. This is like a manual RBL #list. HACK(check_mail3,`hash -a@JUNK /etc/mail/deny') #This is for anti-relay / anti-spam handles. HACK(use_ip,`/etc/mail/ip_allow') HACK(use_names,`/etc/mail/name_allow') HACK(use_relayto,`/etc/mail/relay_allow') #When a remote SMTP server connects to yours, make sure that it the RECIPENT address #is checked and that this site is allowed/not-allowed to relay. HACK(check_rcpt4) HACK(check_relay3) ______________________________________________________________________