Re: procmail and anti-spam
On 31 Dec Giorgos Keramidas wrote: On 2002-12-30 13:24, dick hoogendijk [EMAIL PROTECTED] wrote: define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') a) Why /usr/bin/procmail and not the default path of the procmail port installation [/usr/local/bin/procmail]? I use procmail for local delivery and all I needed to add to my local.mc file was: FEATURE(`local_procmail') MAILER(procmail) Thanks for the reply. I like procmail as my local mail delivery. Sorry for the path; it's an old habit. On my linux debian box procmail is in /usr/bin; the rule came out of an old linux sendmail.ms file ;-) It can't harm to give the correct path (/usr/local/bin/procmail) in the sendmail.mc file, so I'll keep it in. Things run smoothly already.. b) You don't really need to use procmail as the delivery agent of ALL the local users. You can enable procmail on a per-user basis by proper .forward files in their home directories. Yeah, I've heard. I'm not quit sure about the correct syntax of the .forward file. -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
On 2002-12-31 09:56, dick hoogendijk wrote: On 31 Dec Giorgos Keramidas wrote: b) You don't really need to use procmail as the delivery agent of ALL the local users. You can enable procmail on a per-user basis by proper .forward files in their home directories. Yeah, I've heard. I'm not quit sure about the correct syntax of the .forward file. It is described in detail in forward(5). Try looking through that manpage for more information. A very simple .forward file that I use at home looks like: % cat .forward |/usr/local/bin/procmail - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam ..sendmail is dead
Use postfix. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
Take a look at spamprobe in /usr/ports/mail/spamprobe. It uses Bayesian analysis and catches about 99% of the spam I get (and I get a *ton*). Also see http://sourceforge.net/projects/spamprobe/ for more information. Everybody who reacted I say thank you! I'm gonna try a few filter programs to see what does the job best. Beginning with spamassassin (of maybe spamoracle or spamprobe). In all cases I have to adjust the local mailer statement in my sendmail. It runs the way it came out-of-the-box (fbsd-4.7R) Local mail is *not* delivered by procmail by default. I think I have to put the following lines into sendmail.mc define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u') MAILER(procmail)dnl Am I right about this or do I put them in submit.mc? If procmail runs w/ sendmail any integration with anti-spam will be an easy job w/ all these fine advices I got ;-)) -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
On Monday, December 30, 2002, at 04:05 AM, dick hoogendijk wrote: Take a look at spamprobe in /usr/ports/mail/spamprobe. It uses Bayesian analysis and catches about 99% of the spam I get (and I get a *ton*). Also see http://sourceforge.net/projects/spamprobe/ for more information. Everybody who reacted I say thank you! I'm gonna try a few filter programs to see what does the job best. Beginning with spamassassin (of maybe spamoracle or spamprobe). In all cases I have to adjust the local mailer statement in my sendmail. It runs the way it came out-of-the-box (fbsd-4.7R) Local mail is *not* delivered by procmail by default. I think I have to put the following lines into sendmail.mc define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u') MAILER(procmail)dnl Am I right about this or do I put them in submit.mc? Spamprobe doesn't require any changes to sendmail, you only need to tweak your .procmailrc. - jim -- jim mock mij@{soupnazi|opendarwin}.org [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u') MAILER(procmail)dnl Am I right about this or do I put them in submit.mc? Spamprobe doesn't require any changes to sendmail, you only need to tweak your .procmailrc. I know that, but sendmail does *not* use procmail for the local mail delivary *yet*. It doesn't do that by default, hence my question ;-) -- dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
On 2002-12-30 13:24, dick hoogendijk [EMAIL PROTECTED] wrote: define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u') MAILER(procmail)dnl Am I right about this or do I put them in submit.mc? Spamprobe doesn't require any changes to sendmail, you only need to tweak your .procmailrc. I know that, but sendmail does *not* use procmail for the local mail delivary *yet*. It doesn't do that by default, hence my question ;-) Two minor points. a) Why /usr/bin/procmail and not the default path of the procmail port installation [/usr/local/bin/procmail]? I use procmail for local delivery and all I needed to add to my local.mc file was: FEATURE(`local_procmail') MAILER(procmail) b) You don't really need to use procmail as the delivery agent of ALL the local users. You can enable procmail on a per-user basis by proper .forward files in their home directories. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
Dear/Beste dick, Sunday, December 29, 2002, 5:12:16 PM, you wrote: Hello, It need not be state-of-the-art, but a good .procmailrc-file that filters a lot of spam would come in very handy. Does any of you have such a file and would you be willing to share it with me (us?). Links to procmail and anti-spam would also be welcome. Thanks 2all. I beleave there is a port available called Spambouncer. There is a discussion going on the security list about this port. -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (12.29.2002 @ 0812 PST): dick hoogendijk said, in 0.5K: It need not be state-of-the-art, but a good .procmailrc-file that filters a lot of spam would come in very handy. Does any of you have such a file and would you be willing to share it with me (us?). end of procmail and anti-spam from dick hoogendijk This is what's in mine: :0fw | /usr/local/bin/spamassassin :0 * ^X-Spam-Status: Yes bullshit/ Here's what it does: It passes the mail through spamassassin (/usr/ports/mail/p5-Mail-SpamAssassin), which will append a header named X-Spam-Status to the mail. If that header exists, the mail is directed into an appropriately named folder. I now get between 50 and 60 spam messages a day (just one of the perks of being a FreeBSD committer active on the mailing lists, I suppose), and spamassassin catches about 95% of them. To be honest, my procmail filter is a tad different. I have spamd running from /usr/local/etc/rc.d, and my spamassassin filter line is actually | /usr/local/bin/spamc. Same difference, though. # Adam - -- Adam Weinberger vectors.cx[EMAIL PROTECTED] FreeBSD.org [EMAIL PROTECTED] Bayer Berkeley[EMAIL PROTECTED] #vim:set ts=8: 8-char tabs prevent tooth decay. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Dyrvo8KM2ULHQ/0RAgw6AJoDeHelfCQiDGFdjqE63oQ6AsTbiACfbkXW OWcM8SthPGh0BV6JhQQTS8g= =caTa -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
At 09:03 AM 12.29.2002 -0800, Adam Weinberger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (12.29.2002 @ 0812 PST): dick hoogendijk said, in 0.5K: It need not be state-of-the-art, but a good .procmailrc-file that filters a lot of spam would come in very handy. Does any of you have such a file and would you be willing to share it with me (us?). end of procmail and anti-spam from dick hoogendijk This is what's in mine: :0fw | /usr/local/bin/spamassassin :0 * ^X-Spam-Status: Yes bullshit/ Here's what it does: It passes the mail through spamassassin (/usr/ports/mail/p5-Mail-SpamAssassin), which will append a header named X-Spam-Status to the mail. If that header exists, the mail is directed into an appropriately named folder. I now get between 50 and 60 spam messages a day (just one of the perks of being a FreeBSD committer active on the mailing lists, I suppose), and spamassassin catches about 95% of them. To be honest, my procmail filter is a tad different. I have spamd running from /usr/local/etc/rc.d, and my spamassassin filter line is actually | /usr/local/bin/spamc. Same difference, though. # Adam Adam: I use Sendmail-8.12.6 with spamassassin my question of you is about your spamassassin setup. I just installed SA + Spamass-Milter and they seemed to be working fine, except for this I keep seeing in the maillog (I posted this on the SpamassTalk list, but no response): Dec 29 11:14:49 sage-american spamd[72550]: info: setuid to root succeeded Dec 29 11:14:49 sage-american spamd[72550]: Still running as root: user not specified, not found, or set to root. Fall back to nobody. I load spamd from /usr/local/etc/rc.d also and it does NOT set the root specifically as the user. If I added -username root switch to the spamd startup, would the above messages stop...??? ...have you seen the above message youself? Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: procmail and anti-spam
On Sunday, December 29, 2002, at 08:12 AM, dick hoogendijk wrote: Hello, Hi, It need not be state-of-the-art, but a good .procmailrc-file that filters a lot of spam would come in very handy. Does any of you have such a file and would you be willing to share it with me (us?). Links to procmail and anti-spam would also be welcome. Take a look at spamprobe in /usr/ports/mail/spamprobe. It uses Bayesian analysis and catches about 99% of the spam I get (and I get a *ton*). Also see http://sourceforge.net/projects/spamprobe/ for more information. - jim -- jim mock mij@{soupnazi|opendarwin}.org [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message