[Mimedefang] New to Mimedefang
Aleksandar Milivojevic
amilivojevic at pbl.ca
Wed Nov 3 15:46:50 EST 2004
Lisa Casey wrote:
> ----- Original Message -----
> From: "David F. Skoll" <dfs at roaringpenguin.com>
> To: <mimedefang at lists.roaringpenguin.com>
> 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 <amilivojevic at pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
More information about the MIMEDefang
mailing list