[exim] ACL / Router weirdness

Top Pagina
Delete this message
Reply to this message
Auteur: Frank Elsner
Datum:  
Aan: exim-users
CC: Herbert Pophal
Onderwerp: [exim] ACL / Router weirdness
Hello,

for alias processing the config contains
the RCPT ACL

|   warn  domains = +local_domains
|         set acl_m_rcpt = ${sg{${run{/usr/local/bin/lookup_alias $local_part@$domain}}}{\\n}{}}
|         log_message = $acl_m_rcpt
| 
|  defer  domains = +local_domains
|         condition = ${if eq {$acl_m_rcpt}{ERROR_NO_CONNECTION}}
|         message =  Error
|         log_message = Error
| 
| accept  domains = +local_domains


And the router

| forward:
|        driver = redirect
|        domains = +local_domains
|        allow_defer
|        allow_fail
|        data = $acl_m_rcpt
|        file_transport = address_file
|        pipe_transport = address_pipe



/usr/local/bin/lookup_alias yields the new address, the string "ERROR_NO_CONNECTION" or the empty string.

For messages with more than one recipient only one mail gets delivered, the other forwards do not happen.
No log entries for the ignored.

What's the reason? What to do?


Kind regards,
Frank Elsner