On Wed, 15 Jun 2005, Jan-Piet Mens wrote: > I'm using Exim 4.44 with Dspam 3.5.0. Messages addressed to my users can > be of the form [EMAIL PROTECTED] or [EMAIL PROTECTED], where alias is > normally a > fullname (jane.doe). The dspam router checks availability > of a service attribute via LDAP for that user to determine if the user > has opted in for Dspam. > > Unfortunately, at the point of the transport, the value of `%u' can either be > `userid' or `alias', depending on the $local_part of the message's address. > > How can I ensure that the command in the transport is called with the userid > as > retrieved from LDAP (i.e. I always want the userid, even if the message was > sent to [EMAIL PROTECTED]) ?
Make the dspam router run after the address has passed through the alias router. Tony. -- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://dotat.at/ ${sg{\N${sg{\ N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\ \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}} -- ## 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/
