From owner-freebsd-questions@FreeBSD.ORG Tue Feb 17 05:05:59 2004 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 D619716A4CE for ; Tue, 17 Feb 2004 05:05:59 -0800 (PST) Received: from mail03.agrinet.ch (mail03.agrinet.ch [81.221.250.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6D1B43D45 for ; Tue, 17 Feb 2004 05:05:59 -0800 (PST) (envelope-from michel.schwab@tpn.ch) Received: from BADBOYLAPTOP (80.254.181.163) by mail03.agrinet.ch (7.0.024) id 402AB4D7000F386E for freebsd-questions@freebsd.org; Tue, 17 Feb 2004 14:05:57 +0100 Message-ID: <021f01c3f556$bced0b70$c501fe0a@BADBOYLAPTOP> From: "Michel Schwab" To: References: <20040216091316.98506.qmail@web9602.mail.yahoo.com><20040216130911.7d28e700@it.buh.cameradicommercio.ro><20040217043730.GA17079@tao.thought.org> <20040217142612.6b520bef@it.buh.cameradicommercio.ro> Date: Tue, 17 Feb 2004 14:05:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: spam removal 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: Tue, 17 Feb 2004 13:06:00 -0000 Hi I read this tread, great idee to add a spam feature. so i do it, install with the ports. I work with sendmail, no mysql db behind. make install done. chance the Mlocal Setting, add aliases, and restart sendmail. Now Message it's comming up to me, but when i send a email to spam-xx@xxx.xx, it's now comming: ----- The following addresses had permanent fatal errors ----- "|'/usr/local/bin/dspam' --user 'spamtest' --addspam" (reason: 126) (expanded from: ) ----- Transcript of session follows ----- /usr/local/bin/dspam: permission denied 554 5.3.0 unknown mailer error 126 there are my configs: SENDMAIL.CF Mlocal, P=/usr/local/bin/dspam, F=lsDFMAw5:/|@qfSmn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=dspam --user $u -d %u TRUSTED USERES root smmsp daemon www mailnull Can me help some? tnx Michel ----- Original Message ----- From: "Ion-Mihai Tetcu" To: "Gary Kline" Cc: "Olga Zenkova" ; Sent: Tuesday, February 17, 2004 1:26 PM Subject: Re: spam removal > > [ Sorry for the delay, I was (and still am) rebuilding everything with > pthread on my desktop. ] > > > On Mon, 16 Feb 2004 20:37:30 -0800 > Gary Kline wrote: > > > On Mon, Feb 16, 2004 at 01:09:11PM +0200, Ion-Mihai Tetcu wrote: > [..] > > > > Hi, > > > > I'd be grateful for some tips on how to get dspam up. I > > installed it after reading your mail; then I waded into the > > long README and felt nearly overwhelmed. > > Yeh, I know. I will hopefully rewrite the readme and add some docs on > the next release. > > > I've used mysql to set up several message boards,, but that's about > > the extent of my knowledge. > > No problem here. The first question is: do you have your mail users in a > mysql database or they are in the system ? > > If they are in the system use dspam_2mysql to generate the table for > dpsam from the passwd file, and use dspam_genaliases to generate the > spam aliases for each user to forward the spam to. > > As a general note, until you're convince the hole system works ok > compile dpam with verbose_debug. As currently the port doesn't offer > that, just add: > > CONFIGURE_ARGS+=--enable-debug \ > --enable-verbose-debug > > just above: > > .if defined(WITH_MYSQL) > > > Be aware that this will produce * a lot * of noise on a busy system (It > will log a copy of each mail in /usr/local/etc/dspam/dspam.messages, in > dspam.debug it will log how it applies the algorithms ans some sql debug > info in dspam.messages and the sql queries and results in sql.errors) > And when I say a lot I mean about 100MB for about 10.000 mails.. Also I > would suggest turning off mysql query log if it's on (I nicely run out > of space, for the same amount of messages it eats up about 500MB). > > Make an test user so that you don't have all your mails passed to dspam > until it working ok. > > > I've been using /etc/mail/access that catches tons of > > spam. It would be great if dspam could do the rest! > > You can use dspam between your MTA and LDA for local delivery. Or do a > more complex setup and re-inject the mail into the MTA. > > Give me some more details, please. > > -- > IOnut > Unregistered ;) FreeBSD user > > _______________________________________________ > 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" > > > !DSPAM:40320d045721998092570! > > >