Re: [exim] rewrite message subject

2007-08-01 Thread Magnus Holmgren
On Thursday 02 August 2007 00:29, D. Dante Lorenso wrote: > When email is targeted at certain mailboxes (mailing lists), I'd like to > rewrite the message subject to either prepend or append some text if the > subject does not already contain that text as a substring. This way, > mail that goes th

Re: [exim] rewrite message subject

2007-08-01 Thread D. Dante Lorenso
Zbigniew Szalbot wrote: > Hello, > > On Wed, 01 Aug 2007 17:29:18 -0500, "D. Dante Lorenso" > <[EMAIL PROTECTED]> wrote: >> All, >> >> When email is targeted at certain mailboxes (mailing lists), I'd like to >> rewrite the message subject to either prepend or append some text if the >> subject doe

Re: [exim] rewrite message subject

2007-08-01 Thread Zbigniew Szalbot
Hello, On Wed, 01 Aug 2007 17:29:18 -0500, "D. Dante Lorenso" <[EMAIL PROTECTED]> wrote: > All, > > When email is targeted at certain mailboxes (mailing lists), I'd like to > rewrite the message subject to either prepend or append some text if the > subject does not already contain that text as

[exim] rewrite message subject

2007-08-01 Thread D. Dante Lorenso
All, When email is targeted at certain mailboxes (mailing lists), I'd like to rewrite the message subject to either prepend or append some text if the subject does not already contain that text as a substring. This way, mail that goes through the list will be stamped with something like '[LIS

Re: [exim] direct boolean values in AND failing

2007-08-01 Thread Magnus Holmgren
On Wednesday 01 August 2007 20:34, Brian Blood wrote: > On Aug 1, 2007, at 12:46 PM, Dean Brooks wrote: > > Certain condition= statements in ACL will accept values such as "true" > > or "1" to indicate a positive value, but that is only after regular > > string expansions have been performed on the

Re: [exim] direct boolean values in AND failing

2007-08-01 Thread Brian Blood
On Aug 1, 2007, at 12:46 PM, Dean Brooks wrote: > Exim's expansion syntax is not a programming language. Could have fooled me! :-) IFs, ANDs, ORs, and now FORANY and FORALL, oh my!! I sure as heck treat it/push it like a programming language. > It's just > a set of string expansion operat

Re: [exim] direct boolean values in AND failing

2007-08-01 Thread Dean Brooks
On Wed, Aug 01, 2007 at 12:24:40PM -0500, Brian Blood wrote: > set acl_c_pref_av_run = 1 > set acl_m_msg_av_allowed = true > > this: > > condition = ${if and {{$acl_c_pref_av_run} > {$acl_m_msg_av_allowed}} {true}{false}} > > is giving me the following error: > > "${if and {{$acl_c_p

[exim] direct boolean values in AND failing

2007-08-01 Thread Brian Blood
exim 4.66 assuming this: set acl_c_pref_av_run = 1 set acl_m_msg_av_allowed = true this: condition = ${if and {{$acl_c_pref_av_run} {$acl_m_msg_av_allowed}} {true}{false}} is giving me the following error: "${if and {{$acl_c_pref_av_run}{$acl_m_msg_av_allowed}} {true} {false}}":

Re: [exim] Limit SMTP by domain.

2007-08-01 Thread Chuck Rock
The server is also used for outgoing mail for most of the domains too, so I would want to use the allowed relays list or the users wouldn't be able to send each other E-mail either. Right? Can I use an OR in the condition to include the relay_hosts list? Chuck -Original Message- From: [E

Re: [exim] Limit SMTP by domain.

2007-08-01 Thread Drav Sloan
Chuck Rock wrote: > check_recipient: > > I've added > > > deny !hosts = +relay_hosts > message = Please use the MX > domains = +filtered_domains How about something like: deny domains = +filtered_domains condition = ! ${if eq {$sender_host_address}{IP_OF_FILTER}} message = P

[exim] Limit SMTP by domain.

2007-08-01 Thread Chuck Rock
I have researched this for a week now, but I have not had any success with the solutions mentioned. I need some help if anyone can. I have an external mail filter to my Exim sever. The server still needs to accept port 25 connections for most of the domains but select few will need to be r

[exim] LDAP in router condition

2007-08-01 Thread François Wautier
Hi, Ihave been using Eximfor quite some time.. It works great. I recently setup a new server (version 4.67). This server is a "virtual user" only type of setup. My "users" and aliases are defined in an Active Directory tree. It is mostly working, but there is one thing I can not get to work.

Re: [exim] Backup email server

2007-08-01 Thread Ian Eiloart
Please don't hi-jack threads. --On 31 July 2007 17:55:22 -0700 Jeroen van Aart <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if anyone can point me to information how to set up a > backup email server. In such a way that if the main server is down one > can switch to the backup with no

Re: [exim] Pipe transport in router data statement

2007-08-01 Thread Nico Erfurth
Nico Erfurth schrieb: Sorry, its to early in the morning, need more coffee :) > I would just add a new router like this before your redirect router: eticket_alias: driver = accept domains = eticket.your-company.tld local_part = eticket transport = eticket_transport eticket_transport

Re: [exim] Pipe transport in router data statement

2007-08-01 Thread Nico Erfurth
Michael L Griffin schrieb: > However, a new requirement has reared it head where I need to be > able to redirect to a pipe "|/etc/exim4/eticket_support.pl" for a > proposed eTicket support ticketing system > (http://eticket.sourceforge.net/) and I found a possible solution on > on their forum (ht

Re: [exim] batv expiry time

2007-08-01 Thread Christopher Meadors
On Mon, 2007-07-30 at 15:14 +0100, Mike Cardwell wrote: > Another issue that I forgot to bring up. If you do batv verification in > the rcpt acl, you're going to end up preventing other systems from doing > callouts in certain circumstances. I agree these will be rare, but would > it be better