Lisa Casey wrote:
----- Original Message ----- From: "David F. Skoll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 03, 2004 8:35 AM
Subject: Re: [Mimedefang] New to Mimedefang




On Wed, 3 Nov 2004, Lisa Casey wrote:


su -c 'cp examples/init-script /etc/init.d/mimedefang'

in examples, there was not a file called init-script. There is an
init-script.in which is what I copied over.

Well, that's your problem -- that won't work. When you ran ./configure, it should have created init-script from init-script.in. Did you run ./configure?

--
David.



Yes, but I reran ./configure (and read the instructions that came with MD) and now MIMEDefang starts up when I start Sendmail.

Here's another problem (?) though: I added this to my sendmail.mc:

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')

and regenerated sendmail.cf from sendmail.mc. But when I look at
sendmail.cf, I don't see anything referring to MIMEDefang, or MAIL_FILTER at
all. I'm wondering if this got into my sendmail.cf at all.  How do I tell if
MIMEDefang is working?

Grep for 'mimedefang' (all lowercase). You should see a line starting with 'O' and a line starting with 'X'.


You can tell that MIMEDefang is working if your machine start to feel slow ;-)

Lines like the one bellow in Sendmail log files is good indication that it is running:

   Milter add: header: X-Scanned-By: MIMEDefang 2.xx on 1.2.3.4

Good idea when you are still building mimedefang-filter file is to have it log everything it does. My personal preference is using md_syslog() for this (not md_graphdefang_log()).

--
Aleksandar Milivojevic <[EMAIL PROTECTED]>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to