[woops - forgot to attach sendmail.mc #$@^$^ - attached as config.mc]

jay rearranged electrons thusly:

> /etc/sendmail.cf : line 161 : mailer smtp : ` = ' expected
> /etc/sendmail.cf : line 162 : mailer esmtp : ` = ' expected
> /etc/sendmail.cf : line 163 : mailer Msmtp8 : A = argument required
> /etc/sendmail.cf : line 164 : mailer Mrelay : A = argument required
> Can someone lead the way for me ? ;)
 
Argh.  Bhyrav Prasad's howto is a bit antiquated - and you dont need to edit
sendmail.cf at all these days .... some people on comp.mail.sendmail (including
Claus Assmann) say "Dont edit sendmail.cf - treat it as you would a compiled
binary file).  By that logic, the sendmail.mc is like the makefile you'd use to
recompile rather than patching the binary file.

Attached to this mail is a modified sendmail.mc (adapted for use on dialup
connected hosts).  Follow the instructions below ... and remember, "dnl" is the
comment string here, not # or /* */

I'm assuming sendmail 8.9.3 (in 8.10 and above, all config stuff is in
/etc/mail - aliasfile, sendmail.cf, virtusertable, mailertable etc)

1. Stop sendmail

2. Install the sendmail-cf-[your-version-number].rpm

3. Call this file below /etc/sendmail.mc ... and follow the instructions below
(oh, before I forget, BACKUP FIRST) to generate /etc/sendmail.cf.

4. Create a file /etc/service.switch (or /etc/mail/service.switch
depending on the version) ...

hosts   files
aliases files

a typical service.switch would read something like 

hosts dns files nis
aliases files nis

by the way.

5. Restart sendmail

Enjoy :)

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
"What separates normal people from kooks is how they react when people disagree
with them or tell them "NO"  <-- Ron Ritzman on news.admin.net-abuse.email

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(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
define(`SMART_HOST', `mail.satyam.net.in')
define(`confAUTO_REBUILD')
define(`confTO_CONNECT', `1m')
define(`confTO_IDENT',0)
define(`confTRY_NULL_MX_LIST',true)
define(`confDONT_PROBE_INTERFACES',true)
define(`confCON_EXPENSIVE',true)
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
define(`ALIAS_FILE',`switch:aliases,/etc/mail/aliases')
MASQUERADE_AS(`cluestick.org')
FEATURE(`masquerade_envelope')
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')
FEATURE(`accept_unresolvable_domains')
FEATURE(`accept_unqualified_senders')
dnl FEATURE(`relay_based_on_MX')
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to