Re: [exim] defined and Exim::expand_string ('$variable')

2013-04-05 Thread Todd Lyons
If you change it to: if (expand_string(blah)) I expect you'll get the behavior you intended. ...Todd On Fri, Apr 5, 2013 at 10:57 AM, Todd Lyons wrote: > On Fri, Apr 5, 2013 at 7:52 AM, deisler wrote: >> if (defined Exim::expand_string('$acl_m_helo_check_a')) { > >> ||$acl_m_helo_check_a don

Re: [exim] defined and Exim::expand_string ('$variable')

2013-04-05 Thread Todd Lyons
On Fri, Apr 5, 2013 at 7:52 AM, deisler wrote: > if (defined Exim::expand_string('$acl_m_helo_check_a')) { > ||$acl_m_helo_check_a don't defined, but perl think what > ||$acl_m_helo_check_a defined. > Why does defined function in perl receives this value? I have not looked at the code, but I sus

Re: [exim] defined and Exim::expand_string ('$variable')

2013-04-05 Thread David Saez
Not sure what your problem is but you can do: set acl_m_helo_check_a = ${lookup dnsdb{>: defer_never, a=$sender_helo_name}{$value}} and check if the lookup defered with condition = ${if eq {$acl_m9}{}} Hello. I have the following conditions: --

Re: [exim] Delting HTML attachments

2013-04-05 Thread Marcin Krol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Exim's job as a Mail Transfer Agent is to transfer mail. The same > applies to every other MTA. It's what they're for. > > If you want a Mail Editing Agent, then these are available. Some of them > may even be available as an external filter throu

Re: [exim] Delting HTML attachments

2013-04-05 Thread Cyborg
Am 05.04.2013 18:10, schrieb Graeme Fowler: On Fri, 2013-04-05 at 16:51 +0100, Mark Goodge wrote: Exim's job as a Mail Transfer Agent is to transfer mail. The same applies to every other MTA. It's what they're for. If you want a Mail Editing Agent, then these are available. Some of them may eve

[exim] Is it possible to quote/escape leading + on a list item?

2013-04-05 Thread Jeff Dairiki
Okay, this is probably a silly question, but I've been through the manual, the FAQ and google, and haven't been able to figure out the solution. How can one include an item in a list (in my current case, a local-part list) when that item begins with a '+'? I've not yet found a way to prevent such

[exim] defined and Exim::expand_string ('$variable')

2013-04-05 Thread deisler
Hello. I have the following conditions: -- |warn log_message = "HELO test A record is [$acl_m_helo_check_a]" !authenticated = * hosts = !127.0.0.1 : !localhost : * condition = ${if !eq{$acl_m_helo_is_fq

Re: [exim] Delting HTML attachments

2013-04-05 Thread Graeme Fowler
On Fri, 2013-04-05 at 16:51 +0100, Mark Goodge wrote: > Exim's job as a Mail Transfer Agent is to transfer mail. The same > applies to every other MTA. It's what they're for. > > If you want a Mail Editing Agent, then these are available. Some of them > may even be available as an external filte

Re: [exim] Delting HTML attachments

2013-04-05 Thread David Saez
Hi it's always possible to deliver the message to a pipe that in turn does the message modification and then reinjects it into exim again, but maybe it will be good to have some way to define a external application for message manipulation or even allow embedded perl to modify the message body

Re: [exim] Delting HTML attachments

2013-04-05 Thread Graeme Fowler
On Fri, 2013-04-05 at 17:25 +0200, Marcin Krol wrote: after Dennis Davis wrote: The theology seminar is that way, chaps -> There are reasons both to do what the OP asked, and not to. The weight given to either depends entirely where the MTA in question happens to be in respect of transit - fir

Re: [exim] Delting HTML attachments

2013-04-05 Thread Mark Goodge
On 05/04/2013 16:25, Marcin Krol wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Shudder. This and similar questions, eg how to automatically add disclaimers, come up at infrequent intervals. It isn't exim's job to do this. Exim is an MTA. Exim's job is deliver all the (crap) e

Re: [exim] Delting HTML attachments

2013-04-05 Thread Marcin Krol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, > Shudder. This and similar questions, eg how to automatically add > disclaimers, come up at infrequent intervals. > > It isn't exim's job to do this. Exim is an MTA. Exim's job is > deliver all the (crap) email in all its glory and help co

Re: [exim] Delting HTML attachments

2013-04-05 Thread Dennis Davis
On Thu, 4 Apr 2013, Always Learning wrote: > From: Always Learning > To: Exim > Date: Thu, 4 Apr 2013 20:43:06 > Subject: [exim] Delting HTML attachments > > I would like to remove all HTML attachments from incoming emails, > everything from > > > > --=_NextPart_001_0F64_01CE317E.D94C7530

Re: [exim] Exim docs: ePub testing required

2013-04-05 Thread Phil Pennock
On 2013-04-04 at 14:21 +, Ian Eiloart wrote: > Just hold the home button while depressing the on/off button to take a > screen shot on iOS devices. Neat, thanks. > I've found an example at "Example of macro usage" page 132/1182 using > BookReaderLite 4.6 for OSX 10.8.3. Where it says "ALIAS_