René Berber wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

analyzer wrote:
[snip]

Sry, I restarted sendmail after changing the sendmail.cf. I try to start
milter, but there is the same error.

The same error?

How did you change sendmail.cf or sendmail.mc? and

What is the value of LocalSocket in /etc/clamd.conf (or 
/usr/local/etc/clamd.conf)?

The sequence is start the milter first, then (if there was no error) start 
sendmail.
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkOXQsYACgkQL3NNweKTRgxtJwCdEOOQkhgDjyyy8Reb1qkhq1M4
FNAAoJ+0xMhvwu6E3hztuR1GsQN2XCUY
=f5UD
-----END PGP SIGNATURE-----

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


Using the m4 macro genorrator on linux I create the sendmail.cf file from an m4 macro called an .mc file This is where the milter def goes not the sendmail.cf file... Here is a sample

divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:13'')
define(QUEUE_DIR,`/var/spool/mqueue/q*')
define(`confBAD_RCPT_THROTTLE', `1')dnl
OSTYPE(`linux')
undefine(`BITNET_RELAY')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file,/etc/mail/sendmail.cw)
FEATURE(local_procmail)
FEATURE(relay_based_on_MX)
FEATURE(access_db, hash -T<TMPF> /etc/mail/access)
FEATURE(`delay_checks')dnl
FEATURE(mailertable, hash /etc/mail/mailertable)
FEATURE(virtusertable, hash /etc/mail/virtusertable)
FEATURE(dnsbl,sbl-xbl.spamhaus.org)dnl
FEATURE(`greet_pause',5000)
MAILER(smtp)
MAILER(procmail)
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/milter/clmilter.sock, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')

the define(`confBAD_RCPT_THROTTLE', `1')dnl
and FEATURE(`greet_pause',5000)

are good for stopping spammers.

James


--
James Conner
Passageway Communications
Phone: 403-862-2290

Photo Galleries: http://www.pbase.com/bish0p
Random Ramblings: http://blogs.passageway.com/james

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

Reply via email to