That's a good question. Usually, there is a README file in the "cf" subdirectory of the sendmail configuration (m4) sources that explains this for your platform. I don't know where this is on a debian system. Its in /usr/share/sendmail on FreeBSD. FreeBSD also has makefiles for everything and generating a new cf is as simple as typing make filename.cf, but I really don't know where debian puts theirs.
sendmail.org has some decent instructions on how to do this by hand, but it will still require locating a few bits and pieces on your debian system. Sorry I couldn't be of more help. You may also want to try the debian-users list for debian specific sendmail help. rgr On Mon, 1 Dec 2003 15:18:18 +0100, Patrik wrote > Richard, > > I have not generated a new /etc/mail/sendmail.cf > Im not that familiar with sendmail, how do i generate a new one? > > Thanks, > Patrik > > ----- Original Message ----- > From: "Richard G. Roberto" <[EMAIL PROTECTED]> > Newsgroups: gmane.comp.security.virus.clamav.user > Sent: Monday, December 01, 2003 12:55 AM > Subject: Re: Problems with clamav-milter + sendmail > > Patrick, > > When you modified the sendmail.mc file, did you then use it to > generate a new sendmail.cf file and move it into the right place > (not sure where that is on a debian system, but its usually > /etc/mail/sendmail.cf) -- then restart sendmail? > > If so, you should set the log level to something suitably high and > make sure syslogd is configured to log the mail facility correctly > (usually mail.debug gets sent to its own file, but again, I don't > know debian). The following .mc file entries should do the trick > (but you can also just modify the .cf directly just to test this): > > define(`confLOG_LEVEL', `10') > define(`confMILTER_LOG_LEVEL', `10') > > Once this is done, you should see messages from sendmail complaining > about why it can't talk to the milter. That should help identify > the problem. > > I hope that helps. > > rgr > > On Sun, 30 Nov 2003 10:51:24 +0100, Patrik wrote > > First of all, ive checked the other threads about this. > > So, running debian and having problems getting clamav-milter to work > together with sendmail. > > I've done what the documentation said and that is: > > Installed debian packages: clamav-base, clamav, clamav-milter, clamav- > daemon and the freshclam package (incl libs). > > I've run dpkg-reconfigure clamav-daemon to configure it and the > clamav.conf looks like this: > > > > #To reconfigure clamd run #dpkg-reconfigure clamav-daemon > > LocalSocket /var/run/clamd.ctl > > ScanMail > > ScanArchive > > StreamSaveToDisk > > StreamMaxLength 50M > > ArchiveMaxRecursion 5 > > ArchiveMaxFiles 1000 > > ArchiveMaxFileSize 10M > > ThreadTimeout 180 > > MaxThreads 5 > > MaxConnectionQueueLength 15 > > LogFile /var/log/clamav-daemon.log > > LogTime > > PidFile /var/run/clamd.pid > > DataDirectory /var/lib/clamav/ > > SelfCheck 3600 > > > > I've added the following to /etc/mail/sendmail.mc: > > > > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.clt, F=, > T=S:4m;R:4m')dnl > > define(`confINPUT_MAIL_FILTERS', `clmilter') > > > > clamd is started and clamav-milter to with: /usr/sbin/clamav-milter - > blo /var/run/clmilter.clt > > > > Then I've restarted sendmail just as the documentation says but it doesnt > work. > > The mailheader doesnt say anything about X-Virus-Scanner or nothing, I've > tried to send a mail with the clamav-signature virus but nothing. > > /var/log/mail.log looks like this after I send a mail: > > > > Nov 30 10:50:00 linux sm-mta[25088]: AUTH=server, relay=xxxx.xxxxx.xxx > [xxx.xxx.xxx.xxx], authid=web25p1, mech=LOGIN, bits=0 > > Nov 30 10:50:01 linux sm-mta[25088]: xxxxXXXxxXXxx: [EMAIL PROTECTED], > size=1137, class=0, nrcpts=1, > msgid=<[EMAIL PROTECTED]>, proto=ESMTP, > daemon=MTA, relay=xxxxxx.xxxx.xxxx [xxx.xxx.xxx.xxx] > > Nov 30 10:50:01 linux sm-mta[25091]: xxxxXXXXxxxXXx: to=<[EMAIL PROTECTED]>, > > ctladdr=<[EMAIL PROTECTED]> (1276/106), delay=00:00:00, > xdelay=00:00:00, mailer=esmtp, pri=30434, relay=xxxxx.xx. > [xxx.xxx.xxx.xxx], dsn=2.0.0, stat=Sent (Ok: queued as E996C4095) > > > > Well xxx...xxx is ofcourse something else, but it doesnt look like > anything went wrong. > > What might be the problem? > > > > Thanks, > > Patrik > > > > > > -- > Richard G. Roberto > [EMAIL PROTECTED] > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users -- Richard G. Roberto [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users