Here is my sendmail.mc

divert(-1)
dnl This is the sendmail macro config file. If you make changes to this
file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/sendmail.cf by running the following command:
dnl
dnl        m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')dnl
OSTYPE(`linux')
define(`confDEF_USER_ID',``8:12'')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
undefine(`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
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/sendmail.st')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confDOMAIN_NAME',`lucidindia.net')
dnl define(`SMART_HOST',`mail.lucidindia.net')
dnl TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN NTLM DPA')dnl
dnl define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN NTLM
DPA')d
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
MASQUERADE_AS(`lucidindia.net')
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(local_procmail)dnl
FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl This changes sendmail to only listen on the loopback device 127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
dnl O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Name=MTA
O DaemonPortOptions=Port=smtp,Addr=192.168.1.100,Name=MTA
O DaemonPortOptions=Port=smtp,Addr=192.168.0.200,Name=MTA
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 have 24x7 DNS do need this.
FEATURE(`accept_unresolvable_domains')dnl
dnl FEATURE(`relay_based_on_MX')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
INPUT_MAIL_FILTER(`clmilter', `S-local:/var/run/clmilter.sock, F=,
T=S:4m;R:4m')
dnl
define(`confINPUT_MAIL_FILTERS',`clmilter')




----- Original Message -----
From: "Rob MacGregor" <[EMAIL PROTECTED]>
To: "ClamAV users ML" <clamav-users@lists.clamav.net>
Sent: Wednesday, June 08, 2005 11:45 AM
Subject: Re: [Clamav-users] Error while starting sendmail


> On 08/06/05, ladha <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I installed ClamAV and integrated with Sendmail.  But when I start the
sendmail service I received the following error.
> >
> > Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 1657:
Xclmilter: `=' expected
> > 451 4.0.0 InputFilter clmilter not defined: No such file or directory
> > ^[[60G[^[[0;31mFAILED^[[0;39m]
>
> Looks like you have, at the very least, a typo in your sendmail.mc.
> I'd suggest you re-read the documentation and compare against what
> you've got.
>
> If you can't spot the problem, post your sendmail.mc (do not post your
> sendmail.cf file!).
>
> --
>                  Please keep list traffic on the list.
> Rob MacGregor
>       Whoever fights monsters should see to it that in the process he
>         doesn't become a monster.                  Friedrich Nietzsche
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to