Autor: tower
Data:
Para: Exim-Users
Asunto: [exim] ACL and extract option
Hi
At the start of my exim config i have that list:
ACL_CONF=h172.16.1.14=smtp h172.16.1.13=smtp h77.252.144.151=smtp \
h172.16.1.2=fake h77.259.44.22=fake \
h77.259.44.23=mx h172.16.1.4=mx \
h77.259.44.24=mx h172.16.1.3=mx \
h=mx
After that:
acl_smtp_rcpt = acl_check_rcpt${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
acl_smtp_mime = acl_check_mime${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
acl_smtp_data = acl_check_data${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
acl_smtp_predata = acl_check_predata${extract
{h$interface_address}{ACL_CONF} {_$value} {} }
acl_smtp_mail = acl_check_mail${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
acl_smtp_helo = acl_check_helo${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
acl_smtp_connect = acl_check_connect${extract
{h$interface_address}{ACL_CONF} {_$value} {} }
acl_smtp_quit = acl_check_quit${extract {h$interface_address}{ACL_CONF}
{_$value} {} }
After that acl rules:
begin acl
acl_check_connect_smtp:
........
acl_check_helo_smtp:
..........
This means that suffix 'smtp' with rule for example 'acl_check_helo'
relays with hosts from my first listing:
'h172.16.1.14=smtp h172.16.1.13=smtp h77.252.144.151=smtp'
and is not connected with:
h172.16.1.2=fake h77.259.44.22=fake \
h77.259.44.23=mx h172.16.1.4=mx \
h77.259.44.24=mx h172.16.1.3=mx \
h=mx
?
I tried to use `exim -be` but I'am a little bit confused how to check
this variables.
Regards!