On Mon, Apr 02, 2007 at 08:12:57PM +0200, Carlo Wood wrote: > The rest is not relevant.
I just realized that from the full output you can see that the DATA command (and thus all headers) have not been processed yet at the moment that an (RCPT TO) address is being routed... Thus, you CANNOT use $header_*: in router definitions. /me wonders why nobody told me that. Now I need to figure out a way to do it anyway. -- Carlo Wood <[EMAIL PROTECTED]> Relevant (yeah, yeah ;) output: [...] SMTP<< RCPT TO: [EMAIL PROTECTED] using ACL "acl_check_rcpt" [...] routing [EMAIL PROTECTED] --------> spamtest router <-------- local_part=carlo domain=alinoe.com checking domains search_open: lsearch "/etc/exim4/hubbed_hosts" search_find: file="/etc/exim4/hubbed_hosts" key="alinoe.com" partial=2 affix=*. starflags=0 LRU list: :/etc/exim4/hubbed_hosts End internal_search_find: file="/etc/exim4/hubbed_hosts" type=lsearch key="alinoe.com" file lookup required for alinoe.com in /etc/exim4/hubbed_hosts lookup yielded: taryn alinoe.com in "partial-lsearch;/etc/exim4/hubbed_hosts"? yes (matched "partial-lsearch;/etc/exim4/hubbed_hosts") R: spamtest: no checking "condition" spamtest router skipped: condition failure [...] routed by hubbed_hosts router envelope to: [EMAIL PROTECTED] transport: remote_smtp host taryn.localdomain [192.168.2.3] ----------- end verify ------------ accept: condition test succeeded SMTP>> 250 Accepted SMTP<< DATA SMTP>> 354 Enter message, ending with "." on a line by itself search_tidyup called host in ignore_fromline_hosts? no (option unset) >>Headers received: Return-path: <[EMAIL PROTECTED]> Envelope-to: [EMAIL PROTECTED] Delivery-date: Sun, 01 Apr 2007 08:52:54 +0200 Message-ID: <[EMAIL PROTECTED]> Reply-To: "Keisha Briggs" <[EMAIL PROTECTED]> From: "Keisha Briggs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> [...] using ACL "acl_check_data" [...] check set acl_m0 = "Hello World" LOG: MAIN <= [EMAIL PROTECTED] H=(1wvy5i2) [201.53.35.228] U=root P=smtp S=2149 SMTP>> 250 OK id=1HYROf-0000tS-33 search_tidyup called exec /usr/sbin/exim4 -d=0xfbb95cfd -Mc 1HYROf-0000tS-33 smtp_setup_msg entered SMTP<< QUIT SMTP>> 221 mail9.alinoe.com closing connection -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
