On 26/01/01 15:58 +0530, Binand Raj S. spewed into the LI bitstream:

> I feel vindicated for advising people to exorcise linuxconf from their
> machines. I'm sure Suresh also feels the same. :-)
 
 you said it, buddy

> lol - tried rpm -e linuxconf? Or whatever package manager your system
> uses?
 
 linuxconf --unsetmod mailconf at least
 
> cd /usr/lib/sendmail-cf/cf
> m4 redhat.mc > /etc/sendmail.cf
> /sbin/service sendmail restart
 
 or just /etc/sendmail.mc (or /etc/mail/sendmail.mc), which is what redhat has
 used to generate the default sendmail.cf
 
> sendmail - manually edit the cf file (or, edit the mc file and run m4 on
> it - much simpler). Then use the default mda of fetchmail.
 
 this is the way to go.  use this sendmail.mc (edit it please to make obvious
 changes)
 
-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
If one studies too zealously, one easily loses his pants.
                -- A. Einstein.
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(`/usr/lib/sendmail-cf/m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTRY_NULL_MX_LIST',true)
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(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(smtp)
MAILER(procmail)
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
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.
FEATURE(`accept_unresolvable_domains')
dnl FEATURE(`relay_based_on_MX')
----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to