Amavisd-new + spam assassin tuning?
Hi all, Perhaps this is not the best place to ask this, but if so, I hope someone can quickly point me in the right direction. The situation: On my FreeBSD live box I have set up a split Sendmail RX set of daemons, such that incoming mail gets tunneled through Amavisd-new + ClamAV + SpamAssassin, and then gets delivered to the recipients on my machine (unless filtered out by the above programs). This works fine, however, I'm getting more and more spam, and it seems Spam Assassin is not filtering out a lot using its default settings. The question(s): I'd like to tune Spam Assassin such that it filters out much more spam, whilst letting (almost) all proper messages through. Thunderbird's spam controls are pretty good at filtering out spam, and I was hoping perhaps Spam Assassin can also be taught and/or configured to filter out spam very efficiently, whilst letting all (or at least almost all) of the real messages through. Can anyone tell me how to best go about this, and/or (in case this isn't the right place to ask this question) where I can best read up about achiving this? Tnx a lot in advance, and cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Amavisd-new + spam assassin tuning?
On Aug 15, 2007, at 1:19 PM, Olaf Greve wrote: The question(s): I'd like to tune Spam Assassin such that it filters out much more spam, whilst letting (almost) all proper messages through. Thunderbird's spam controls are pretty good at filtering out spam, and I was hoping perhaps Spam Assassin can also be taught and/or configured to filter out spam very efficiently, whilst letting all (or at least almost all) of the real messages through. Can anyone tell me how to best go about this, and/or (in case this isn't the right place to ask this question) where I can best read up about achiving this? You want to feed spam and ham messages to sa-learn (it has a manpage), as well as running sa-update every once in a while to pick up updated SpamAssassin rulesets. There's a website with lots more info here: http://spamassassin.apache.org/ -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl error with Spam Assassin?
SA is a black box to troubleshoot, so many interrelated stuff. portupgrading isn't wise on a SA server. When I deploy SA I build the initial server from ports as well as SA, from that point on, all SA upgrades are manual. Once the rest of the code on the server gets too old for production, the server is cycled out and replaced with a new one that's a new initial build. I realize this won't probably help you to solve the problem but may help you avoid it in the future. In your case since you undoubtedly don't want to take the server down to the bear metal, all I can recommend is make deinstall SA and all dependent programs, including all perl modules as well as perl itself. Then cvsup ports, and make install SA Good luck with it. Ted - Original Message - From: David Kelly [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Thursday, December 28, 2006 7:40 PM Subject: Perl error with Spam Assassin? I *think* the following is coming from Spam Assassin, which is launched by procmail, which is launched by fetchmail (so any of those could be the guilty party if they use perl). [31161] warn: (?:(?=[\s,]))* matches null string many times in regex; marked by -- HERE in m/\G(?:(?=[\s,]))* -- HERE \Z/ at /usr/ local/lib/perl5/site_perl/5.8.8/Text/Wrap.pm line 46. Anyone else? Any suggestion as to what I may be doing wrong? Can't say that I can associate the occurance of the above with any portupgrade or similar. Might have been a portupgrade or a buildworld which started the error messages. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Perl error with Spam Assassin?
I *think* the following is coming from Spam Assassin, which is launched by procmail, which is launched by fetchmail (so any of those could be the guilty party if they use perl). [31161] warn: (?:(?=[\s,]))* matches null string many times in regex; marked by -- HERE in m/\G(?:(?=[\s,]))* -- HERE \Z/ at /usr/ local/lib/perl5/site_perl/5.8.8/Text/Wrap.pm line 46. Anyone else? Any suggestion as to what I may be doing wrong? Can't say that I can associate the occurance of the above with any portupgrade or similar. Might have been a portupgrade or a buildworld which started the error messages. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
It is possible to reject during the connection during the DATA phase. Using exim and sa-exim glue, with spamassassin, this is what I do. The sender gets a 5xx rejection with the message: UCE not OK it is possible, but what I meant was it is highly not advisable. You never know what the end of the message will give to. The message can look like spam at the begining and end-up being non-spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
On Jul 17, 2005, at 8:35 PM, Olivier Nicole wrote: It is possible to reject during the connection during the DATA phase. Using exim and sa-exim glue, with spamassassin, this is what I do. The sender gets a 5xx rejection with the message: UCE not OK it is possible, but what I meant was it is highly not advisable. You never know what the end of the message will give to. The message can look like spam at the begining and end-up being non-spam. Well, what I meant, was that you process it before you acknowledge the receipt in the DATA phase but after it is sent so you can immediate reject it. Chad Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
How aout asking this on the spamassassin users email list? -- Martin On 7/12/05, Sean Murphy [EMAIL PROTECTED] wrote: I've installed Spam Assassin and MIMEDefang with Sendmail however I would like Spam Assassin to tell sendmail to Reject Spam on the connection. Instead of accepting the spam and marking it so users then can filter on the spam tag. Can Anyone share there code in the MIMEDefang Filter to do this. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
I've installed Spam Assassin and MIMEDefang with Sendmail however I would like Spam Assassin to tell sendmail to Reject Spam on the connection. 1) SpamAssassin cannot detect spam until it has received and analyzed the FULL message, so rejecting on connection is not possible. 2) that is phylosophy of SA to only MARK the spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Reject
On Jul 16, 2005, at 6:10 PM, Olivier Nicole wrote: I've installed Spam Assassin and MIMEDefang with Sendmail however I would like Spam Assassin to tell sendmail to Reject Spam on the connection. 1) SpamAssassin cannot detect spam until it has received and analyzed the FULL message, so rejecting on connection is not possible. It is possible to reject during the connection during the DATA phase. Using exim and sa-exim glue, with spamassassin, this is what I do. The sender gets a 5xx rejection with the message: UCE not allowed. I have the score set ridiculously high so that only very egregious spam gets rejected this way, in order to avoid rejection of false positives. I also have an sa-exim based greylist running with spamassassin at connection time. Chad 2) that is phylosophy of SA to only MARK the spam. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Spam Assassin Reject
I've installed Spam Assassin and MIMEDefang with Sendmail however I would like Spam Assassin to tell sendmail to Reject Spam on the connection. Instead of accepting the spam and marking it so users then can filter on the spam tag. Can Anyone share there code in the MIMEDefang Filter to do this. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetchmail and spam assassin
dave [EMAIL PROTECTED] writes: Does anyone have fetchmail retrieving mail from an ISP account then sending it through spamassassin/an MTA junk mail filter? I've got an account that is being spammed and i'd like to set this up, but although i can retrieve the mail via fetchmail, i can not get it to go through postfix which is running on the same box and which has spamassassin and some other anti-uce filters in place. The typical configuration of fetchmail just feeds the mail back into the local MTA for delivery. That should take care of your situation, and is exactly what I do myself. My .fetchmailrc looks like: ### Lowell'g configuration for fetchmail ## universal # (to make it look kosher coming into port 25) set invisible # get mail for [EMAIL PROTECTED] poll mail.example.com proto pop3 username lgilbert password example ssl antispam 451 is [EMAIL PROTECTED] here Also on the subject of spamassassin a lot of junk is still getting through, is there a FreeBSD specific spam assassin configuration tutorial or howto? I don't think so. I can't imagine what would be FreeBSD-specific about any such configuration. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fetchmail and spam assassin
Hello, Does anyone have fetchmail retrieving mail from an ISP account then sending it through spamassassin/an MTA junk mail filter? I've got an account that is being spammed and i'd like to set this up, but although i can retrieve the mail via fetchmail, i can not get it to go through postfix which is running on the same box and which has spamassassin and some other anti-uce filters in place. Also on the subject of spamassassin a lot of junk is still getting through, is there a FreeBSD specific spam assassin configuration tutorial or howto? Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
Here's how I have spam assassin setup on my mail server. I installed spam assassin using perl's CPAN module, so I'm not sure how different it is from the ports install. You need to have the spam assassin daemon (spamd) running. I imagine the port installs a startup script in /usr/local/etc/rc.d . If not, you can just add '/usr/bin/spamd ' to your /etc/rc.local In my user's home directories I have a .forward file. In that file is a line like (the quotes are part of the file): |IFS=' ' exec /usr/local/bin/procmail -Yf- || exit 75 #USERNAME replace USERNAME with the correct username. I also have a .procmailrc file in the user's home directory. It looks something like: PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:$HOME/bin MAILDIR=/var/mail/USERNAME #LOGFILE=$HOME/Mail/backup/logfile #This will process the mail and flag it :0fw * 256000 |/usr/bin/spamc #Uncomment the section below to delete spam on the server. #:0: #* ^X-Spam-Flag: Yes #/dev/null #other procmail rules go here Again, replace USERNAME with the correct username. With that default setup, users will receive spam, but it will flagged in the headers and have a blurb at the beginning which they can use to create filters in their mail client. I delete spam right on the server in my accounts. You'll also have a procmailrc file in /usr/local/etc/ that you can put global (server wide) mail processing rules in. Once spam assassin is functioning on a user's account there will be a .spamassassin folder in the home dir. You can use the .spamassassin/user_prefs file to fine tune their spam assassin if need be. Hope this helps. -- Clint Gilders [EMAIL PROTECTED] Director of Technology Services OnlineHobbyist.com, Inc. Eric F Crist wrote: Ok folks, I'm very, very overwhelmed here. I think it comes from trying to setup too many things at once. I have sendmail running (from base install). I need to get SpamAssassin and Procmail working, with users having the ability to opt-out of the spam filtering. I mainly offer POP3 mail access (via qpopper) and I'm thinking of adding in Squirrelmail support with IMAP. I have a working mail/pop server and everything is fine there. The spam assassin port and procmail ports have been through a make install clean and I haven't the foggiest idea on how to get the two of them working together with sendmail. Please help. TIA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
Though I've not actually used it myself, I did once look at the documentation. I don't think you do actually need spamd, the normal way is to have procmail run spamassassin directly as a perl script. Spamc is a lightweight c-coded frontend that connects to spamd over a socket; it eliminates the overhead of restarting perl for every mail, and it also allow SA to run on a dedicated machine. The spamc/spamd combination is really intended for high traffic mail systems. I can't recall how you pass an email to the SA perl script, but google should turn it up. Robert Woolley On Mon, 26 Jan 2004 08:23:51 -0500, Clint Gilders [EMAIL PROTECTED] said: Here's how I have spam assassin setup on my mail server. I installed spam assassin using perl's CPAN module, so I'm not sure how different it is from the ports install. You need to have the spam assassin daemon (spamd) running. I imagine the port installs a startup script in /usr/local/etc/rc.d . Eric F Crist wrote: Ok folks, I'm very, very overwhelmed here. I think it comes from trying to setup too many things at once. I have sendmail running (from base install). I need to get SpamAssassin and Procmail working, with users having the ability to opt-out of the spam filtering. I mainly offer POP3 mail access (via qpopper) and I'm thinking of adding in Squirrelmail support with IMAP. I have a working mail/pop server and everything is fine there. The spam assassin port and procmail ports have been through a make install clean and I haven't the foggiest idea on how to get the two of them working together with sendmail. Please help. TIA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd- questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
Robert Woolley wrote: I can't recall how you pass an email to the SA perl script, but google should turn it up. You are correct. To directly call the spamassassin script your .procmailrc call could have something like: #This will process the mail and flag it :0fw spamassassin.lock * 256000 |/usr/bin/spamassassin (substitute the path to your spamassassin) -- Clint Gilders [EMAIL PROTECTED] Director of Technology Services OnlineHobbyist.com, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin? Fix
I left out the ':' after :Ofw Should be #This will process the mail and flag it :0fw: spamassassin.lock * 256000 |/usr/bin/spamassassin -- Clint Gilders [EMAIL PROTECTED] Director of Technology Services OnlineHobbyist.com, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
On Sunday 25 January 2004 08:45 pm, Matt Emmerton wrote: As for your subscriber opt-out, this is easy to do. When SpamAssassin runs, it creates a ~/.spamassassin directory in each user's homedir account. In here there is a file called user_prefs, which contains per-user configuration. To disable SpamAssassin for their account, you can just change required_hits to a huge value, like 1000 or something that won't catch anything. This effectively disables SpamAssassin for their account. (Well, all incoming mail will get filtered, so you'll still get the performance hit. There's probably a better way for now, but this will get you started.) You can create a CGI script that can edit this file, or have your postmaster@ handle user requests to opt-out manually. Matt, I wasn't expectinga walk through, but I greatly appreciate it! Thanks a lot! As for the subscriber opt-out, isn't it as simple as creating a .procmailrc file in each users home directory to disable filtering, since it goes through procmail? TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: Spam Assassin?
On Sun, 2004-01-25 at 06:51, Eric F Crist wrote: Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. Or you might try /usr/ports/mail/bogofilter which I found to be quite a bit faster than SpamAssasin. -- Byron signature.asc Description: This is a digitally signed message part
Re: Spam Assassin?
At 11:48 PM 1.25.2004 +0200, Byron Schlemmer wrote: On Sun, 2004-01-25 at 06:51, Eric F Crist wrote: Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. Or you might try /usr/ports/mail/bogofilter which I found to be quite a bit faster than SpamAssasin. -- Byron I use the combo /sendmail/spamass-milter/spamassassin (spamd daemon) and averge less than 1 second per email. Many at 0.4-0.9 secs and running 99.% spam catch. Procmail catches the rest Best regards, Jack L. Stone, Administrator Sage American http://www.sage-american.com [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
Ok folks, I'm very, very overwhelmed here. I think it comes from trying to setup too many things at once. I have sendmail running (from base install). I need to get SpamAssassin and Procmail working, with users having the ability to opt-out of the spam filtering. I mainly offer POP3 mail access (via qpopper) and I'm thinking of adding in Squirrelmail support with IMAP. I have a working mail/pop server and everything is fine there. The spam assassin port and procmail ports have been through a make install clean and I haven't the foggiest idea on how to get the two of them working together with sendmail. Please help. TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Spam Assassin?
Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: Spam Assassin?
Newbie here, so I could be wrong, but try looking at /usr/ports/mail/p5-mail-SpamAssassin There's also a p5-mail-SpamAssassin-snapshot. Don't know what that is. - Original Message - From: Eric F Crist [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 24, 2004 9:51 PM Subject: Spam Assassin? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. 'make search key=SpamAssassin' turns up mail/p5-Mail-SpamAssassin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Spam Assassin?
/usr/ports/mail/p5-Mail-SpamAssassin though you may want to install MIMEDefang instead and access SpamAssassin through it. I find it better. -lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric F Crist Sent: Saturday, January 24, 2004 11:51 PM To: [EMAIL PROTECTED] Subject: Spam Assassin? Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. TIA -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin?
On Sat, 24 Jan 2004 22:51:05 -0600 Eric F Crist [EMAIL PROTECTED] wrote: Where is the Spam Assassin port? The only thing I can find is spamass-milter which just USES Spam Assassin. echo /usr/ports/*/*Spam* /usr/ports/mail/p5-Mail-SpamAssassin /usr/ports/mail/p5-Mail-SpamAssassin-snapshot /usr/ports/www/p5-Apache-AntiSpam I think you probably want the first one? -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam Assassin Configuration
Citeren Justin P. Michel [EMAIL PROTECTED]: Greetings, Thanks to all who replied regarding installing the Sendmail/Procmail/SpamAssassin combination! It appears to be working very well, and is marking spam nicely. Now, I'd like to take it to another step. Instead of delivering the messages that get marked as spam, is there a way to move them to a special mailbox/area/holding bin of some kind? I'd like the server to do it automatically so that the clients won't get any spam at all. I realize this isn't necessarily a FreeBSD only question, but I'm sure that others here have already done what I question. If i'm right you now got procmail running. You can use this to also setup a forward clause. This is might not be perfect, but i *think* it will work. :0fw * 20 * ^Delivered-To: [EMAIL PROTECTED]$ | spamc (I use spamc and spamd, since a day, for the claimed performace) :0fw * ^X-spam: YES$ (The string might be a little different) | sendmail spam-box To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Sendmail, Spam Assassin, and Procmail
Greetings, I can't seem to get the procmailrc correct. What I would like to do, is have all mail that Spam Assassin tags as spam, to be put into a separate account called 'bulkmail'. I've created this account, and made sure that the mailbox 'bulkmail' exists in '/var/mail'. Spam Assassin is tagging the e-mail properly, however, it's still being sent out to the clients. Below is my 'procmailrc' file. If someone can suggest a better one that works, please do! :) PROCMAILRC START :0fw | spamassassin -P :0: * X-Spam-Flag: YES | sendmail bulkmail PROCMAILRC END Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail, Spam Assassin, and Procmail
At 2003-02-03T16:57:16Z, Justin P. Michel [EMAIL PROTECTED] writes: Spam Assassin is tagging the e-mail properly, however, it's still being sent out to the clients. This is OT to your question, but still: are you certain that you want to drop all mail that gets marked by SpamAssassin? It works very well, but I still get a few false positives per month. If any of my clients were outside of my immediate friends/family group (i.e., paying customers), then I would explicitly take no action on their incoming email other than to mark it, and give the clients instructions on setting up a filter on their email client. That way, they take the responsibility for deciding to delete suspect email - you're only providing an estimation service. -- Kirk Strauser In Googlis non est, ergo non est. msg17757/pgp0.pgp Description: PGP signature
Re: Sendmail, Spam Assassin, and Procmail
On Mon, Feb 03, 2003 at 11:57:16AM -0500, Justin P. Michel wrote: Greetings, I can't seem to get the procmailrc correct. What I would like to do, is have all mail that Spam Assassin tags as spam, to be put into a separate account called 'bulkmail'. I've created this account, and made sure that the mailbox 'bulkmail' exists in '/var/mail'. Spam Assassin is tagging the e-mail properly, however, it's still being sent out to the clients. Below is my 'procmailrc' file. If someone can suggest a better one that works, please do! :) PROCMAILRC START :0fw | spamassassin -P :0: * X-Spam-Flag: YES | sendmail bulkmail PROCMAILRC END Try this: :0 * ^X-Spam-Flag: YES ! bulkmail@yourhost Use ! instead of | to pipe the message to a mailer. Let procmail figure out how to handle sending the mail. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail, Spam Assassin, and Procmail
On 0, Kirk Strauser [EMAIL PROTECTED] wrote: At 2003-02-03T16:57:16Z, Justin P. Michel [EMAIL PROTECTED] writes: Spam Assassin is tagging the e-mail properly, however, it's still being sent out to the clients. This is OT to your question, but still: are you certain that you want to drop all mail that gets marked by SpamAssassin? It works very well, but I still get a few false positives per month. If any of my clients were outside of my immediate friends/family group (i.e., paying customers), then I would explicitly take no action on their incoming email other than to mark it, and give the clients instructions on setting up a filter on their email client. That way, they take the responsibility for deciding to delete suspect email - you're only providing an estimation service. -- Kirk Strauser I agree with Kirk, SA works amazingly well for me and I haven't gotten a false positive for a long long time, but that's because I trained the Bayesian filters well, I also tuned my whitelist so important mails from my banks, domain registrar, etc won't get marked as spam. but default SA gives quite a few false positive. -- andrew y ng [EMAIL PROTECTED] http://andrewng.com independent computer consultants http://aynassociates.com msg17763/pgp0.pgp Description: PGP signature
Spam Assassin Configuration
Greetings, Thanks to all who replied regarding installing the Sendmail/Procmail/SpamAssassin combination! It appears to be working very well, and is marking spam nicely. Now, I'd like to take it to another step. Instead of delivering the messages that get marked as spam, is there a way to move them to a special mailbox/area/holding bin of some kind? I'd like the server to do it automatically so that the clients won't get any spam at all. I realize this isn't necessarily a FreeBSD only question, but I'm sure that others here have already done what I question. Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Spam Assassin Configuration
this is how to use procmail to put mesgs with scores = your threshold into a folder: :0: * ^X-Spam-Status: Yes your_spam_folder I think if you want to do this system-wide, you can put this in /etc/procmailrc. /ayn On 0, Justin P. Michel [EMAIL PROTECTED] wrote: Greetings, Thanks to all who replied regarding installing the Sendmail/Procmail/SpamAssassin combination! It appears to be working very well, and is marking spam nicely. Now, I'd like to take it to another step. Instead of delivering the messages that get marked as spam, is there a way to move them to a special mailbox/area/holding bin of some kind? I'd like the server to do it automatically so that the clients won't get any spam at all. I realize this isn't necessarily a FreeBSD only question, but I'm sure that others here have already done what I question. Regards, Justin P. Michel |- J Continuum |- 21071 - 640 River Street |- Thunder Bay, ON, Canada |- P7A 8A7 |- http://www.jcontinuum.ca To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- andrew y ng [EMAIL PROTECTED] http://andrewng.com independent computer consultants http://aynassociates.com msg17641/pgp0.pgp Description: PGP signature