Hi kaijidesign,
For me this solution works very good.
add it in the begiing of exim.conf
Code:
local_interfaces = your ip1 : your ip 2 : your ip3 : your ip 4 and etc ...
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/virtual/smtp_active_hostnames}{$value}}
smtp_baer = "$smtp_active_hostname ESMTP $tod_full"
now
in exim.conf find this lines:
remote_smtp:
driver = smtp
and immediately after that add:
Code:
interface = "${lookup{$sender_address_domain}lsearch{/etc/virtual/domainips}{$value}}"
helo_data = "${lookup{$sending_ip_address}lsearch{/etc/virtual/helo_data}{$value}{$primary_hostname}}"
create /etc/virtual/helo_data in tjis format:
your ip1:your related ptr
your ip2:your related ptr
and etc ...
restart exim.
Done!
Sorry for my bad English.
Regards,
Sergey
برچسب:
نویسنده: ایمان اصلاحی