[Mimedefang] HELP! Can no longer receive/send email after kernel upgrade

Paul Whittney pwhittney at net.arrivetech.com
Fri Jun 17 12:35:54 EDT 2005


>From the email address, I'm assuming this is painfully affecting your site.

What follows may not be ideal, but if you really need things running...

(If I make an error, please tell me, emergency failover is something I'm
interested in, rather than temp fail.. in some cases, but I've not had 
much time to spend on the topic)

If you know perl, then you could copy the current mimedefang-filter code
to mimedefang-filter.bak, and edit out all the spamassassin hooks.
But, if the code is incorrectly commented out, mimedefang wont run
(just like now).

Or, you could comment out the milter lines in the sendmail.cf file, and
restart sendmail.

NOTE : NOTE : NOTE
* This no longer protects your site with mimedefang, and possibly
any virus checking that it would do. 
* If mimedefang adds boilerplate items on outgoing email, no disclaimers
will be added.
* This method is what I would consider the last resort

I haven't tested this, but I think the lines in sendmail that control
the milter execution are:

# Input mail filters
O InputMailFilters=mimedefang
...
Xmimedefang, S=unix:/var/spool/MIMEDefang/mimedefang.sock, \
	F=T, T=S:360s;R:360s;E:15m

Comment, or delete (backup the file first!!!) and restart sendmail.
I would assume they exist in /etc/mail/sendmail.cf

Questions that I fail to know the answers to:
* Does the InputMailFilters really define what to run on it's own?
* Are there any addition milter hooks in sendmail that will fail
due to no InputMailFilters=mimedefang in there?
* Are there multiple milters, and how to remove just mimedefang?
* Is the default InputMailFilters line a null string, or should
InputMailFilters= and list no items?

-Paul

On Fri, Jun 17, 2005 at 10:32:15AM -0400, Sylvain Gagnon wrote:
> I need help urgently, our unix admin is away for the weekend and just
> before leaving yesterday, he upgraded the mail server OS to Debian 3.1
> Since then, no email is able to go through the mail server :-(
> 
> Looking at the /var/log/mail.log file, I see the following:
> 
> Can't locate object method "new" via package "Mail::SpamAssassin" at
> /usr/local/bin/mimedefang.pl line 6085. Compilation failed in require
> at /usr/local/bin/mimedefang.pl line 4836
> 
> Any help at solving this problem will be greatly appreciated.
> 
> Thanks.
> 

-- 
Paul Whittney                                  ArriveTech, Inc.
Network Specialist / Systems Engineer         / |670 West 36th Street,
                                             /--|Erie, PA, 16508, USA
PWhittney [at] arrivetech.com (Main)        /   |www.arrivetech.com 
PWhittney [at] net.arrivetech.com (Aux)    /    |Tel: 814 868 3306



More information about the MIMEDefang mailing list