[exim] Run a Program from within Exim

2010-03-23 Thread David Cunningham
Hi All, Sorry if I am repeating something already asked. I searched the archive before sending this question and found only one thread that appears to be related, but does not seem to work. The short of the story is that I need exim to execute another program upon the delivery of an email

Re: [exim] Run a Program from within Exim

2010-03-23 Thread Lena
> From: David Cunningham > I tried adding a condition to my local_delivery transport > that looked like this: > > condition = {run echo > "/var/spool/maildirs/${substr_0_10:$tod_log}/${domain}/${local_part}/Maildir" > > >> /dev/shm/temp.file}{0}{1} The ">>" is a shell operator. ${run doe

Re: [exim] Run a Program from within Exim

2010-03-23 Thread Jakob Hirsch
David Cunningham, 2010-03-23 12:46: > The short of the story is that I need exim to execute another program > upon the delivery of an email and send that program the following > string: > "/var/spool/maildirs/${substr_0_10:$tod_log}/${domain}/${local_part}/Maildir/new" What do you mean by "se

Re: [exim] Run a Program from within Exim

2010-03-23 Thread David Cunningham
This is why I love mailing lists! Thank you very much! That worked great! Quoting Jakob Hirsch : > David Cunningham, 2010-03-23 12:46: > >> The short of the story is that I need exim to execute another program >> upon the delivery of an email and send that program the following >> string: >

Re: [exim] Rewrite to Multiple Recipients

2010-03-23 Thread Matthias-Christian Ott
On Mon, Mar 22, 2010 at 09:52:40PM +, Dave Evans wrote: > On Mon, Mar 22, 2010 at 03:42:46PM +0100, Matthias-Christian Ott wrote: > > I have to following rewrite rule: > > > > *...@* exam...@example.com T > > > > How can I specify to rewrite it to multiple recipients, so that all > > E-Mails

[exim] Problem with .forward

2010-03-23 Thread laurent ducos
Hello. I'm french user of exim4 and i apologize for my bad English. I configured exim4 with clamav and spamassassin on Debian. Clamav : deny malware = * message = This message was detected as possible malware ($malware_name). And Spamassassin : accept condition = ${if >={$m

Re: [exim] Problem with .forward

2010-03-23 Thread Graeme Fowler
On Tue, 2010-03-23 at 15:25 +0100, laurent ducos wrote: > If someone knows the solution to this problem You can test the .forward file like so: http://www.exim.org/exim-html-current/doc/html/filter.html#SECTtesting Graeme -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users

[exim] Exim 4.71 on netBSD pthreads

2010-03-23 Thread Niels Dettenbach
Dear all, i'm fiddeling some time here with an update to Exim 4.71 on NetBSD but can't get it running as the running process complains: 14512 LOG: MAIN 14512 exim 4.71 daemon started: pid=14512, no queue runs, listening for SMTP on [w.x.y.z]:26 [127.0.0.1]:26 [127.0.0.1]:10026 _res is no

Re: [exim] Problem with .forward

2010-03-23 Thread laurent ducos
I think that in case the value of $h_X-Spam_score_int is undefined, the filter can not work. I did a test with this rule has proved correct # Exim filter if 40 is above 70 then save Maildir/.junkmail/ finish endif So if a mail came from the local area there is no value in the variable. It should

Re: [exim] Problem with .forward

2010-03-23 Thread laurent ducos
I think this rule is good # Exim filter if error_message then finish endif if $h_X-Spam_score_int is exists then if $h_X-Spam_score_int is above 50 then save Maildir/.junkmail/ finish endif endif finish 2010/3/23 laurent ducos > I think that in case the value of $h_X-Spa

Re: [exim] Exim 4.71 on netBSD pthreads

2010-03-23 Thread Phil Pennock
On 2010-03-23 at 16:42 +0100, Niels Dettenbach wrote: > this seems not new and so i found and followed this thread: > http://mail-index.netbsd.org/pkgsrc-users/2009/11/18/msg011153.html > > and tried to remove all parts which (i think of) pulling out pthreads out of > the exim build, but this br

Re: [exim] Exim 4.71 on netBSD pthreads

2010-03-23 Thread Niels Dettenbach
Dear Phil, i've got it running for now with some ugly hacks here (i.e. i've deleted all sqlite stuff and tricked with other libs) - so i'm really happy if someone brings exim back to "compatible" with NetBSD again as i like EXIM like NetBSD (it's a really nice couple...). If you need active de

Re: [exim] Rewrite to Multiple Recipients

2010-03-23 Thread Øyvind Kolbu
On 2010-03-23 at 14:15, Matthias-Christian Ott wrote: > How would I do this? The documentation for the redirect router doesn't > contain an example for multiple recipients. Either you can use comma separated, or newlines between each entry. The latter most useful for file lookups. Below is a rout

Re: [exim] Exim 4.71 on netBSD pthreads

2010-03-23 Thread Scott Ellis
On 3/23/2010 8:42 AM, Niels Dettenbach wrote: [snip] and tried to remove all parts which (i think of) pulling out pthreads out of the exim build, but this brought no solution for me and btw i rely on things like mysql and openssl here. [snip] And this is what i get compiled with 4.71: # ldd