[exim] Re: Extract email address from From header

2006-01-08 Thread Andreas Metzler
Marc Perkel [EMAIL PROTECTED] wrote: OK - this can't be that hard but how do you extrace the email address part from the $h_From: header? Shouldn't this work? ${local_part:$h_From:[EMAIL PROTECTED]:$h_From:} What am I missing? Thanks in advance. Works for me. ($address would be shorter.)

Re: [exim] Extract email address from From header

2006-01-08 Thread Marc Perkel
Exim really should have a from_address command then. Really - does this have to be that hard? I can't be the first one who tried to extract the email address from the From header without using perl. Or is there some easy trick I'm missing? Richard Clayton wrote: -BEGIN PGP SIGNED

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Andreas Metzler wrote: Marc Perkel [EMAIL PROTECTED] wrote: OK - this can't be that hard but how do you extrace the email address part from the $h_From: header? Shouldn't this work? ${local_part:$h_From:[EMAIL PROTECTED]:$h_From:} What am I missing? Thanks in

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Andreas Metzler wrote: Marc Perkel [EMAIL PROTECTED] wrote: OK - this can't be that hard but how do you extrace the email address part from the $h_From: header? Shouldn't this work? ${local_part:$h_From:[EMAIL PROTECTED]:$h_From:} What am I missing? Thanks in

[exim] Re: Extract email address from From header

2006-01-08 Thread Andreas Metzler
Marc Perkel [EMAIL PROTECTED] wrote: [...] The first one works. It tests the sender. The second one tests the From header and it soesn't seem to work. # - Master Block List Sender denymessage = REJECTED - Sender listed in master block list condition = ${if

Re: [exim] Pass recipients to spamd (was: Include envelope_sender in Received-Header?, revived)

2006-01-08 Thread Jakob Hirsch
Marc Haber wrote: (CCing exim-dev for follow-ups) While Envelope-Sender is defined to be added by the last mail server in the transmission chain, it is probably a good thing to have that information available for servers earlier in the chain. That's why I think that it only makes sense if it

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Thanks - that's probably it! That bites me every time! Let me test that! Andreas Metzler wrote: Marc Perkel [EMAIL PROTECTED] wrote: [...] The first one works. It tests the sender. The second one tests the From header and it soesn't seem to work. # - Master Block List Sender

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Andreas Metzler wrote: Looks like you are running these tests in RCPT acl, before the From:-header is transfered. You'll need to move the second test to the DATA-acl. (And as previously said $address instead will make the whole thing a lot more readable.) cu andreas

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Andreas Metzler wrote: Looks like you are running these tests in RCPT acl, before the From:-header is transfered. You'll need to move the second test to the DATA-acl. (And as previously said $address instead will make the whole thing a lot more readable.) cu andreas I mean -

Re: [exim] Extract email address from From header

2006-01-08 Thread Dean Brooks
On Sun, Jan 08, 2006 at 08:11:35AM -0800, Marc Perkel wrote: Exim really should have a from_address command then. Really - does this have to be that hard? I can't be the first one who tried to extract the email address from the From header without using perl. Or is there some easy trick

Re: [exim] Extract email address from From header

2006-01-08 Thread Marc Perkel
Dean Brooks wrote: On Sun, Jan 08, 2006 at 08:11:35AM -0800, Marc Perkel wrote: Exim really should have a from_address command then. Really - does this have to be that hard? I can't be the first one who tried to extract the email address from the From header without using perl. Or is

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Magnus Holmgren
Andreas Metzler wrote: Looks like you are running these tests in RCPT acl, before the From:-header is transfered. You'll need to move the second test to the DATA-acl. (And as previously said $address instead will make the whole thing a lot more readable.) ${address:$h_From:}, that is. --

[exim] Syslog setting help needed

2006-01-08 Thread George R . Kasica
I've noticed that since going to exim 4.60 and SA 3.1 that I'm getting alot of logging to my screen rather than into log files on the server from either spamd or exim (I'm thinking spamd) and I'm wondering how I can configure either of them or syslog.conf to not have this happen but go to files as

Re: [exim] Need ACL help - file doesn't exist problem

2006-01-08 Thread Giuliano Gavazzi
On 8 Jan 2006, at 16:01, Dave Lugo wrote: On Sun, 8 Jan 2006, Marc Sherman wrote: ^ dunno why I have that in there, should probably go back into the config and see if it's just a stupid typo or cut/paste from the last time I was working on those bits... The leading

[exim] Freelance?

2006-01-08 Thread James Ormerod
Hi, Does anyone do any sort of freelance work? Im after exim (mysql based) installing with spamassassin AntiVirus filtering. We have an exsisting exim-mysql config which can be used if necessary. Please drop me an off the list email if you are interested. Many thanks,

Re: [exim] Need ACL help - file doesn't exist problem

2006-01-08 Thread Giuliano Gavazzi
On 8 Jan 2006, at 20:51, Giuliano Gavazzi wrote: do you do sender callout? If yes then you have found the answer. There's no point in doing sender callout and then block the callout because you do not like it... or better, there is a point, and that is to hit your foot with the spade, as

[exim] Exim doesn't respond to STARTTLS

2006-01-08 Thread David Brooks
Hi, [Disclaimer: I'm new to a lot of this stuff so advanced apologies if this question it silly. I've have read the FAQ and googled quite a bit. I'm using the Debian Sarge packages, so possibly I should be told to go away and bother the Debian community :-) ] I have configured SMTP auth and

Re: [exim] Re: Extract email address from From header

2006-01-08 Thread Marc Perkel
Magnus Holmgren wrote: Andreas Metzler wrote: Looks like you are running these tests in RCPT acl, before the From:-header is transfered. You'll need to move the second test to the DATA-acl. (And as previously said $address instead will make the whole thing a lot more readable.)

[exim] Do ACL's have any kind of jump to or goto command?

2006-01-08 Thread Marc Perkel
I don't know if the ACLs have this but here's what I want to do. I want to test to see if a directory exists and if it doesn't I want to jump past a dozen other tests to some label. Is there any kind of goto label in ACLs? -- Marc Perkel - [EMAIL PROTECTED] Spam Filter:

Re: [exim] Do ACL's have any kind of jump to or goto command?

2006-01-08 Thread Giuliano Gavazzi
On 9 Jan 2006, at 01:00, Marc Perkel wrote: I don't know if the ACLs have this but here's what I want to do. I want to test to see if a directory exists and if it doesn't I want to jump past a dozen other tests to some label. Is there any kind of goto label in ACLs? e.g. warn

Re: [exim] Do ACL's have any kind of jump to or goto command?

2006-01-08 Thread John W. Baxter
On 1/8/06 4:20 PM, Giuliano Gavazzi [EMAIL PROTECTED] wrote: On 9 Jan 2006, at 01:00, Marc Perkel wrote: I don't know if the ACLs have this but here's what I want to do. I want to test to see if a directory exists and if it doesn't I want to jump past a dozen other tests to some label. Is

[exim] Exim user filter not triggering on bounce messages

2006-01-08 Thread Darryl Hamilton
Hi I've encountered a bit of a problem that I haven't been able to solve from looking through the docs and searching the mailing list archives (if there is a solution in both, I do apologise). The problem appears to be that bounce mail, or mail that looks like bounce mail, bypasses any Exim

[exim] Advanced Regex Exim Tricks

2006-01-08 Thread Marc Perkel
So - how do I do this? I want to look at the received headers, grab the last IP address and look it up in the spamhaus blacklist and block the message if it matches. I know it's tricky, but I'd like to give it a try. Help get rid of some forwarded spam. -- Marc Perkel - [EMAIL PROTECTED]

Re: [exim] Advanced Regex Exim Tricks

2006-01-08 Thread Craig Whitmore
- Original Message - From: Marc Perkel [EMAIL PROTECTED] To: exim-users@exim.org Sent: Monday, January 09, 2006 5:53 PM Subject: [exim] Advanced Regex Exim Tricks So - how do I do this? I want to look at the received headers, grab the last IP address and look it up in the spamhaus

Re: [exim] Advanced Regex Exim Tricks

2006-01-08 Thread Marc Perkel
Craig Whitmore wrote: - Original Message - From: Marc Perkel [EMAIL PROTECTED] To: exim-users@exim.org Sent: Monday, January 09, 2006 5:53 PM Subject: [exim] Advanced Regex Exim Tricks So - how do I do this? I want to look at the received headers, grab the last IP address and

Re: [exim] using MX always

2006-01-08 Thread Tim Jackson
On Sun, January 8, 2006 4:55 am, Jeff Lasman said: We set up the DNS before we send the email. The problem is we can't use MX delivery or we'll have email loops. And also we have no idea when the client will change their nameservers; that's not under our control. I know thie situation

Re: [exim] Need ACL help - file doesn't exist problem

2006-01-08 Thread Matthew Byng-Maddick
On Sat, Jan 07, 2006 at 06:39:05PM -0800, Marc Perkel wrote: ok - need some quick ACL help. I'm writing the back end for this project. Here's the situation: denymessage = REJECTED - User listed in personal block list condition =

Re: [exim] using MX always

2006-01-08 Thread Marc Sherman
Jeff Lasman wrote: As far as I understand it, this router uses remote_smtp only for domains that are not listed as local_domains. The problem is that someone logs in to our configuration system and sets up a domain. They use their email address at that domain as their contact address.

Re: [exim] Need ACL help - file doesn't exist problem

2006-01-08 Thread Marc Sherman
Dave Lugo wrote: senders = : wildlsearch*@;CFG_DIR/RCPT_DOM/RCPT_LOC/sender-whitelist ^ dunno why I have that in there, should probably go back into the config and see if it's just a stupid typo or cut/paste from the last time I was working on those

Re: [exim] Need ACL help - file doesn't exist problem

2006-01-08 Thread Dave Lugo
On Sun, 8 Jan 2006, Marc Sherman wrote: ^ dunno why I have that in there, should probably go back into the config and see if it's just a stupid typo or cut/paste from the last time I was working on those bits... The leading colon adds the empty sender (ie: