[EMAIL PROTECTED] wrote:

> Subject: Sendmail 8.11
> Date: Sun, 6 Aug 2000 08:40:18 -0400 (EDT)
> From: Jake McHenry <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>
> I have been setting up my new linux machine, and have been trying to install the
> new version of Sendmail, 8.11, but have been having trouble under RH6.2. I had
> it working under 6.1. Does 6.2 come with md5? If it does, that's great. If not,
> where can I download it again? I can't remember where I got it before. I did a
> search on RedHat's site, but I don't think I found what I needed.
>
> Thanks,
>
> Jake McHenry
> [EMAIL PROTECTED]
>

I recently installed 8.11 on a va-linux 6.2.1 box and this is what I did....

after unbundling the tar file, I created a site.config.m4 file consisting of three
lines.  I wanted regular expression mapping turned on so that I could filter out
various viruses and other nasty beasts.  I also wanted TCP wrappers turned on for
connection level access control:

define(`confMAPDEF',`-DMAP_REGEX')
define(`confLIBS',`-lwrap')
APPENDDEF(`confENVDEF',`-DTCPWRAPPERS')

place the site.config.m4 file in "..../sendmail-8.11.0/devtools/Site/site.config.m4"
as specified by the build instructions.  cd to the source directory and run the
build command ("sh Build  -c").  I then installed using the build command as well.

Note, that this will trash the sendmail RPM you probably have installed.  You may
want to remove the sendmail and sendmail-cf RPM's before starting.

One classic place the transition between 8.9.3 and 8.11.0 causes grieve is the
change in location of many files.  8.11.0 puts all of its configuration files in
"/etc/mail".  You may want to change this but I would not recommend it to because it
would mess up anyone following after you.  the most common things to trip over is
moving sendmail.cf and aliases into "/etc/mail".

my sendmail.mc file is listed below.  I made some changes from the stock Red Hat mc
the file which is to turn off auto rebuild, turn off ident queries, and a few
others.  You can do the diffs if you want the full story.

I set up webmin because a not very technical person was going to administer e-mail
accounts.  I discovered a small bug in the config.info file.  you need to change the
location of the sendmail.cf file and the default settings won't you.  The first two
lines in the configuration file and with a ",8".  Change that to ",0", then change
the sendmail.cf location to /etc/mail/sendmail.cf and all of the other tools seem to
work okay.

divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify thei file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl        m4 /etc/sendmail.mc > /etc/sendmail.cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`/home/esj/sendmail-8.11.0/cf/m4/cf.m4')

define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')

dnl define(`confAUTO_REBUILD')

define(`confTO_CONNECT', `1m')
define(`confTO_IDENT',0)

dnl define(`confTRY_NULL_MX_LIST',true)
dnl define(`confDONT_PROBE_INTERFACES',true)

define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(`smrsh',`/usr/sbin/smrsh')
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
FEATURE(`virtuser_entire_domain')
dnl FEATURE(`genericstable')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(smtp)
MAILER(procmail)

FEATURE(`delay_checks')
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
FEATURE(`dnsbl')
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not hav 24x7 DNS do need this.
dnl FEATURE(`accept_unresolvable_domains')
dnl FEATURE(`relay_based_on_MX')




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to