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
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help