APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > mmdf relays ––>Re: MMDF to Sendmail 8.11.0 howto SCOOpenserver 5.0.x sco-generic.mc file
Printer Friendly Version




News Group Posts

mmdf relays




From: dowagiac_2000@yahoo.com (Matt Lewis)
Subject: Re: MMDF to Sendmail 8.11.0 howto SCO Openserver 5.0.x  sco-generic.mc file
Date: 19 Oct 2002 09:29:23 -0700
References: <689c0837.0208221634.38b9dc05@posting.google.com>
<1939581.1034859628@dbforums.com> Here is the sco-generic.mc file in full that I put at then end of my original article. This includes smrsh and a few othe security items the original did not. Copy and past below into a file and call it sco-generic.mc move this to /usr/local/sendmail-8.11.0/cf/cf. Then run m4 sco-generic.mc > /usr/lib/sendmail.cf as per instructions in previous posting. --Matt


divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
#       All rights reserved.
# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
# Copyright (c) 1988, 1993
#       The Regents of the University of California.  All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
divert(0)dnl
dnl #################### Setup ##################################
include(`/usr/local/sendmail-8.11.0/cf/m4/cf.m4')
VERSIONID(`$Id: sco-generic.mc,v 1.00 2002/07/12 ML Exp $')dnl
OSTYPE(`sco3.2')dnl

dnl ################### Network Specific ########################
MASQUERADE_AS(`test.testdomain.com')dnl

dnl ################### Server Specific #########################
dnl # Commonly used Files
define(`ALIAS_FILE',`/usr/lib/mail/aliases')dnl
define(`confCR_FILE',`/usr/lib/mail/relay-domains')dnl
define(`confCW_FILE',`/usr/lib/mail/local-host-names')dnl
define(`STATUS_FILE',`/usr/lib/mail/statistics')dnl

dnl # SCO Openserver Specific variables and options  
dnl # Needed to fix error with /usr/lib/uucp/ permission on SCO
OpenServer
define(`confDONT_BLAME_SENDMAIL',`GroupWritableDirPathSafe')dnl

dnl # Options to correct deficient bind setup under SCO Openserver.  
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl














dnl ################## Features ################################
FEATURE(`access_db',`hash /usr/lib/mail/access')dnl 
FEATURE(`use_cw_file')dnl
FEATURE(`masquerade_envelope')dnl

dnl # Restricted Shell for security
FEATURE(`smrsh')

dnl ################# Parameters ###############################
EXPOSED_USER(`root')
define(`confHOST_STATUS_DIRECTORY',`/usr/adm/sendmail')dnl
define(`confMAX_DAEMON_CHILDREN',`25')dnl
define(`confMAX_MESSAGE_SIZE',`15000000')dnl
define(`confMAX_RCPTS_PER_MESSAGE',`50')dnl
define(`confPRIVACY_FLAGS',`goaway')dnl
define(`confBAD_RCPT_THROTTLE',`10')dnl

dnl ################# Mailer Definitions #######################
MAILER(`local')dnl
MAILER(`smtp')dnl

dnl ################ Local Rulesets ############################
dnl # Ruleset to block incoming mail by searching subject for blocked
words
dnl # or phrases
dnl # Note: Multi word entries in blocked_subjects file must have 
dnl # spaces replaced by "." Exa.  "this is it" becomes "this.is.it"
dnl # Any changes to blocked_subjects file require a restart or HUP of
dnl # Sendmail. exa (kill -HUP "pid of sendmail")

LOCAL_CONFIG
F{MRej} /usr/lib/mail/blocked_subjects

LOCAL_RULESETS
HSubject: $>CheckSubject
D{MMsg} Mail blocked.
SCheckSubject
R$* $={MRej}$*          $#error $: 550 ${MMsg}
 

If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - MMDF
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here