From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 06:39:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2936A37B401 for ; Wed, 25 Jun 2003 06:39:17 -0700 (PDT) Received: from hcssun01.hcs.net (hcssun01.hcs.net [204.194.36.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DAB343FBD for ; Wed, 25 Jun 2003 06:39:16 -0700 (PDT) (envelope-from cstalvey@hcs.net) Received: from microsucks (not-used.hcs.net [204.194.36.236] (may be forged)) by hcssun01.hcs.net (8.12.9/8.12.9) with SMTP id h5PDdFDD032484 for ; Wed, 25 Jun 2003 09:39:15 -0400 (EDT) From: "Chad Stalvey" To: Date: Wed, 25 Jun 2003 09:45:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <5.2.0.9.0.20030625135621.02ffb030@mail.pragma.no> Subject: RE: spamass-milter questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 13:39:17 -0000 I use mimedefang and get this error when it is not running. Its my understanding that the definition in your .mc file is to tell sendmail where to look to get a pid for the milter so that it can pipe a message through it. The milter needs to be started before sendmail. Try doing the following: #killall sendmail #spamass-milter -p var/run/spamass-milter.sock -f #sendmail -bd Check your log and see what you've got... If that didn't work, you may have a permission problem on a related file or folder. As far as deleting messages if they are spam, with spamass, it looks like there is a patch available to redirect messages to a different folder. I'm assuming that you could hack that up a bit and send it to /dev/null, but I haven't really looked at the patch. I would suggest going to spamass home page at: http://savannah.nongnu.org/projects/spamass-milt/ and browse through there support forums. The easiest way I have used spamassassin for deleting or saving email to a users folder is with procmail. You can send it to a folder in the users home dir. named accordingly, or straight to /dev/null. I wouldn't suggest this route on a high volume mail server though. If you go this route, *****Make sure you read about the procmail bug that will corrupt the mail file by removing the 'F' from the first 'From' line of the message. There is however a simple fix for this. Mimedefang works awesome. Not only do you get the Spam filtering but you also get an antivirus scanning as well. Plus the mailling lists are very informational, and that is a big PLUS++++!! Let me know if you want to go either of the other two routes and I can help you out further with those as I have a first hand experience with them. Hope this helps you out. DEATH TO SPAM!!! Chad Stalvey Hayes E-Government Resources cstalvey@hcs.net -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Andreas Widerĝe Andersen Sent: Wednesday, June 25, 2003 8:05 AM To: freebsd-questions@freebsd.org Subject: spamass-milter questions Hi all, I have two questions releated to spamass-milter on my FreeBSD box: 1. How do I get rid of these errors? Jun 25 13:54:15 server sendmail[52687]: h5PBs8Xv052687: Milter (spamassassin): local socket name /var/run/spamass-milter.sock unsafe Jun 25 13:54:15 server sendmail[52687]: h5PBs8Xv052687: Milter (spamassassin): to error state spamass-milter is started by this line in my sendmail.cf (actually .mc before compile) file: INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') 2. How can I automatically delete messages that gets the X-Spam: Yes flag set? I want to do this for messages I forward to other server etc. Ie. virtusertable: johnny@domain.com joh@nny.com Thanks! --- Andreas Widerĝe Andersen Pragma AS http://www.pragma.no _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"