[Mimedefang] W00t, almost there Mimed and SpamA don't seem to be chattin

Tory Blue tmblue at responsys.com
Wed Aug 4 23:33:15 EDT 2004


FINALLY!! Well sort of

What a PITA, seriously. So I went ahead and just upgraded my Perl to 5.8.4,
probably was not necessary and then reinstalled all required Perl modules.
Then I had to spend X amount of time changing the permissions for my Perl
modules to world readable, why would the system knowing that usr/local/perl
is for users, lock it down to root access only?

Maybe the way I installed Perl <shrug>

Anyways, no errors and I have created with the help of some other visuals  a
script that starts Clamd/Spamassassin/Mimedefang/Sendmail in that order.
This starts up nicely, no errors everything seems to be happy.

I'm seeing some rejects due to viruses (nice, clamav has never been an
issue), I see Mimedefang adding it's lil X-header, but I am not seeing
MimeDefang talk to SA at all, or am I?!  I sent a known bad message and
nothing but the X header was added to the header of my message, but when
running against spamass-milter and SA it's blocked. So my theory is that
somewhere Mimedefang and SA are not doing what they need to do together.
(Again this SA install works with spamass-milter, no issues).

Mimedefang 2.44
SA 2.63

However I am seeing this in the logs:

Aug  4 18:21:24 gateway2 mimedefang.pl[23138]:
MDLOG,i751LNoI023693,mail_in,,,

Is that mail_in, just a statement regarding the fact the message is inbound,
or is this something to do with my whitelists, which would mean it's reading
my SA config file (or part of it!)? 

I have the following SA configs and permissions:

In /etc/mail
-rw-r--r--    1 root   root      15833 Aug  4 17:57 mimedefang-filter
-rw-r--r--    1 root     root        14767 Aug  4 14:59
mimedefang-filter.example

In /etc/mail/spamassassin:
-rw-r--r--    1 root     root         8904 Aug  2 00:25 local.cf
-rw-r--r--    1 root     root         5490 Aug  4 18:11 sa-mimedefang.cf

In the sa-mimedefang.cf file, I have added all my rules from local.cf to the
bottom (various rule modifications, scoring differences). I do not have
Bayes setup as I read there were some issues, so I will tackle that after
this is working for a bit.

And yes when I rebuild Mimedefang with the new Perl, it did see my SA
install (wouldn't see the RPM, but did see my build from the tar ball).

So what am I missing, I have gone thru the config files and Mimedefang
should see SA at runtime (thus the fact I'm starting SA before Mimedefang.

Sorry I don't have any wonderful errors to report as I resolved all of them,
but now just need to get my SA to work.

Also a note, the terminology for bounce is just so wrong. It's a
bounce/reject at time of connection, however many filters say that it will
process the entire message and rules before providing a bounce, this leads
me to believe that we are actually accepting and bouncing which is 100%
incorrect and should not happen. I drop know viruses currently and then
reject based on various reasons (Sendmail config does a lot of that for me
already).

Anyone with a link to good filter rules, examples, contribs? 

Thanks for sticking with me, I think I'm almost there!

-Tory



More information about the MIMEDefang mailing list