From nori at washitake.com Mon Sep 1 21:29:24 2003 From: nori at washitake.com (Norihisa Washitake) Date: Mon Sep 1 04:29:51 2003 Subject: [SA-exim] built date in sa-exim.h Message-ID: <20030901202104.E3F4.NORI@washitake.com> Hi, I installed exim with SA-exim integration, and noticed it adds a header 'X-SA-Exim-Version: $(version) (built `date`)' but it does not work "right" on my linux box. That's because the result of system command `date` is in euc-jp code page (a multi-byte character set used commonly in UNIX boxes in Japan), which should not be used in internet mails. So I suggest it be in LANG=C when being make'd, by doing: *** Makefile.orig Mon Sep 1 20:23:50 2003 --- Makefile Mon Sep 1 20:24:08 2003 *************** *** 65,70 **** --- 65,71 ---- sa-exim.c: sa-exim.h sa-exim.h: version + LANG=C echo "char *version=\"`cat version` (built `date`)\";" > sa-exim.h clean: Regards, -- Norihisa Washitake Dept of Earth Sciences, Sci, The University of Tokyo nori@washitake.com, http://washitake.com/ From tor at slett.net Wed Sep 3 18:34:27 2003 From: tor at slett.net (Tor Slettnes) Date: Wed Sep 3 17:35:09 2003 Subject: [SA-exim] Anyone install from Debs? In-Reply-To: <20030830150008.GH18838@shampoo.ca> Message-ID: <8A9FF063-DE6F-11D7-9EF5-0030655A4806@slett.net> On Saturday, Aug 30, 2003, at 08:00 US/Pacific, Justin F. Knotzke wrote: > I installed exim-4.20 from source and rewrote local_scan.c with > sa-exim.c and that works fine. Why? If you are using Debian 'unstable', implied below, then simply install the 'exim4-daemon-light' (or '..-heavy', if you wish) package, and the 'sa-exim' .deb on top of it. The 'exim4-*' packages in debian include the 'localscan_dlopen' patch from merlins.org, and so will allow the sa-exim ".so" to perform the local_scan() function. You don't need to rebuild the exim4 package yourself. > However, doing apt-get dist-upgrade causes apt to want to install > exim, which of course I do not want. Right. Make sure you have 'exim4' installed as a package, not simply by 'make install' from the source archive. > That leaves me with a few solutions. I grabbed Debian's sources for > exim-4.22 and built that and created the .debs for it. Installing those > .debs throws me for a loop in that I can't quite figure out where the > config files are (i put in blanks during the curses config screens). > Has > anyone built exim-4.2x from source for Debian and installed sa-exim > with > it? I presume you are using 'dpkg-buildpackage' to do this? If so, and you get any questions at all, that is probably a bug in 'debian/rules' or similar. (Even if you are using woody, I presume 'dpkg-buildpackage' has support for build-depends, and so you would get a message if you did not have all packages required to build exim4...) (No, I haven't tried to rebuild exim4 -- but then again, why?) > My next question is OT but somewhat related. Assuming I decide to > just > go with my from source install without created debs, is there a way to > tell apt-get to ignore the install of exim? I know how to hold back a > package for upgrade but is there a way to hold back a package for > installation? Debian _requires_ the virtual package 'mail-transport-agent'. You need something that provides this virtual package; maybe install something like 'ssmtp' and disable its 'init.d' script? Anyway, bad idea methinks. From simon at nuit.ca Thu Sep 4 05:08:06 2003 From: simon at nuit.ca (simon@nuit.ca) Date: Wed Sep 3 21:08:16 2003 Subject: [SA-exim] Anyone install from Debs? In-Reply-To: References: Message-ID: <20030904040806.GC28124@nuit.ca> > On Saturday, Aug 30, 2003, at 08:00 US/Pacific, Justin F. Knotzke wrote: > > > Why? If you are using Debian 'unstable', implied below, then simply > install the 'exim4-daemon-light' (or '..-heavy', if you wish) package, > and the 'sa-exim' .deb on top of it. > > > However, doing apt-get dist-upgrade causes apt to want to install > > exim, which of course I do not want. i had to do that for a while when the only thing in debian for exim4 was 4.11 source and x86 .debs. > > Debian _requires_ the virtual package 'mail-transport-agent'. You need > something that provides this virtual package; maybe install something > like 'ssmtp' and disable its 'init.d' script? there's a pseudo-package just for this kind of thing.. /me checks.. equivs. you just set up equivs for MTA. nothing so messy. eric > Anyway, bad idea methinks. > > > > > ------------------------------ > > _______________________________________________ > SA-Exim mailing list > SA-Exim@lists.merlins.org > http://lists.merlins.org/lists/listinfo/sa-exim > > > End of SA-Exim Digest, Vol 60, Issue 1 > ************************************** > -- ##-----------------------------------------------------------------## | ,''`. http://www.debian.org/ | http://www.nuit.ca/ | | : :' : Debian GNU/Linux | http://simonraven.nuit.ca/ | | `. `' | PGP key ID: 6169 BE0C 0891 A038 | | `- | | ##-----------------------------------------------------------------## Due to the directive validating Software Patents[1] that will be voted on at the European Parliament[2], I have decided to protest. Citizens whose nations are part of the European Parliament -- please sign the Petition for a Software Patent Free Europe[3] [1] http://swpat.ffii.org/ [2] http://www.europarl.eu.int/ [3] http://petition.eurolinux.org/ From G.Ross at ccw.gov.uk Wed Sep 10 11:46:40 2003 From: G.Ross at ccw.gov.uk (Gordon Ross) Date: Wed Sep 10 02:48:03 2003 Subject: [SA-exim] Error message trying to "make sa-exim.h" on OpenBSD Message-ID: Hi, Trying to run "make sa-exim.h" (as per the docs) on OpenBSD 3.3 on i386. When I try this, I get the error message: "Makefile", line 62: Need an operator I'm trying to make sa-exim version 3.1 for use with Exim 4.20 Thanks, GTG Gordon Ross, Network Manager/Rheolwr Rhydwaith Countryside Council for Wales/Cyngor Cefn Gwlad Cymru From marc at merlins.org Wed Sep 10 09:08:42 2003 From: marc at merlins.org (Marc MERLIN) Date: Wed Sep 10 08:08:44 2003 Subject: [SA-exim] Error message trying to "make sa-exim.h" on OpenBSD In-Reply-To: References: Message-ID: <20030910150842.GB25093@merlins.org> On Wed, Sep 10, 2003 at 10:46:40AM +0100, Gordon Ross wrote: > Hi, > > Trying to run "make sa-exim.h" (as per the docs) on OpenBSD 3.3 on i386. > > When I try this, I get the error message: > > "Makefile", line 62: Need an operator No idea why. My makefile looks clean. (tab vs space and all) Anyway, all you need is this: echo "char *version=\"`cat version` (built `date`)\";" > sa-exim.h Just run that from a shell 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 Sep 12 19:52:29 2003 From: marc at merlins.org (Marc MERLIN) Date: Fri Sep 12 21:53:04 2003 Subject: [SA-exim] built date in sa-exim.h In-Reply-To: <20030901202104.E3F4.NORI@washitake.com> References: <20030901202104.E3F4.NORI@washitake.com> Message-ID: <20030913015229.GD27108@merlins.org> On Mon, Sep 01, 2003 at 08:29:24PM +0900, Norihisa Washitake wrote: > sa-exim.h: version > + LANG=C > echo "char *version=\"`cat version` (built `date`)\";" > sa-exim.h I should have known better. Thanks for the patch 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 mailinglists at robertkehl.de Wed Sep 17 10:31:29 2003 From: mailinglists at robertkehl.de (Robert Kehl) Date: Wed Sep 17 00:31:38 2003 Subject: [SA-exim] report_safe Message-ID: <025001c37ced$b5c7cf10$0164a8c0@datenbert> Hi all! I once had it, I think, but now it's gone: What are the correct settings to have spamassassin defang *every* spam mail, so I can view the spam contents safely as text/plain in the body of the mail. I can manage to add the message as a text/plain attachement, but would like to have the defanged text in the body itself. This is not the case with arriving text/html message, although the attachement shows a correctly defanged text/plain version... System: Mandrake 9.1 exim 4.22, sa-exim 3.1, localscan_dlopen-patch SA 2.55 /etc/mail/spamassassin/10_local.cf: rewrite_subject 1 #fold_headers 1 #spam_level_stars 1 spam_level_char > subject_tag *****SPAM***** report_header 0 use_terse_report 0 report_safe 2 defang_mime 1 ^^^^^^ tried with and without sa-exim.conf: SAEximDebug: 1 SAspamcpath: /usr/bin/spamc SAEximRunCond: ${if !eq {$h_X-SA-Do-Not-Run:}{Yes} {1}{0}} SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes} {1}{0}} SAmaxbody: 1048576 SATruncBodyCond: 0 SARewriteBody: 1 SAPrependArchiveWithFrom: 1 SAmaxarchivebody: 20971520 SAerrmaxarchivebody: 1073741824 SAmaxrcptlistlength: 0 SAaddSAEheaderBeforeSA: 1 SAtimeoutsave: /var/spool/exim/SAtimeoutsave SAtimeoutSavCond: 1 SAerrorsave: /var/spool/exim/SAerrorsave SAerrorSavCond: 1 SAteergrube: 10.0 SAteergrubecond: ${if and { {!eq {$sender_host_address}{127.0.0.1}} {!eq {${substr_0_12:$sender_host_address}}{192.168.100.}} } {1}{0}} SAteergrubetime: 900 SAteergrubeSavCond: 1 SAteergrubesave: /var/spool/exim/SAteergrube SAteergrubeoverwrite: 1 SAdevnull: 2000.0 SAdevnullSavCond: 1 SAdevnullsave: /var/spool/exim/SAdevnull SApermreject: 1800.0 SApermrejectSavCond: 1 SApermrejectsave: /var/spool/exim/SApermreject SAtempreject: 1900.0 SAtemprejectonerror: 0 SAtemprejectSavCond: 1 SAtemprejectsave: /var/spool/exim/SAtempreject SAtemprejectoverwrite: 1 SAspamacceptsave: /var/spool/exim/SAspamaccept SAspamacceptSavCond: 0 SAnotspamsave: /var/spool/exim/SAnotspam SAnotspamSavCond: 0 SAmsgteergrubewait: wait for more output SAmsgteergruberej: Please try again later SAmsgpermrej: Permanently rejected SAmsgtemprej: Please try again later SAmsgerror: Temporary local error while processing message, please contact postmaster Thanks in advance for any answer to this question, Robert Kehl From mark.wooldridge at cambridgeconsultants.com Wed Sep 24 12:44:35 2003 From: mark.wooldridge at cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com) Date: Wed Sep 24 03:45:24 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 Message-ID: Hi, I have installed the dlopen patch in exim-4.22. Exim 4.22 compiles ok. Spam Assassin Compiles ok. OS is Solaris 9 on Sparc. The problem I have is understanding the instructions for makeing the sa-exim-3.1 >From the instructions I gather that I should type: make sa-exim-3.1.so But it complains about this! Typing make by itself complains "gcc: no input files" Help! Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.merlins.org/archives/sa-exim/attachments/20030924/9fc0e76e/attachment.html From ssmeenk at freshdot.net Wed Sep 24 17:56:21 2003 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Sep 24 07:56:33 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 In-Reply-To: References: Message-ID: <20030924145621.GA16361@freshdot.net> Quoting mark.wooldridge@cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com): > But it complains about this! > Typing make by itself complains "gcc: no input files" I had the same today on FreeBSD, make sure you have the GNU version of make, other versions don't seem to understand the macros that construct the sourcefilenames for the calls to gcc. So it seems. -- | Why is the time of day with the slowest traffic called rush hour? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From mark.wooldridge at cambridgeconsultants.com Wed Sep 24 17:49:12 2003 From: mark.wooldridge at cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com) Date: Wed Sep 24 08:49:59 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 Message-ID: I've now tried the "gcc" make and get a long list of errors and at the end : ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make: *** [sa-exim-3.1.so] Error 1 Eeekkk... Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.merlins.org/archives/sa-exim/attachments/20030924/7be1bbf1/attachment.html From ssmeenk at freshdot.net Wed Sep 24 18:56:07 2003 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Sep 24 08:56:11 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 In-Reply-To: References: Message-ID: <20030924155607.GB16361@freshdot.net> Quoting mark.wooldridge@cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com): > I've now tried the "gcc" make and get a long list of blah> errors > and at the end : > ld: fatal: relocations remain against allocatable but non-writable > sections > collect2: ld returned 1 exit status > make: *** [sa-exim-3.1.so] Error 1 Are you on x86 platform? :) Better yet, has there been succesful compiles on non-x86 platforms? Did you use GNU make version 3.80 and gcc version 3.3.2 ? Sander. -- | Waarom draagt een kamikazepiloot een helm ? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From mark.wooldridge at cambridgeconsultants.com Wed Sep 24 18:13:42 2003 From: mark.wooldridge at cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com) Date: Wed Sep 24 09:14:30 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 Message-ID: >Are you on x86 platform? :) >Better yet, has there been succesful compiles on non-x86 platforms? >Did you use GNU make version 3.80 and gcc version 3.3.2 ? Ar!!! I'm using a Sun Ultra 5. And gnu make v 3.80 and gcc version 3.3.0 As for the successful compiles on the sparc??? Not sure. Spamassassin and Exim compile ok. Could there possibly be some Linux specific stuff in the sa-exim code? Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.merlins.org/archives/sa-exim/attachments/20030924/9cff3f0e/attachment-0001.html From marty.riley at rootwizard.net Wed Sep 24 12:21:32 2003 From: marty.riley at rootwizard.net (Marty J. Riley) Date: Wed Sep 24 09:22:06 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 In-Reply-To: <20030924155607.GB16361@freshdot.net> References: <20030924155607.GB16361@freshdot.net> Message-ID: <1064420492.2208.19.camel@spruitt1.corp.afn.net> On Wed, 2003-09-24 at 10:56, Sander Smeenk wrote: > Quoting mark.wooldridge@cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com): > > ld: fatal: relocations remain against allocatable but non-writable > > sections > > collect2: ld returned 1 exit status > > make: *** [sa-exim-3.1.so] Error 1 > > Better yet, has there been succesful compiles on non-x86 platforms? Managed to get it running on a Sun Ultra 5 running Solaris 9. Version info follows: 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-5_10 gcc = gcc version 2.95.2 19991024 (release) make = GNU make 3.80 One thing you may check is that the "old" make isn't listed first in your path (assuming your are just typing "make"). I went through and renamed all the "other" make binaries and created links to gmake. That seemed to do the trick for me. From ssmeenk at freshdot.net Wed Sep 24 19:27:07 2003 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Sep 24 09:27:12 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 In-Reply-To: <1064420492.2208.19.camel@spruitt1.corp.afn.net> References: <20030924155607.GB16361@freshdot.net> <1064420492.2208.19.camel@spruitt1.corp.afn.net> Message-ID: <20030924162707.GD16361@freshdot.net> Quoting Marty J. Riley (marty.riley@rootwizard.net): > > Better yet, has there been succesful compiles on non-x86 platforms? > 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-5_10 > gcc = gcc version 2.95.2 19991024 (release) > make = GNU make 3.80 > One thing you may check is that the "old" make isn't listed first in > your path (assuming your are just typing "make"). I went through and > renamed all the "other" make binaries and created links to gmake. That > seemed to do the trick for me. Ah :) On FreeBSD GNU Make installs as gmake ;) -- | My Bonnie looked into a gas tank, The height of its contents to see! | She lit a small match to assist her, Oh, bring back my Bonnie to me. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From ssmeenk at freshdot.net Wed Sep 24 19:27:53 2003 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Wed Sep 24 09:27:59 2003 Subject: [SA-exim] sa-exim-3.1 with exim-4.22 on Solaris 9 In-Reply-To: References: Message-ID: <20030924162753.GE16361@freshdot.net> Quoting mark.wooldridge@cambridgeconsultants.com (mark.wooldridge@cambridgeconsultants.com): > Could there possibly be some Linux specific stuff in the sa-exim code? I'd rather think there might be x86 specific stuff in the sa-exim code. Not sure though. I'm not a guru :) -- | Hoe heten die harde plastic stukjes aan het eind van je veters ? | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D