From tor at slett.net Wed Jun 2 12:42:21 2004 From: tor at slett.net (Tor Slettnes) Date: Wed Jun 2 11:42:32 2004 Subject: [SA-exim] faking an accept In-Reply-To: <20040529172431.GE20614@nuit.ca> References: <20040529172431.GE20614@nuit.ca> Message-ID: <952B2F2E-B4C4-11D8-83E7-0030656CF512@slett.net> On May 29, 2004, at 10:24, simon@nuit.ca wrote: > the only way i can see to do both not deliver mail to the account, but > still filter it, would be to fake the acceptance of the mail. but i > don't want to do this for every host - only for a few select ones, like > mailing lists, and this one upstream MTA for instance. > > how would i do this? In an ACL: discard hosts = /etc/mail/discard-hosts (that file may contain wildcards such as "*.comcast.net", etc) -tor From marc at merlins.org Fri Jun 4 11:08:28 2004 From: marc at merlins.org (Marc MERLIN) Date: Fri Jun 4 10:08:31 2004 Subject: [SA-exim] Greylisting mails with URLs In-Reply-To: <20040521111641.GZ29101@mythix.realprogrammers.com> References: <20040521111641.GZ29101@mythix.realprogrammers.com> Message-ID: <20040604170828.GB1685@merlins.org> On Fri, May 21, 2004 at 12:16:41PM +0100, Paul Makepeace wrote: > I'm going to toss this idea out there without even looking at the code > just in case anyone wants to pick this up. > > Pretty much the only spams getting through here at this point are those > that really do not look like spam and contain just a URL ("click here for > more www.medserver.b1z"). Now, there are look-ups based on domain name/URI > e.g. http://www.surbl.org/ ; (heck I even wrote one, http://sdbl.org/ > ) but they take time to get reported. > > So - I would like to have emails that contain a URL or even > (un-whitelisted) domain name in the body of the mail to be deferred for > some time during which time one hopes the domain'll end up on spamcop. > http://www.spamcop.net/w3m?action=inprogress&type=www which is then fed > or in my own list. > > Roughly: something to tag the email with a "URL/domain of some > description whatever detected" and then in the GL code look for that > domain and possibly use that as an additional or parallel GL parameter > along with envelope and host info. I don't think I ever replied to you on this. It's an interesting idea, although there may be some implementation challenges. I'll see what I can come up with, although it probably won't be for SA-Exim 4.1 (yes, yes, I haven't forgotten, nor have I fallen off the face of the planet quite yet :) Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key From marc at merlins.org Fri Jun 4 11:24:23 2004 From: marc at merlins.org (Marc MERLIN) Date: Fri Jun 4 10:24:27 2004 Subject: [SA-exim] greylisting and MXes In-Reply-To: <20040518205821.GS30824@merlins.org> References: <20040514163351.GJ20330@mythix.realprogrammers.com> <20040514172617.GA11781@freshdot.net> <20040514163351.GJ20330@mythix.realprogrammers.com> <20040515182257.GI12624@merlins.org> <20040518003233.GA20733@mythix.realprogrammers.com> <20040518003810.GI30824@merlins.org> <40AA7801.6030001@lithvall.se> <20040518205821.GS30824@merlins.org> Message-ID: <20040604172423.GC1685@merlins.org> On Tue, May 18, 2004 at 01:58:21PM -0700, Marc MERLIN wrote: > On Tue, May 18, 2004 at 10:54:25PM +0200, Richard Lithvall wrote: > > On 2004-05-18 02:38, Marc MERLIN wrote: > > > > > you shouldn't run SA when receiving mail from your secondary MXes > > > > Ofcourse you should, but you may not want to reject any mail from your > > secondary MXes. > > Sorry, I forgot to say that I was assuming your secondary MX was running > sa-exim too. > If all your MXes aren't running sa-exim with grelylisting, then you can't > really use greylisting (the discussion at hand) I've fixed README.greylisting in cvs as such: +GREYLISTING AND MXES +-------------------- +Depending on your configuration, you may have realized that SA-Exim doesn't +play very well with secondary MXes for your domain if they don't run SA-Exim +too (for instance, you'd send a tempreject on spam and clog up your +secondary, or maybe even teergrube it if you forgot to add your MX's IP +in the do not teergrube list. +For greylisting, it's even more simple: +If your secondary MXes aren't running SA-Exim with greylisting, then +greylisting's efficiency will be greatly reduced as most spammers will send +their spams to your secondary MXes which will accept the mail for you, +even if it's sent only once, and then your MXes will resend the spam to you +until you accept it (rendering greylisting useless) + +Now, if your secondaries are running greylisting too, most mail will flow +through with no delay whatsoever. However, in the worst case scenario, a mail +that isn't spam, but triggers greylisting because its score is high enough to +generate a tempreject, could be delayed up to twice the whitelisting time +if it were to go to your secondary MX first (assuming your primary is +unreachable or temporarily overloaded), and then be resent to your primary +MX, which would trigger a second greylisting delay +FIXME: implement a whitelist of sending IPs so that greylisting returns +whitelisted right away Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key From merlins.org at paulm.com Tue Jun 8 14:45:50 2004 From: merlins.org at paulm.com (Paul Makepeace) Date: Tue Jun 8 05:46:17 2004 Subject: [SA-exim] spamc/spamasssassin deb dependencies Message-ID: <20040608124550.GU26323@mythix.realprogrammers.com> Simple question: How does sa-exim not depend on spamassassin? Or rather, how did I apt-get install sa-exim without spamassassin being installed? `apt-cache depends sa-exim` says "Depends: spamassassin" but didn't seem to just require it. Perhaps I'm missing something. Thought I'd flag it. Paul -- Paul Makepeace .............................. http://paulm.com/inchoate/ "If air was a commodity, then mixing metaphors will taste good again." -- http://paulm.com/toys/surrealism/ From pradeeper at unionb.com Wed Jun 9 11:13:51 2004 From: pradeeper at unionb.com (Pradeeper) Date: Tue Jun 8 21:06:20 2004 Subject: [SA-exim] Hits get minus value Message-ID: <1086754431.1410.16.camel@Tor> Hi All I get some small number of SPAM mails with minus hits value. Headers are like this... Mime-Version: 1.0 X-SA-Exim-Connect-IP: 200.181.105.52 X-SA-Exim-Mail-From: harriherman@netscape.net Subject: You Won X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Trinity X-Spam-Level: X-Spam-Status: No, hits=-1.3 required=3.0 tests=BAYES_00,NIGERIAN_BODY1, NIGERIAN_BODY2,NO_REAL_NAME,US_DOLLARS_3 autolearn=no version=2.63 X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200) X-SA-Exim-Scanned: Yes (on Trinity) ...... Why is this? Is there any thing I can do about it? Thanks! Pradeeper From dan at eglifamily.dnsalias.net Wed Jun 9 00:13:06 2004 From: dan at eglifamily.dnsalias.net (Dan Egli) Date: Tue Jun 8 22:14:26 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <1086754431.1410.16.camel@Tor> References: <1086754431.1410.16.camel@Tor> Message-ID: <40C69C62.2040802@eglifamily.dnsalias.net> Pradeeper wrote: > Hi All > > I get some small number of SPAM mails with minus hits value. > Headers are like this... > > Mime-Version: 1.0 > X-SA-Exim-Connect-IP: 200.181.105.52 > X-SA-Exim-Mail-From: harriherman@netscape.net > Subject: You Won > X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Trinity > X-Spam-Level: > X-Spam-Status: No, hits=-1.3 required=3.0 > tests=BAYES_00,NIGERIAN_BODY1, NIGERIAN_BODY2,NO_REAL_NAME,US_DOLLARS_3 > autolearn=no version=2.63 > X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200) > X-SA-Exim-Scanned: Yes (on Trinity) > > ...... > > Why is this? Is there any thing I can do about it? > > Thanks! The issue I see is the bayes_00. That says that it is very likely NOT spam. Try running sa-learn on the message, first have it --forget the message then you can learn it as --spam. That's my best guess. SpamAssassin can only operate on tokens it sees. I get a few messages every couple of days that get values of 1.2 or so but are most deffinetly spam. I just keep feeding them into sa-learn and hope that soon their scores will start to rise. -- -- Dan From ssmeenk at freshdot.net Wed Jun 9 10:14:34 2004 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Jun 9 00:14:43 2004 Subject: [SA-exim] spamc/spamasssassin deb dependencies In-Reply-To: <20040608124550.GU26323@mythix.realprogrammers.com> References: <20040608124550.GU26323@mythix.realprogrammers.com> Message-ID: <20040609071433.GB9084@freshdot.net> Package: sa-exim Version: any Severity: normal Quoting Paul Makepeace (merlins.org@paulm.com): > Simple question: How does sa-exim not depend on spamassassin? It depends on 'spamc | spamassassin'. First one found fulfills the dependency, and that's spamc. This is a bug, IMHO, so thanks for pointing it out. > Perhaps I'm missing something. Thought I'd flag it. Good choice ;) Regards, Sander -- | One nice thing about egotists: They don't talk about other people. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From kk at verfaction.de Wed Jun 9 10:33:43 2004 From: kk at verfaction.de (Kilian Krause) Date: Wed Jun 9 00:33:59 2004 Subject: [SA-exim] spamc/spamasssassin deb dependencies In-Reply-To: <20040609071433.GB9084@freshdot.net> References: <20040608124550.GU26323@mythix.realprogrammers.com> <20040609071433.GB9084@freshdot.net> Message-ID: <1086766423.3417.4.camel@mars> Hi Sander, > It depends on 'spamc | spamassassin'. First one found fulfills the > dependency, and that's spamc. > > This is a bug, IMHO, so thanks for pointing it out. actually that's a good default imho. The system is required to either run spamassassin local or run spamc to connect to anywhere. Thus any user running spamc should know himself he needs a spamd. This *MAY* be on the same local machine than the spamc, but can also be a central spamassassin server which can handle the load better than the actual MX spamc is running on. Btw. anyone has seen dspam in Debian yet? -- Best regards, Kilian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.merlins.org/archives/sa-exim/attachments/20040609/afa57902/attachment.bin From ssmeenk at freshdot.net Wed Jun 9 13:42:39 2004 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Jun 9 03:42:45 2004 Subject: [SA-exim] spamc/spamasssassin deb dependencies In-Reply-To: <1086766423.3417.4.camel@mars> References: <20040608124550.GU26323@mythix.realprogrammers.com> <20040609071433.GB9084@freshdot.net> <1086766423.3417.4.camel@mars> Message-ID: <20040609104239.GA27695@freshdot.net> Quoting Kilian Krause (kk@verfaction.de): Kilian? From GnomeMeeting? :) > > This is a bug, IMHO, so thanks for pointing it out. > actually that's a good default imho. Yes and no. I agree that this is a flexible way of running multiple sa-exim's with only one spamassassin, but I fear that this will not be the only question about this issue. I could as well add a message in some readme.txt, but nobody really reads those before asking questions. > Btw. anyone has seen dspam in Debian yet? I was asked to package it. But i won't ;) (ETIME) Regards, Sander. -- | If I melted dry ice, can I swim without getting wet? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.merlins.org/archives/sa-exim/attachments/20040609/e969cd33/attachment.bin From tor at slett.net Wed Jun 9 19:04:51 2004 From: tor at slett.net (Tor Slettnes) Date: Wed Jun 9 18:05:02 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <1086754431.1410.16.camel@Tor> References: <1086754431.1410.16.camel@Tor> Message-ID: <2D2C498E-BA7A-11D8-ACE5-0030656CF512@slett.net> On Jun 8, 2004, at 21:13, Pradeeper wrote: > > Mime-Version: 1.0 > X-SA-Exim-Connect-IP: 200.181.105.52 > X-SA-Exim-Mail-From: harriherman@netscape.net > Subject: You Won > X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Trinity > X-Spam-Level: > X-Spam-Status: No, hits=-1.3 required=3.0 > tests=BAYES_00,NIGERIAN_BODY1, NIGERIAN_BODY2,NO_REAL_NAME,US_DOLLARS_3 > autolearn=no version=2.63 > X-SA-Exim-Version: 4.0 (built Sat, 24 Apr 2004 12:31:30 +0200) > X-SA-Exim-Scanned: Yes (on Trinity) > > ...... > > Why is this? Is there any thing I can do about it? use_bayes 0 From pradeeper at unionb.com Thu Jun 10 09:45:45 2004 From: pradeeper at unionb.com (Pradeeper) Date: Wed Jun 9 19:38:06 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <2D2C498E-BA7A-11D8-ACE5-0030656CF512@slett.net> References: <1086754431.1410.16.camel@Tor> <2D2C498E-BA7A-11D8-ACE5-0030656CF512@slett.net> Message-ID: <1086835545.1454.1.camel@Tor> Hi Slettnes On Thu, 2004-06-10 at 07:04, Tor Slettnes wrote: > > Why is this? Is there any thing I can do about it? > > use_bayes 0 Where should I put this? Thanks for the tip. Pradeeper -- Debian GNU/Linux Sarge kernel 2.6.3-neo-1 Tomorrow, you can be anywhere. From pradeeper at unionb.com Thu Jun 10 09:48:34 2004 From: pradeeper at unionb.com (Pradeeper) Date: Wed Jun 9 19:40:48 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <40C69C62.2040802@eglifamily.dnsalias.net> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> Message-ID: <1086835714.1454.5.camel@Tor> Hi Dan On Wed, 2004-06-09 at 11:13, Dan Egli wrote: > The issue I see is the bayes_00. That says that it is very likely NOT > spam. Try running sa-learn on the message, first have it --forget the > message then you can learn it as --spam. That's my best guess. > > SpamAssassin can only operate on tokens it sees. I get a few messages > every couple of days that get values of 1.2 or so but are most > deffinetly spam. I just keep feeding them into sa-learn and hope that > soon their scores will start to rise. what are the things I can do to keep my SA up to date? or be smarter? Thanks! Pradeeper -- Debian GNU/Linux Sarge kernel 2.6.3-neo-1 question = ( to ) ? be : ! be; -- Wm. Shakespeare From tor at slett.net Thu Jun 10 10:57:55 2004 From: tor at slett.net (Tor Slettnes) Date: Thu Jun 10 09:58:01 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <1086835545.1454.1.camel@Tor> References: <1086754431.1410.16.camel@Tor> <2D2C498E-BA7A-11D8-ACE5-0030656CF512@slett.net> <1086835545.1454.1.camel@Tor> Message-ID: <51C0F38C-BAFF-11D8-B278-0030656CF512@slett.net> On Jun 9, 2004, at 19:45, Pradeeper wrote: > On Thu, 2004-06-10 at 07:04, Tor Slettnes wrote: >>> Why is this? Is there any thing I can do about it? >> >> use_bayes 0 > Where should I put this? In your local SpamAssassin configuration file. In Debian this is /etc/spamassassin/local.cf; try looking for 'local.cf' otherwise. -tor From pradeeper at unionb.com Fri Jun 11 10:08:26 2004 From: pradeeper at unionb.com (Pradeeper) Date: Thu Jun 10 20:00:22 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <51C0F38C-BAFF-11D8-B278-0030656CF512@slett.net> References: <1086754431.1410.16.camel@Tor> <2D2C498E-BA7A-11D8-ACE5-0030656CF512@slett.net> <1086835545.1454.1.camel@Tor> <51C0F38C-BAFF-11D8-B278-0030656CF512@slett.net> Message-ID: <1086923306.1454.29.camel@Tor> On Thu, 2004-06-10 at 22:57, Tor Slettnes wrote: > In your local SpamAssassin configuration file. In Debian this is > /etc/spamassassin/local.cf; try looking for 'local.cf' otherwise. Got it! And installed Vipula's Razor, and add it to the local.cf too. Is there any way of read the entries in DB? I did, sa-learn --dump But didn't see anything... Pradeeper -- Debian GNU/Linux Sarge kernel 2.6.3-neo-1 The difference between the right word and the almost right word is the difference between lightning and the lightning bug. -- Mark Twain From dan at eglifamily.dnsalias.net Thu Jun 10 23:35:17 2004 From: dan at eglifamily.dnsalias.net (Dan Egli) Date: Thu Jun 10 21:36:34 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <1086923505.1454.33.camel@Tor> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> <1086835714.1454.5.camel@Tor> <40C86863.6030208@eglifamily.dnsalias.net> <1086923505.1454.33.camel@Tor> Message-ID: <40C93685.1080206@eglifamily.dnsalias.net> Pradeeper wrote: > On Thu, 2004-06-10 at 19:55, Dan Egli wrote: > >>Like I said. Feed the spams to sa-learn. sa-learn --spam > > Oh! I did it. > > >>You might want to consider nuking the DB and starting over. Looks to me >>like it might be corrupted. > > Will sa-learn --rebuild do that? > > Thanks! > > Pradeeper > -- > Debian GNU/Linux Sarge kernel 2.6.3-neo-1 > > Beware of a tall blond man with one black shoe. > > --rebuild only repairs the file "if needed". IF you're not getting errors in your spamassassin log file then SpamAssassin doesn't realize it needs to rebuild (it can happen). To do a manual rebuild, read your /etc/mail/spamassassin/local.cf file. If there's a bayes_path statement then that is where your bays files are. Remove them. If not, then they are usually found in the SpamAssassin caller's home directory under .spamassassin/bayes. For example, since I configured exim's home directory as /var/spool/exim, my bayes_path reads: bayes_path /var/spool/exim/.spamassassin/bayes so I would remove /var/spool/exim/.spamassassin/bayes_* So find the files, nuke them, then run sa-learn --rebuild --ham and pipe in as many non-spams as you can find. Then run with --spam and shove in any spams you have left over. I usually keep a small dump of around 200 of the most annoying spams so if I have to rebuild my DB I can start of with a full DB, and don't have to wait for the 200 limit. You can also set the minimum in your .cf file. bayes_min_spam_num X will use the bayes database as soon as it contains X spams. You can also set a HAM limit with bayes_min_ham_num X. -- -- Dan From dan at eglifamily.dnsalias.net Thu Jun 10 23:39:39 2004 From: dan at eglifamily.dnsalias.net (Dan Egli) Date: Thu Jun 10 21:40:56 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <40C93685.1080206@eglifamily.dnsalias.net> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> <1086835714.1454.5.camel@Tor> <40C86863.6030208@eglifamily.dnsalias.net> <1086923505.1454.33.camel@Tor> <40C93685.1080206@eglifamily.dnsalias.net> Message-ID: <40C9378B.6050706@eglifamily.dnsalias.net> Dan Egli wrote: > Pradeeper wrote: > >> On Thu, 2004-06-10 at 19:55, Dan Egli wrote: >> >>> Like I said. Feed the spams to sa-learn. sa-learn --spam >> file/maildir> >> >> >> Oh! I did it. >> >> >>> You might want to consider nuking the DB and starting over. Looks to >>> me like it might be corrupted. >> >> >> Will sa-learn --rebuild do that? >> >> Thanks! >> >> Pradeeper >> -- >> Debian GNU/Linux Sarge kernel 2.6.3-neo-1 >> >> Beware of a tall blond man with one black shoe. >> >> > > > --rebuild only repairs the file "if needed". IF you're not getting > errors in your spamassassin log file then SpamAssassin doesn't realize > it needs to rebuild (it can happen). To do a manual rebuild, read your > /etc/mail/spamassassin/local.cf file. If there's a bayes_path statement > then that is where your bays files are. Remove them. If not, then they > are usually found in the SpamAssassin caller's home directory under > .spamassassin/bayes. For example, since I configured exim's home > directory as /var/spool/exim, my bayes_path reads: > > bayes_path /var/spool/exim/.spamassassin/bayes > > so I would remove /var/spool/exim/.spamassassin/bayes_* > > So find the files, nuke them, then run sa-learn --rebuild --ham and pipe > in as many non-spams as you can find. Then run with --spam and shove in > any spams you have left over. I usually keep a small dump of around 200 > of the most annoying spams so if I have to rebuild my DB I can start of > with a full DB, and don't have to wait for the 200 limit. You can also > set the minimum in your .cf file. bayes_min_spam_num X will use the > bayes database as soon as it contains X spams. You can also set a HAM > limit with bayes_min_ham_num X. I was just thinking. If you don't have enough Spam/Ham to reform your database, let me know and I can send you some bayes files I have from one of my clients. It's quite well populated with over 1000 hams and at last count over 400 spams. -- -- Dan From pradeeper at unionb.com Fri Jun 11 12:21:56 2004 From: pradeeper at unionb.com (Pradeeper) Date: Thu Jun 10 22:14:36 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <40C9378B.6050706@eglifamily.dnsalias.net> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> <1086835714.1454.5.camel@Tor> <40C86863.6030208@eglifamily.dnsalias.net> <1086923505.1454.33.camel@Tor> <40C93685.1080206@eglifamily.dnsalias.net> <40C9378B.6050706@eglifamily.dnsalias.net> Message-ID: <1086931316.624.7.camel@Tor> Hi Dan On Fri, 2004-06-11 at 10:39, Dan Egli wrote: > I was just thinking. If you don't have enough Spam/Ham to reform your > database, let me know and I can send you some bayes files I have from > one of my clients. It's quite well populated with over 1000 hams and at > last count over 400 spams. This is great, can I have it please... (off the list ;-) Hay how about a common place to download it? http://spam.sf.org ;-) Thanks! Pradeeper -- Debian GNU/Linux Sarge kernel 2.6.3-neo-1 You have an unusual magnetic personality. Don't walk too close to metal objects which are not fastened down. From dan at eglifamily.dnsalias.net Fri Jun 11 10:33:51 2004 From: dan at eglifamily.dnsalias.net (Dan Egli) Date: Fri Jun 11 08:34:34 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <1086931316.624.7.camel@Tor> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> <1086835714.1454.5.camel@Tor> <40C86863.6030208@eglifamily.dnsalias.net> <1086923505.1454.33.camel@Tor> <40C93685.1080206@eglifamily.dnsalias.net> <40C9378B.6050706@eglifamily.dnsalias.net> <1086931316.624.7.camel@Tor> Message-ID: <40C9D0DF.9010609@eglifamily.dnsalias.net> Pradeeper wrote: > Hi Dan > > On Fri, 2004-06-11 at 10:39, Dan Egli wrote: > >>I was just thinking. If you don't have enough Spam/Ham to reform your >>database, let me know and I can send you some bayes files I have from >>one of my clients. It's quite well populated with over 1000 hams and at >>last count over 400 spams. > > This is great, can I have it please... (off the list ;-) > Hay how about a common place to download it? http://spam.sf.org ;-) > > Thanks! > > Pradeeper > -- > Debian GNU/Linux Sarge kernel 2.6.3-neo-1 > > You have an unusual magnetic personality. Don't walk too close to metal > objects which are not fastened down. > > I'll put it at the following URL within the next couple of hours (I'm at work now so it has to be when I can get a break): http://eglifamily.dnsalias.net/spam_db.tar.gz -- -- Dan From dan at eglifamily.dnsalias.net Fri Jun 11 11:45:09 2004 From: dan at eglifamily.dnsalias.net (Dan Egli) Date: Fri Jun 11 09:45:53 2004 Subject: [SA-exim] Hits get minus value In-Reply-To: <40C9D0DF.9010609@eglifamily.dnsalias.net> References: <1086754431.1410.16.camel@Tor> <40C69C62.2040802@eglifamily.dnsalias.net> <1086835714.1454.5.camel@Tor> <40C86863.6030208@eglifamily.dnsalias.net> <1086923505.1454.33.camel@Tor> <40C93685.1080206@eglifamily.dnsalias.net> <40C9378B.6050706@eglifamily.dnsalias.net> <1086931316.624.7.camel@Tor> <40C9D0DF.9010609@eglifamily.dnsalias.net> Message-ID: <40C9E195.3020506@eglifamily.dnsalias.net> Dan Egli wrote: > Pradeeper wrote: > >> Hi Dan >> >> On Fri, 2004-06-11 at 10:39, Dan Egli wrote: >> >>> I was just thinking. If you don't have enough Spam/Ham to reform your >>> database, let me know and I can send you some bayes files I have from >>> one of my clients. It's quite well populated with over 1000 hams and >>> at last count over 400 spams. >> >> >> This is great, can I have it please... (off the list ;-) >> Hay how about a common place to download it? http://spam.sf.org ;-) >> >> Thanks! >> >> Pradeeper >> -- >> Debian GNU/Linux Sarge kernel 2.6.3-neo-1 >> >> You have an unusual magnetic personality. Don't walk too close to metal >> objects which are not fastened down. >> >> > I'll put it at the following URL within the next couple of hours (I'm at > work now so it has to be when I can get a break): > > http://eglifamily.dnsalias.net/spam_db.tar.gz > > -- > -- Dan > > _______________________________________________ > SA-Exim mailing list > SA-Exim@lists.merlins.org > http://lists.merlins.org/lists/listinfo/sa-exim > Ok. The file shown above is there. Grab and Enjoy. -- -- Dan From tor at slett.net Fri Jun 11 10:47:57 2004 From: tor at slett.net (Tor Slettnes) Date: Fri Jun 11 09:48:01 2004 Subject: [SA-exim] spamc/spamasssassin deb dependencies In-Reply-To: <1086766423.3417.4.camel@mars> References: <20040608124550.GU26323@mythix.realprogrammers.com> <20040609071433.GB9084@freshdot.net> <1086766423.3417.4.camel@mars> Message-ID: <1774B937-BBC7-11D8-94DD-0030656CF512@slett.net> On Jun 9, 2004, at 00:33, Kilian Krause wrote: > Hi Sander, > >> It depends on 'spamc | spamassassin'. First one found fulfills the >> dependency, and that's spamc. >> >> This is a bug, IMHO, so thanks for pointing it out. > > actually that's a good default imho. A better choice might be "spamassassin | spamc". If neither is installed, "spamassassin" gets picked by default. People who want to consult a remote SA will make a concious choice at this point; mere mortals get SA on their own machine. -tor From brian at brie.com Mon Jun 14 12:50:59 2004 From: brian at brie.com (Brian Lavender) Date: Mon Jun 14 11:51:13 2004 Subject: [SA-exim] SA-Exim on Debian stable? Message-ID: <20040614185059.GA30639@brie.com> Has SA-Exim been packaged for Debian stable? I see that stable is using exim 3.35 from security, so I take it I am going to have to grab the exim 4 package as well? brian -- Brian Lavender http://www.brie.com/brian/ From ssmeenk at freshdot.net Mon Jun 14 22:54:54 2004 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Mon Jun 14 12:55:12 2004 Subject: [SA-exim] SA-Exim on Debian stable? In-Reply-To: <20040614185059.GA30639@brie.com> References: <20040614185059.GA30639@brie.com> Message-ID: <20040614195454.GE15743@freshdot.net> Quoting Brian Lavender (brian@brie.com): > Has SA-Exim been packaged for Debian stable? No it hasn't. Atleast, not by me. Chances are that Andreas Metzler has a package lying around, maybe. > I see that stable is using exim 3.35 from security, so I take it I am > going to have to grab the exim 4 package as well? Yes. SA-Exim uses certain functionalities that aren't available in Exim versions older than 4.xx. Regards, Sander. -- | What do sheep count when they want to fall asleep? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From sdickenson at keyschool.org Mon Jun 14 18:22:14 2004 From: sdickenson at keyschool.org (Dickenson, Steven) Date: Mon Jun 14 14:22:30 2004 Subject: [SA-exim] SA-Exim on Debian stable? Message-ID: <1DBA7B491604E94BBCCE5133069A5BB20DE826@mail.keyschool.org> Andreas Metzler maintains Exim 4 packages backported from unstable for Woody. Put these in your sources.list file. ### Andreas Metzler's Exim v4 packages, backported from sid deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ Then do an apt-get update ; apt-get install exim4-daemon-{light|heavy} depending on your needs. If you grab the Debian source package for SA-Exim from the unstable tree, you can extract it and build it for Woody with no modifications. Steven --- Steven Dickenson Computer Network Manager The Key School, Annapolis Maryland -----Original Message----- From: Chirik [mailto:chirik@castlefur.com] Sent: Monday, June 14, 2004 4:12 PM To: Brian Lavender Cc: sa-exim@lists.merlins.org Subject: Re: [SA-exim] SA-Exim on Debian stable? On Mon, 14 Jun 2004, Brian Lavender wrote: > I see that stable is using exim 3.35 from security, so I take it I am > going to have to grab the exim 4 package as well? You will have to grab the Exim 4 package from unstable or testing. It'll require some dependencies also be backported, but for the most part, this is straight forward. The biggest issue I had was that OpenLDAP is difficult to update, and exim requires it to build exim-daemon-heavy, but I simply setup an exim-daemon-custom build to match heavy, minus the LDAP support, and overrode the dependency checks when I rebuilt it. I'm pretty sure that you'll need to either recompile to use Exim 4 on stable, or do a significant upgrade. I personally recompile everything. -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ ---------------------------------------------------------- ' ) `\ Chirik [The Squirrel] --|-- chirik@castlefur.com /' |_./< http://www.livejournal.com/users/chirik | /'-.\`| `\ |/~\/>" A squirrel's home is really a nutcracker's suite! `\\_<_ --[ Ascii by mustel ]---------------------------------- _______________________________________________ SA-Exim mailing list SA-Exim@lists.merlins.org http://lists.merlins.org/lists/listinfo/sa-exim From sa-exim at adam-barratt.org.uk Mon Jun 14 23:36:45 2004 From: sa-exim at adam-barratt.org.uk (Adam D. Barratt) Date: Mon Jun 14 14:34:08 2004 Subject: [SA-exim] SA-Exim on Debian stable? In-Reply-To: References: <20040614185059.GA30639@brie.com> Message-ID: <1087249005.5351.244.camel@kaa.jungle.aubergine.my-net-space.net> On Mon, 2004-06-14 at 21:12, Chirik wrote: > On Mon, 14 Jun 2004, Brian Lavender wrote: > > > I see that stable is using exim 3.35 from security, so I take it I am > > going to have to grab the exim 4 package as well? > > You will have to grab the Exim 4 package from unstable or testing. Erm... no you don't - http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/woody/ > It'll require some dependencies also be backported, but for the most part, > this is straight forward. The biggest issue I had was that OpenLDAP is > difficult to update, and exim requires it to build exim-daemon-heavy, Why bother backporting it? Yes, the LDAP libraries are needed, but due to the magic of Debian's shlibs system, the packages will be linked against the version of the libraries on the system they're built on. Take a look at the dependencies for exim4-daemon-heavy in Andreas' repository, for instance - the version of libldap2 they depend upon is actually *older* than that on an up-to-date woody system (3.0r2). The only things you will need backports of if you use them are dpatch and gnutls, and they're also available from Andreas' site. > I'm pretty sure that you'll need to either recompile to use Exim 4 on > stable, or do a significant upgrade. I personally recompile everything. Nope. You can recompile if you want (we do, but for other reasons), but in most cases Andreas has already saved you the trouble. Adam From brian at brie.com Mon Jun 14 17:13:59 2004 From: brian at brie.com (Brian Lavender) Date: Mon Jun 14 16:14:21 2004 Subject: [SA-exim] SA-Exim on Debian stable? In-Reply-To: <1DBA7B491604E94BBCCE5133069A5BB20DE826@mail.keyschool.org> References: <1DBA7B491604E94BBCCE5133069A5BB20DE826@mail.keyschool.org> Message-ID: <20040614231359.GA30725@brie.com> On Mon, Jun 14, 2004 at 05:22:14PM -0400, Dickenson, Steven wrote: > Andreas Metzler maintains Exim 4 packages backported from unstable for > Woody. Put these in your sources.list file. > > ### Andreas Metzler's Exim v4 packages, backported from sid > deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ > deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ > > Then do an apt-get update ; apt-get install exim4-daemon-{light|heavy} > depending on your needs. > > If you grab the Debian source package for SA-Exim from the unstable tree, > you can extract it and build it for Woody with no modifications. > SA-Exim wants debconf 2.0 Debian stable has debconf 1.0.32. Should I just force it? Then I used dh-make-perl to get the latest spamassassin. brian -- Brian Lavender http://www.brie.com/brian/ From sdickenson at keyschool.org Mon Jun 14 20:46:53 2004 From: sdickenson at keyschool.org (Dickenson, Steven) Date: Mon Jun 14 16:47:08 2004 Subject: [SA-exim] SA-Exim on Debian stable? Message-ID: <1DBA7B491604E94BBCCE5133069A5BB20DE827@mail.keyschool.org> Just remove the version requirement from the control file. It should work (if you force it, I think it will screw up apt-get the next time 'round). Steven --- Steven Dickenson Computer Network Manager The Key School, Annapolis Maryland -----Original Message----- From: Brian Lavender [mailto:brian@brie.com] Sent: Monday, June 14, 2004 7:14 PM To: Dickenson, Steven Cc: sa-exim@lists.merlins.org Subject: Re: [SA-exim] SA-Exim on Debian stable? On Mon, Jun 14, 2004 at 05:22:14PM -0400, Dickenson, Steven wrote: > Andreas Metzler maintains Exim 4 packages backported from unstable for > Woody. Put these in your sources.list file. > > ### Andreas Metzler's Exim v4 packages, backported from sid > deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ > deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ > > Then do an apt-get update ; apt-get install exim4-daemon-{light|heavy} > depending on your needs. > > If you grab the Debian source package for SA-Exim from the unstable tree, > you can extract it and build it for Woody with no modifications. > SA-Exim wants debconf 2.0 Debian stable has debconf 1.0.32. Should I just force it? Then I used dh-make-perl to get the latest spamassassin. brian -- Brian Lavender http://www.brie.com/brian/ From brian at brie.com Mon Jun 14 23:51:18 2004 From: brian at brie.com (Brian Lavender) Date: Mon Jun 14 22:51:31 2004 Subject: [SA-exim] Which user_prefs? Message-ID: <20040615055118.GB30725@brie.com> Thanks for the tips on getting SA-Exim running on Debian stable. I am giving a demo of it at SacLUG this wednesday. I noticed that Exim has its own user_prefs and that the mail recipient has his own user_prefs. Does SA-Exim just use its own user prefs? Or does it use its user_prefs for local_scan (not sure if that is the correct term) and then it further processes the message with the recipient's user_prefs? brian -- Brian Lavender http://www.brie.com/brian/ From brian at brie.com Tue Jun 15 22:23:08 2004 From: brian at brie.com (Brian Lavender) Date: Tue Jun 15 21:23:25 2004 Subject: [SA-exim] script for installing SA-Exim on Debian stable Message-ID: <20040616042308.GA9121@brie.com> Here's a hack I came up with to get SA-Exim on Debian stable. It's definitely a hack, but with a base Debian system, it will get you SA-Exim up and running. It will configure the sources list for deb packages from Metzler's site plus add the deb-src for the source packages that need to be grabbed, build them and then install them. brian #!/bin/bash # Tue Jun 15 19:58:47 PDT 2004 # # Automatic script to get SA-Exim running on Debian stable. # Warning. This script uses specific Debian package repositories # that may change. Use at your own risk. # # Brian E. Lavender # brian@brie.com if [ "$EUID" != "0" ] then echo "This script must be run as root!!" exit fi sources="/etc/apt/sources.list" grep -q unstable $sources if [ $? -ne 0 ] then echo "deb-src http://mirrors.kernel.org/debian/ unstable main" >> $sources fi grep -q ametzler $sources if [ $? -ne 0 ] then cat << __END__ >> $sources ### Andreas Metzler's Exim v4 packages, backported from sid deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ __END__ fi apt-get update dpkg --set-selections << __END_SELECTIONS__ adduser install apt install apt-utils install at install autoconf install autoconf2.13 install automake install autoproject install autotools-dev install base-config install base-files install base-passwd install bash install bc install biff install bin86 install bind9-host install binutils install bison install blt install blt-common install blt-dev install bonobo install bsdgames install bsdmainutils install bsdutils install c2man install cflow install console-common install console-data install console-tools install console-tools-libs install cpio install cpp install cpp-2.95 install cpp-3.0 install cron install cutils install cvs install cxref install dc install ddd install debconf install debconf-utils install debhelper install debianutils install defoma install dh-make install dh-make-perl install dhcp-client install dialog install diff install dnsutils install doc-debian install doc-linux-text install dpkg install dpkg-dev install e2fsprogs install ed install emacs20 install emacsen-common install esound-clients install esound-common install exim4 install exim4-base install exim4-config install exim4-daemon-light install fakeroot install fdutils install file install fileutils install findutils install finger install fingerd install flex install ftnchek install ftp install ftpd install fweb install g++ install g++-2.95 install g77 install g77-2.95 install gadfly install gcc install gcc-2.95 install gcc-3.0 install gcc-3.0-base install gconf install gdb install gdk-imlib1 install gettext install gettext-base install gettext-el install gimp-python install gimpprint-locales install glibc-doc install gnome-bin install gnome-libs-data install gnupg install gnupg-doc install gnutls3 install grep install groff-base install gs install gs-common install gsfonts install gsfonts-x11 install gzip install hostname install html2text install htmlgen install iamerican install ibritish install iconx install idle install idle-python2.1 install ifupdown install imlib-base install indent install info install ipchains install ipmasqadm install iptables install ispell install itcl3.1 install itcl3.1-dev install itk3.1 install itk3.1-dev install klogd install less install lesstif1 install libart2 install libaudiofile0 install libbonobo2 install libc6 install libc6-dev install libcap1 install libcapplet0 install libdb2 install libdb3 install libdigest-hmac-perl install libdigest-md2-perl install libdigest-md4-perl install libdigest-md5-perl install libdigest-nilsimsa-perl install libdigest-perl install libdigest-sha1-perl install libdns5 install libdps1 install libefs1 install libesd0 install libexpat1 install libfreetype6 install libgal-data install libgal19 install libgcc1 install libgconf11 install libgcrypt1 install libgcrypt7 install libgdbmg1 install libgdk-pixbuf-gnome2 install libgdk-pixbuf2 install libgimp1.2 install libgimpprint1 install libglade-gnome0 install libglade0 install libglib1.2 install libgmp3 install libgnome32 install libgnomeprint-bin install libgnomeprint-data install libgnomeprint15 install libgnomesupport0 install libgnomeui32 install libgnorba27 install libgnorbagtk0 install libgnutls10 install libgnutls5 install libgnutls7 install libgpg-error0 install libgtk1.2 install libgtk1.2-common install libgtkhtml20 install libgtkxmhtml1 install libhtml-format-perl install libhtml-parser-perl install libhtml-tagset-perl install libhtml-tree-perl install libident install libisc4 install libjpeg62 install libldap2 install liblockfile1 install libltdl3 install libltdl3-dev install liblwres1 install liblzo1 install libmailtools-perl install libmime-base64-perl install libncurses5 install libnet-dns-perl install libnet-perl install libnet-ph-perl install libnet-snpp-perl install libnet-telnet-perl install libnewt0 install libnss-db install liboaf0 install libopencdk4 install libopencdk8 install liborbit0 install libpam-modules install libpam-runtime install libpam0g install libpanel-applet0 install libpaperg install libpcap0 install libpcre3 install libperl5.6 install libpgsql2 install libpng2 install libpopt0 install libpth14 install libreadline4 install libsane install libsasl7 install libssl-dev install libssl0.9.6 install libstdc++2.10-dev install libstdc++2.10-glibc2.2 install libstdc++3 install libtasn1-0 install libtasn1-2 install libtest-cmd-perl install libtest-simple-perl install libtiff3g install libtime-hires-perl install libtime-modules-perl install libtimedate-perl install libtool install libungif4g install liburi-perl install libusb-0.1-4 install libwrap0 install libwww-perl install libxaw6 install libxaw7 install libxml1 install libzvt2 install lilo install liwc install locales install login install logrotate install lpr install lsof install ltrace install lynx install m4 install mailx install make install makedev install man-db install manpages install manpages-dev install mawk install mbr install mime-support install modconf install modutils install mount install mpack install mtools install mtr deinstall mtr-tiny install mutt install nano install ncurses-base install ncurses-bin install ncurses-term install net-tools install netbase install netcat install netcdfg3 install nethack install nethack-common install nethack-x11 install netkit-inetd install netkit-ping install nfs-common install nfs-kernel-server install nowebm install nvi install oaf install passwd install patch install pciutils install pdksh install perl install perl-base install perl-modules install pidentd install portmap install ppp install pppconfig install pppoe install pppoeconf install procps install psfontmgr install psmisc install python install python-bobo install python-bobopos install python-dev install python-doc install python-egenix-mxdatetime install python-examples install python-extclass install python-gdbm install python-gdk-imlib install python-gendoc install python-glade install python-gnome install python-gtk install python-imaging install python-imaging-sane install python-imaging-tk install python-kjbuckets install python-ldap install python-mpz install python-netcdf install python-newt install python-numeric install python-numeric-tutorial install python-pmw install python-pygresql install python-tk install python-xml install python2.1 install python2.1-dev install python2.1-doc install python2.1-egenix-mxdatetime install python2.1-egenix-mxtools install python2.1-examples install python2.1-gdbm install python2.1-imaging install python2.1-imaging-sane install python2.1-imaging-tk install python2.1-kjbuckets install python2.1-mpz install python2.1-numeric install python2.1-tk install python2.1-xml install python2.1-xmlbase install razor install rcs install reportbug install sa-exim install screen install sed install setserial install sharutils install shellutils install slang1 install slatec install spamassassin install spamc install ssh install stl-manual install strace install sysklogd install syslinux install sysvinit install t1lib1 install talk install talkd install tar install tasksel install tcl8.3 install tcl8.3-dev install tcpd install tcsh install telnet install telnetd install texinfo install textutils install time install tix41 install tk8.3 install tk8.3-dev install tktable install tktable-dev install traceroute install urlview install util-linux install util-linux-locales install vacation install wenglish install whiptail install whois install xbase-clients install xfree86-common install xlibmesa3 install xlibs install xlibs-dev install xpdf install xpdf-common install xpdf-reader install xpdf-utils install xutils install ytalk install zlib1g install zsh install __END_SELECTIONS__ apt-get dselect-upgrade << __END__ y __END__ while read foo do apt-get source $foo done << __END__ libdigest-nilsimsa-perl razor sa-exim spamassassin __END__ pushd sa-exim-*/debian cat << __END__ > control Source: sa-exim Section: mail Priority: optional Maintainer: Sander Smeenk Build-Depends: lynx, debhelper (>= 4.1.16) Standards-Version: 3.5.10 Package: sa-exim Architecture: any Depends: exim4-daemon-light (>>4.30-1) | exim4-daemon-heavy (>>4.30-1) | exim4-daemon-custom (>>4.30-1), spamc | spamassassin (<<2.30-2), ${shlibs:Depends}, debconf (>= 1.0.0) Description: Use spamAssassin at SMTP time with the Exim v4 MTA SA-Exim lets you use spamAssassin at SMTP time with the Exim v4 MTA, which enables you to do many things with incoming Emails, including refusing them before they come in, or even teergrubing the sender (i.e. slowing him down, by tying his resources) . Homepage: http://marc.merlins.org/linux/exim/sa.html __END__ popd while read foo do pushd ${foo}-* fakeroot debian/rules binary popd done << __END__ libdigest-nilsimsa-perl razor sa-exim spamassassin __END__ # Now install the new Debian package versions. while read package do dpkg -i $package done << __END__ libdigest-nilsimsa-perl_*.deb razor_*.deb sa-exim_*.deb spamassassin_*.deb spamc_*.deb __END__ cat << __END__ > /etc/default/spamassassin # /etc/default/spamd.conf # Duncan Findlay # WARNING read README.spamd before using. THERE ARE SECURITY RISKS! # Change to one to enable spamd ENABLED=1 # Options # See man spamd for possible options. The -d option is automatically added. OPTIONS="-c -m 10 -a -H" # Set nice level of spamd #NICE="--nicelevel 15" __END__ /etc/init.d/spamassassin restart perl -pi~ -e 's/^SAEximRunCond: 0/SAEximRunCond: 1/' /etc/exim4/sa-exim.conf echo "Run dpkg-reconfigure exim4-config and use small config files" echo "Then reload exim4 with the following command" echo "/etc/init.d/exim4 reload" -- Brian Lavender http://www.brie.com/brian/ From jknotzke at shampoo.ca Wed Jun 16 11:38:58 2004 From: jknotzke at shampoo.ca (Justin F. Knotzke) Date: Wed Jun 16 07:39:14 2004 Subject: [SA-exim] Whitelisting mailing lists Message-ID: <20040616143857.GF8452@shampoo.ca> I tried posting this to spamassassin users but haven't had much luck. The problem is I am teergrubing mailing lists like Debian and I don't want to. What are people using to whitelist mailing lists? Currently I am using: def_whitelist_from_rcvd *@yahoo.com yahoo.com def_whitelist_from_rcvd *@*.yahoo.com yahoo.com def_whitelist_from_rcvd *@*.*.yahoo.com yahoo.com def_whitelist_from_rcvd *@*.*.*.yahoo.com yahoo.com def_whitelist_from_rcvd *@*.*.*.*.yahoo.com yahoo.com def_whitelist_from_rcvd *@lists.debian.org debian.org def_whitelist_from_rcvd *@.debian.org debian.org def_whitelist_from_rcvd *@debian.org debian.org def_whitelist_from_rcvd *@.debian.org murphy.debian.org Which test is supposed to show up to show that it's picking up my whitelisted address? Either way, it doesn't appear to be working for me. Any ideas? Thanks, J -- Justin F. Knotzke jknotzke@shampoo.ca http://www.shampoo.ca PGP: http://www.shampoo.ca/pubkey.txt From brian at brie.com Fri Jun 18 05:28:46 2004 From: brian at brie.com (Brian Lavender) Date: Fri Jun 18 04:29:05 2004 Subject: [SA-exim] better SA-Exim autoinstall for Debian stable Message-ID: <20040618112846.GB9121@brie.com> I suppose I ought to just create my own package repository, but I thought it was just cool to create a script that would automatically give me SA-Exim from a basic Debian stable install. This one has a lot less splatter (aka less shotgun approach). No comments yet. #!/bin/bash # Fri Jun 18 04:27:23 PDT 2004 # # Automatic script to get SA-Exim running on Debian stable. # Warning. This script uses specific Debian package repositories # that may change. Use at your own risk. # # Brian E. Lavender # brian@brie.com if [ "$EUID" != "0" ] then echo "This script must be run as root!!" exit fi sources="/etc/apt/sources.list" grep -q unstable $sources if [ $? -ne 0 ] then echo "deb-src http://mirrors.kernel.org/debian/ unstable main" >> $sources fi grep -q ametzler $sources if [ $? -ne 0 ] then cat << __END__ >> $sources ### Andreas Metzler's Exim v4 packages, backported from sid deb http://www.logic.univie.ac.at/~ametzler/debian/exim4manpages/ woody/ deb http://www.logic.univie.ac.at/~ametzler/debian/gnutls/ woody/ __END__ fi apt-get update set -e dpkg --set-selections << __END_SELECTIONS__ fakeroot install debconf-utils install html2text install debhelper install libdigest-hmac-perl install libdigest-md5-perl install libdigest-sha1-perl install libnet-perl install liburi-perl install libmime-base64-perl install libmailtools-perl install libtime-hires-perl install libtimedate-perl install libhtml-parser-perl install libhtml-tagset-perl install libssl-dev install libnet-dns-perl install libtest-simple-perl install exim purge exim4 install exim4-base install exim4-config install exim4-daemon-light install libgnutls10 install libasn1 install libgnutls7 install libgcrypt1 install libgcrypt7 install liblzo1 install libpth14 install libopencdk4 install libopencdk8 install libtasn1-0 install libtasn1-2 install __END_SELECTIONS__ apt-get -y dselect-upgrade while read package do apt-get source $package pushd ${package}-* fakeroot debian/rules binary popd dpkg -i ${package}*.deb done << __END__ libdigest-nilsimsa-perl razor __END__ apt-get source spamassassin pushd spamassassin* fakeroot debian/rules binary popd dpkg -i spamc*.deb dpkg -i spamassassin*.deb apt-get source sa-exim pushd sa-exim-*/debian cat << __END__ > control Source: sa-exim Section: mail Priority: optional Maintainer: Sander Smeenk Build-Depends: lynx, debhelper (>= 4.1.16) Standards-Version: 3.5.10 Package: sa-exim Architecture: any Depends: exim4-daemon-light (>>4.30-1) | exim4-daemon-heavy (>>4.30-1) | exim4-daemon-custom (>>4.30-1), spamc | spamassassin (<<2.30-2), ${shlibs:Depends}, debconf (>= 1.0.0) Description: Use spamAssassin at SMTP time with the Exim v4 MTA SA-Exim lets you use spamAssassin at SMTP time with the Exim v4 MTA, which enables you to do many things with incoming Emails, including refusing them before they come in, or even teergrubing the sender (i.e. slowing him down, by tying his resources) . Homepage: http://marc.merlins.org/linux/exim/sa.html __END__ popd pushd sa-exim* fakeroot debian/rules binary popd dpkg -i sa-exim*.deb cat << __END__ > /etc/default/spamassassin # /etc/default/spamd.conf # Duncan Findlay # WARNING read README.spamd before using. THERE ARE SECURITY RISKS! # Change to one to enable spamd ENABLED=1 # Options # See man spamd for possible options. The -d option is automatically added. OPTIONS="-c -m 10 -a -H" # Set nice level of spamd #NICE="--nicelevel 15" __END__ /etc/init.d/spamassassin restart perl -pi~ -e 's/^SAEximRunCond: 0/SAEximRunCond: 1/' /etc/exim4/sa-exim.conf echo "Run dpkg-reconfigure exim4-config and use small config files" echo "Then reload exim4 with the following command" echo "/etc/init.d/exim4 reload" -- Brian Lavender http://www.brie.com/brian/ From marc at merlins.org Thu Jun 24 21:11:07 2004 From: marc at merlins.org (Marc MERLIN) Date: Thu Jun 24 20:11:09 2004 Subject: [SA-exim] Quick news Message-ID: <20040625031107.GD7612@merlins.org> So yes, I was hoping to release the next sa-exim before going to vacation (tomorrow morning, 2.5 weeks in France/Ibiza), but life has been too crazy for this to actually happen. I may be able to code some while I'm there, or in the plane, but either way, it probably won't be less than 3 weeks before anything new comes out. I haven't forgotten though, thanks for your patience :) Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key From ssmeenk at freshdot.net Fri Jun 25 22:07:26 2004 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Fri Jun 25 12:07:47 2004 Subject: [SA-exim] Quick news In-Reply-To: <20040625031107.GD7612@merlins.org> References: <20040625031107.GD7612@merlins.org> Message-ID: <20040625190726.GC11118@freshdot.net> Quoting Marc MERLIN (marc@merlins.org): > So yes, I was hoping to release the next sa-exim before going to vacation > I haven't forgotten though, thanks for your patience :) Have a nice vacation! :) Sander. -- | There's nothing like waking up with your Dickin's Cider! | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From schimmer at cg.cs.tu-bs.de Wed Jun 30 11:07:21 2004 From: schimmer at cg.cs.tu-bs.de (Lars Schimmer) Date: Wed Jun 30 01:07:36 2004 Subject: [SA-exim] SA-Exim, teergrube & IPRange... Message-ID: <40E274B9.9010901@cg.cs.tu-bs.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm using sa-exim with exim4, latest from debian-testing. Now I want to use the teergrube but there's a range of Class A Net IPs not to teergrube. Can I expand the run condition of teergrube like {!eq {$sender host address}{192.168.0.*}} Or do I have to make a list of IPs? Any hints, examples for me? Cya & thx. Lars - -- - ----------------------------------------------------------------- Technische Universit?t Braunschweig, Institut f?r Computergraphik Tel.: +49 531 391-2109 E-Mail: schimmer@cg.cs.tu-bs.de PGP-Key-ID: 0xB87A0E03 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFA4nS5VguzrLh6DgMRAhyiAJ9aDTp5drmMqyG7gaOxTzvHX7C9qgCfSyQN H3XuTtWOsMxigV1DQZGmKLg= =For7 -----END PGP SIGNATURE----- From kk at verfaction.de Wed Jun 30 12:40:27 2004 From: kk at verfaction.de (Kilian Krause) Date: Wed Jun 30 02:40:43 2004 Subject: [SA-exim] SA-Exim, teergrube & IPRange... In-Reply-To: <40E274B9.9010901@cg.cs.tu-bs.de> References: <40E274B9.9010901@cg.cs.tu-bs.de> Message-ID: <1088588427.4719.24.camel@ganymede.kk.de> Hi Lars, > I'm using sa-exim with exim4, latest from debian-testing. > Now I want to use the teergrube but there's a range of Class A Net IPs > not to teergrube. > Can I expand the run condition of teergrube like {!eq {$sender host > address}{192.168.0.*}} > Or do I have to make a list of IPs? Any hints, examples for me? {!eq {mask:$sender_host_address/24}{1.2.3.0/24}} is what you search for. -- Best regards, Kilian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://lists.merlins.org/archives/sa-exim/attachments/20040630/461329cd/attachment.bin