Re: [SAtalk] Re: announcing documentation on setting up exim with spamassasin
On Wed, 2002-01-30 at 07:58, Phillip Deackes wrote: Since I use Sylpheed, which stores mail in the mh-style format, is there any way to get Exim to file messages in this way? I know procmail can do it, but can Exim? Not directly - Mh format is a real hack (basically because of the sequences stuff and having no defined locking mechanisms). When I used Mh based tools (exmh) I used to have to shell out an mhstore - and even that needs additional locking round it to prevent trashing of the sequences files (specifically I had exim-procmail-mhstore). Now I just directly deliver to Maildir format. Nigel. -- [ Nigel Metheringham [EMAIL PROTECTED] ] [ Phone: +44 1423 85 Fax +44 1423 858866 ] [ - Comments in this message are my own and not ITO opinion/policy - ]
Re: announcing documentation on setting up exim with spamassasin
On Tue, 29 Jan 2002 10:35:41 -0500 dman [EMAIL PROTECTED] wrote: Ok, as for not getting X-Spam-Status, take a (real) message in a file (call it msg). What does : $ cat msg | spamc -f | grep -i spam output? It should outupt the X-Spam headers and the SPAM: report (if there was one). Hi dman. Last night I received quite a few email messages and a few of them were SPAM. SA correctly filtered out the SPAM messages, and put them is the desired file. Since I use Sylpheed, which stores mail in the mh-style format, is there any way to get Exim to file messages in this way? I know procmail can do it, but can Exim? Cheers. -- Phillip Deackes Using Debian Linux /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL AND NEWS / \
Re: announcing documentation on setting up exim with spamassasin
On Sat, 26 Jan 2002 23:52:11 -0500 dman([EMAIL PROTECTED]) is reported to have said: have just whipped up some documentation regarding setting up exim and spamassassin. Basically I just outlined my setup, which Works For Me :-). Thanks dman. I have set it all up as you outlined, and each email now has the line 'Received: from mail by scgf.gmx.co.uk with spam-scanned (Exim 3.33 #1 (Debian))' in the headers. I never get an 'X-Spam-Status:' header, though. I did exactly what you said, and added the filter lines to my .forward file. I commented out procmail, so am not using it at all at the moment. all the mail is coming through, but nothing is being blocked. Do I still need procmail to be running, ie. is your configuration *on top of* the basic SA setup, or instead of? I am using the latest Debian package of Spamassassin, 2.01-1. It looks like the conf file in /etc/spamassassin is empty - should there be anything there? Should I revert back to an older version of SA? Many thanks for your help. -- Phillip Deackes Using Debian Linux /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL AND NEWS / \
Re: announcing documentation on setting up exim with spamassasin
On Tue, Jan 29, 2002 at 07:58:18AM +, Phillip Deackes wrote: | On Sat, 26 Jan 2002 23:52:11 -0500 | dman([EMAIL PROTECTED]) is reported to have said: | |have just whipped up some documentation regarding setting up exim | and spamassassin. Basically I just outlined my setup, which Works For | Me :-). | | Thanks dman. You're welcome. | I have set it all up as you outlined, and each email now has | the line 'Received: from mail by scgf.gmx.co.uk with spam-scanned (Exim | 3.33 #1 (Debian))' in the headers. Yep. This tells you that the message came to exim from a pipe (created by user 'mail') and $received_protocol was set to 'spam-scanned'. | I never get an 'X-Spam-Status:' header, though. Mmm, you should. | I did exactly what you said, and added the filter lines to my | .forward file. I commented out procmail, so am not using it at all | at the moment. all the mail is coming through, but nothing is being | blocked. Do I still need procmail to be running, ie. is your | configuration *on top of* the basic SA setup, or instead of? Instead of, I think. I don't use procmail at all and IIRC the basic configuration is to use a filter recipe in procmail. | I am using the latest Debian package of Spamassassin, 2.01-1. It looks | like the conf file in /etc/spamassassin is empty - should there be | anything there? Should I revert back to an older version of SA? I downloaded, but didn't install yet, the 2.01 package. I know the SA config files changed quite a bit so I'm waiting until I have time to work on it before I do the install (last night I had to work on my car instead). Since I didn't mention any part of the SA config files in my document I don't think the version is really relevant; but I think some of the command line options to spamc/spamd may have changed. | Many thanks for your help. Ok, as for not getting X-Spam-Status, take a (real) message in a file (call it msg). What does : $ cat msg | spamc -f | grep -i spam output? It should outupt the X-Spam headers and the SPAM: report (if there was one). -D -- ...the word HACK is used as a verb to indicate a massive amount of nerd-like effort. -Harley Hahn, A Student's Guide to Unix
Re: [SAtalk] Re: announcing documentation on setting up exim with spamassasin
On Tue, 29 Jan 2002 10:35:41 -0500 dman [EMAIL PROTECTED] wrote: Ok, as for not getting X-Spam-Status, take a (real) message in a file (call it msg). What does : $ cat msg | spamc -f | grep -i spam output? It should outupt the X-Spam headers and the SPAM: report (if there was one). No - it did not appear to do anything at all. I downloaded the older version of SA (1.5-5) and installed it. Now when I do the above I get the X-Spam headers and SPAM report. I will await some SPAM to se whether it all works correctly. Thanks again. -- Phillip Deackes Using Debian Linux /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL AND NEWS / \
Re: announcing documentation on setting up exim with spamassasin
dman([EMAIL PROTECTED]) is reported to have said: I have just whipped up some documentation regarding setting up exim and spamassassin. Basically I just outlined my setup, which Works For Me :-). Check it out if you are interested, http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html and let me know what you think (if you want to). Tried to read it dman, can connect but never get a reply. Might be because you firewalled me. :-( Wayne -- Real computer scientists don't comment their code. The identifiers are so long they can't afford the disk space. ___
Re: announcing documentation on setting up exim with spamassasin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 26 January 2002 9:53 pm, dman wrote: I have just whipped up some documentation regarding setting up exim and spamassassin. Basically I just outlined my setup, which Works For Me :-). Check it out if you are interested, http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html and let me know what you think (if you want to). Couple of things which I do slightly differently (and I think better :-) 1) Put the director that sends mail with the real- prefix before the spam check director - this allows false positives to reply to you if they wish, and therefore ... 2) .. my filter file bounces back a message thusly == exim filter # Exim Filter if first_delivery and $h_X-Spam-Flag: contains YES then logfile /var/log/exim/spamlog logwrite $tod_log From: $h_From: Subject: $h_Subject: \n \t X-Spam-Status: $h_X-Spam-Status: Sender: $sender_address if $h_From: is not then mail to $h_From: subject Re: Your last message to me expand file /etc/exim/spam-reply.txt once /var/log/exim/spamcount once_repeat 5d endif seen finish endif == spam-reply.txt Your mail with Subject: $h_Subject: to domain chandlerfamily.org.uk appears to be unsolicited spam. If you intended to contact a person at that email domain for legitimate reasons then our apologies. Please would you resend to the same address but add the prefix real- (without the quotes) to the e-mail address and it will bypass the spam filter. Thank you [EMAIL PROTECTED] === - -- Alan - [EMAIL PROTECTED] http://www.chandlerfamily.org.uk -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8U0/l1mf3M5ZDr2kRAnp2AKDItUxWiZsl2QjO2p4oeAoMFNWDeQCgkCGI hNX+HgMfbaV9SRbxIXDEf7M= =GpXw -END PGP SIGNATURE-
Re: announcing documentation on setting up exim with spamassasin
On Sun, Jan 27, 2002 at 12:55:01AM +, Alan Chandler wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | On Saturday 26 January 2002 9:53 pm, dman wrote: | I have just whipped up some documentation regarding setting up exim | and spamassassin. Basically I just outlined my setup, which Works For | Me :-). | | Check it out if you are interested, | http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html | and let me know what you think (if you want to). | | Couple of things which I do slightly differently (and I think better :-) I've now added your comments (no attribution in case you don't want your address there for some reason) to the page. If I feel comforable enough automating response to tagged messages, I'll try out your suggestions. :-) -D -- If Microsoft would build a car... ... Occasionally your car would die on the freeway for no reason. You would have to pull over to the side of the road, close all of the car windows, shut it off, restart it, and reopen the windows before you could continue. For some reason you would simply accept this.
RE: announcing documentation on setting up exim with spamassasin
[EMAIL PROTECTED]:pts/1:~]$ host -t a dman.ddts.net dman.ddts.net A 169.254.0.0 j. -- Jeremy L. Gaddis [EMAIL PROTECTED] -Original Message- From: D-Man [mailto:[EMAIL PROTECTED] Behalf Of dman Sent: Saturday, January 26, 2002 4:53 PM To: debian-user@lists.debian.org; exim-users@exim.org; spamassassin-talk@lists.sourceforge.net Subject: announcing documentation on setting up exim with spamassasin I have just whipped up some documentation regarding setting up exim and spamassassin. Basically I just outlined my setup, which Works For Me :-). Check it out if you are interested, http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html and let me know what you think (if you want to). HAND, -D -- Come to me, all you who are weary and burdened, and I will give you rest. Take my yoke upon you and learn from me, for I am gentle and humble in heart, and you will find rest for your souls. For my yoke is easy and my burden is light. Matthew 11:28-30 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]