[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Spamassassin on Debian HOWTO?



Finally tried today.

NONE of the usual methods of installing SpamAssassin with Sendmail work,
because they're either insanely poorly documented, or assume local delivery. 
This server forwards 100% of its mail to other sites and domains for final
delivery.

So I decided to try mimedefang as suggested by Lucas Albers

On Mon, Dec 15, 2003 at 11:17:06PM -0700, Lucas Albers wrote:

> The debian installation is by far the easiest linux installation.
> apt-get install mimedefang.

No, it isn't.  As mentioned in my original message, I use stable.  Of
course, mimedefang isn't in the horribly obsolete stable, and there's no
backport.  Instructions at mimedefang.org would require me to recompile
sendmail!

I did try one of the poorly-documented alternatives to enable site-wide
SpamAssassin, but changing one line in sendmail.mc and using m4 caused this
enlightening error message:

  sendmail.mc:54: m4: Cannot open /usr/share/sendmail/cf/mailer/.m4: No such
  file or directory
  *** ERROR: FEATURE() should be before MAILER()

Oddly, the relevant portion of sendmail.mc (beginning with line 53) is

  ##m4 informs me that this line must be before MAILER
  FEATURE('local_procmail')dnl
  ##Force delivery to be via procmail
  dnl #
  dnl # Dialup/LAN connection overrides
  dnl #
  include(`/etc/mail/dialup.m4')dnl
  include(`/etc/mail/provider.m4')dnl
  dnl #
 
  MAILER_DEFINITIONS
  MAILER(local)dnl
  MAILER(smtp)dnl

Surely FEATURE *is* before MAILER?  And what file name is it really looking
for that ends in ".m4"?

Man, this is frustrating.  I guess I'll look for alternatives to
SpamAssassin, something that isn't so incredibly and pointlessly hard to
use.
--      
Carl Fink             carl@fink.to
Jabootu's Minister of Proofreading
http://www.jabootu.com



Reply to: