On Thu, 18 Nov 1999, Daniel Goldin said:
DG>Well, I installed 6.1, but after all this time I have no idea what I did
DG>with my old 4.2 box to get sandmail working. I believe I ended up
DG>getting smail and reading howtos for two weeks and making links to
DG>sendmail and doing something with IP Masquerade and on and on.
DG>
DG>Redhat ought to come with a mail configurator.
It does... linuxconf... blech!
DG>If anyone has a quick recipe I would greatly appreciate it. I'm a
DG>non-programmer with not a tremendous amount of time on my hands. I
DG>believe I can deal with fetchmail on my own, unless there's been big
DG>changes in an updated version on 6.1.
DG>
DG>My isp is .ix.netcom.com for what that's worth. And I'm a single user.
Make sure you've installed the sendmail-cf rpm.
Then cd /etc
cut and paste the following into a new file called new.mc in that directory.
Then follow the instructions below.
divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify the 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/new.mc > /etc/sendmail.cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`/usr/lib/sendmail-cf/m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')dnl
define(`SMART_HOST', `your.isps.mta')dnl
dnl Note that the line above has to be configured right for this to work.
dnl Put the name of your ISP's mail server where it says your.isps.mta.
OSTYPE(`linux')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(local_procmail)dnl
FEATURE(nouucp)dnl
FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
MAILER(procmail)dnl
MAILER(smtp)dnl
dnl The last 3 entries below are required for proper masquerading to work.
MASQUERADE_AS(ix.netcom.com)dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl
If you have problems subscribe to mailhelp and ask.
hth!
--
Chuck Mead, CTO, MoonGroup Consulting, Inc. <http://moongroup.com>
Mail problems? Send "s-u-b-s-c-r-i-b-e mailhelp" (no quotes and no
hyphens) in the body of a message to [EMAIL PROTECTED]
Public key available at: wwwkeys.us.pgp.net
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.