Thanks. Seems that it close to true - will test today. As for delivery - you have to do "unseen save..." for preserving original contacts, but I think that was for test purposes, so ok.
-------- Original Message -------- Subject: Re: [exim] Exim + filter + mkdir From: Phil Pennock <[EMAIL PROTECTED]> To: andrey.morskoy <[EMAIL PROTECTED]> Cc: [email protected] Date: Mon Mar 17 2008 01:21:12 GMT+0000 (UTC) > On 2008-03-16 at 17:55 +0200, andrey.morskoy wrote: >> ACL vars seems to be invisible for filter - them are empty there, but >> thanks for idea. > > Strange. I just tested this and it works. Exim 4.69. Did you cover > the non-SMTP case, to let you test this when there's no SMTP > conversation? (Sometime after sending the mail, I realised I should > have raised this oft-overlooked point). > > File "foo" as a copy of my exim.conf with the acl_c_month settings > added: > ----------------------------8< cut here >8------------------------------ > # main section > acl_smtp_connect = acl_connect > acl_not_smtp_start = acl_check_not_smtp_start > > # acls section > acl_connect: > > warn set acl_c_month = ${extract{2}{ }{$tod_bsdinbox}} > #.... some delay rules here ... > accept hosts = * > > acl_check_not_smtp_start: > .ifdef DOING_RESUBMIT > warn control = suppress_local_fixups > .endif > > warn set acl_c_month = ${extract{2}{ }{$tod_bsdinbox}} > > accept > ----------------------------8< cut here >8------------------------------ > > % cat -v filter > save /tmp/foo/$acl_c_month/$reply_address+$tod_log+$message_exim_id > % exim -C foo -bF filter <msg.eml > Return-path copied from sender > Sender = [EMAIL PROTECTED] > Recipient = [EMAIL PROTECTED] > Testing Exim filter file "filter" > > Save message to: /tmp/foo/Mar/Phil Pennock <[EMAIL PROTECTED]>+2008-03-17 > 01:18:09+1Jb3zN-000OSk-9S > Filtering set up at least one significant delivery or other action. > No other deliveries will occur. > % -- Best regards, Andrey Morskoy System Manager Negeso Kiev 19 M. Raskovoy St., 7th floor, office 719 02002 Kiev, Ukraine Tel: +380-44-516 83 84 Fax: +380-44-516 83 84 MSN: [EMAIL PROTECTED] www.negeso.com Mobile:+380-95-490-29-65 E-mail: [EMAIL PROTECTED] -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
