[exim] Different problems with exim

2008-09-21 Thread Mirko S.
Hi, [ I'm sorry, if this mail comes twice, but it seams, it didn't reach its goal the first time ;) ] A few month ago I setup an exim smtp server. it works, but there are some problems I would like to solve, but I couldn't find a solution. So I hope you can help me, solving one or another of

Re: [exim] Different problems with exim

2008-09-21 Thread Phil Pennock
On 2008-09-20 at 13:03 +0200, Mirko S. wrote: 1. SMTP-Authentication. This works just fine, but everybody has to login with the same login data, what I don't like. I tried different lines for server_condition (like ${if saslauthd{{$auth1}{$auth2}}{1}{0}}) but none of them worked. Everytime

Re: [exim] TLS error on connection

2008-09-21 Thread Brent Clark
Jeroen van Aart wrote: Brent Clark wrote: Im running Exim 4.69-6 (debian testing). If not THE problem it certainly will be A problem. Running Debian testing on an email server is asking for trouble, use stable for that. If you really need bleeding edge try

[exim] $header and continuation lines?

2008-09-21 Thread Robert Nicholson
So is there anyway to get the entire contents of a $header_ variable that's split across lines? For instance Content-Type: text/plain; charset=us-ascii if I print out $header_content-type I only get the second line and not the first -- ## List details at

[exim] Why does this regex not match?

2008-09-21 Thread Robert Nicholson
So I've got mail that has headers like this From: =?windows-1255?B?4+X46fog+ezp5S349Oz38eXs5eLp+g==?= [EMAIL PROTECTED] Subject: =?windows-1255?B?7PHl6/j66e0g5ezu6+Dl4ekg+OLs6entIC0g7uXu7uz1IOHp5fr4?= and so I have regular expressions like this $header_from: does not match

Re: [exim] Why does this regex not match?

2008-09-21 Thread Marc Sherman
Robert Nicholson wrote: Now whilst this regular expression is quite convoluted even if I just put $header_from: does not match windows it still doesn't match Can anybody tell me why that's the case? In my case I don't want to copy mail with foreign charsets etc into the backup

Re: [exim] $header and continuation lines?

2008-09-21 Thread Peter Velan
am 21.09.2008 21:02 schrieb Robert Nicholson: So is there anyway to get the entire contents of a $header_ variable that's split across lines? Try $rheader_header name: or $rh_header name: http://exim.org/exim-html-current/doc/html/spec_html/ch11.html#SECTexpansionitems Cheers, Peter -- ##

Re: [exim] $header and continuation lines?

2008-09-21 Thread Phil Pennock
On 2008-09-21 at 14:02 -0500, Robert Nicholson wrote: So is there anyway to get the entire contents of a $header_ variable that's split across lines? For instance Content-Type: text/plain; charset=us-ascii if I print out $header_content-type I only get the second line and not

[exim] How would you do this?

2008-09-21 Thread Marc Perkel
Looking up NZ records as follows: set acl_c_ns = ${lookup dnsdb{ns=$acl_c_sender_host_domain}{$value}fail} But what I want to do is look up each nameserver to see if any match a black list. How would I do that? Thanks in advance. -- ## List details at

Re: [exim] How would you do this?

2008-09-21 Thread Phil Pennock
On 2008-09-21 at 15:49 -0700, Marc Perkel wrote: Looking up NZ records as follows: set acl_c_ns = ${lookup dnsdb{ns=$acl_c_sender_host_domain}{$value}fail} But what I want to do is look up each nameserver to see if any match a black list. How would I do that? forany{list}{condition}

Re: [exim] How would you do this?

2008-09-21 Thread Phil Pennock
On 2008-09-21 at 16:07 -0700, Phil Pennock wrote: On 2008-09-21 at 15:49 -0700, Marc Perkel wrote: Looking up NZ records as follows: set acl_c_ns = ${lookup dnsdb{ns=$acl_c_sender_host_domain}{$value}fail} But what I want to do is look up each nameserver to see if any match a black

Re: [exim] Why does this regex not match?

2008-09-21 Thread W B Hacker
Robert Nicholson wrote: So I've got mail that has headers like this From: =?windows-1255?B?4+X46fog+ezp5S349Oz38eXs5eLp+g==?= [EMAIL PROTECTED] Subject: =?windows-1255?B?7PHl6/j66e0g5ezu6+Dl4ekg+OLs6entIC0g7uXu7uz1IOHp5fr4?= and so I have regular expressions like this $header_from: