Problem
After installing CSSA-2003-SCO.6.1, the anti-relaying functionality does not work anymore.
ORAfter installing CSSA-2003-SCO.6.1, the access database is not used.
Cause
The CSSA-2003-SCO.6.1 security fix does not replace your /usr/lib/sendmail.cf file, the original sendmail.cf file is left in place. There is a new sendmail.cf file that gets installed on the system, but it must be put in place and reconfigured.
Solution
First, create a backup of your existing /usr/lib/sendmail.cf file:
# cp /usr/lib/sendmail.cf /usr/lib/sendmail.cf.orig Next, the updated sendmail.cf must be put in place. This new
sendmail.cf is stored in the
/opt/K/SCO/SendMail/8.11.0a/.softmgmt/var/lib/ directory. To put
this new sendmail.cf file in place run these commands:# cd /opt/K/SCO/SendMail/8.11.0a/.softmgmt/var/lib/
# cp sendmail.cf /usr/lib/sendmail.cf Now the sendmail.cf file must be reconfigured with information about
your specific system. To do this run through "mkdev cf" and make
sure all settings are correctly established. After configuring all
the settings for your sendmail.cf file, generate a new sendmail.cf
(selection 8 from the main mkdev cf menu). This will also restart
sendmail, so the new changes will take effect without the system
needing to be rebooted. Now that the new version of Sendmail is installed, the anti-relaying
functionality is already in place by default. Mail clients may be
receiving access denied or relaying denied messages. This new
version of sendmail uses a different anti-relaying database than
previous versions of Sendmail that came with OpenServer 5.0.6
and before. This new functionality will work on OpenServer 5.0.6
and 5.0.5, with this new security fix in place. This new version
of Sendmail uses the /usr/lib/mail/access file to specify trusted
hosts and known spammers. This process is fully documented here:http://docsrv.sco.com:8507/en/MailMsgG/sndmlCspam.htmlThis /usr/lib/mail/access file is empty by default. But a sample of this file is:
cyberspammer.com ERROR:"550 We don't accept mail from spammers"
okay.cyberspammer.com OK
sendmail.org RELAY
128.32 RELAY
1:2:3:4:5:6:7 RELAY
[127.0.0.3] OK
[1:2:3:4:5:6:7:8] OKWhere 128.32 is an entire subnet that can be allowed to relay through this system. Also, specific domains can be sent specific error messages as seen in the first line. For more information, read