jkirker
Verified User
- Joined
- Nov 22, 2012
- Messages
- 114
Thank you Alex for getting us so close to a request/suggestion/solution that's nearly 4 years in the making! Awesome.
So I guess the last piece of the puzzle is to automate the updating of the exim.conf file and the reloading/restarting of exim.conf
I don't know how to do this but I'm guessing it'd be done with perl or python. We might find the line # in the file that begins with local_interfaces = 127.0.0.1 and then rewrite it including the list of all available IP's on the machine.
###START ADDED###
disable_ipv6
local_interfaces = 127.0.0.1 : 211.82.195.29 : 211.82.195.118 : 211.82.195.119 : 211.82.195.120
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/virtual/smtp_active_hostnames}{$value}}
smtp_banner = "$smtp_active_hostname ESMTP $tod_full"
###END ADDED###
Thoughts?
And Alex, please PM me with your paypal so that I can send you a small donation if you are interested. I really appreciate your efforts.
John
So I guess the last piece of the puzzle is to automate the updating of the exim.conf file and the reloading/restarting of exim.conf
I don't know how to do this but I'm guessing it'd be done with perl or python. We might find the line # in the file that begins with local_interfaces = 127.0.0.1 and then rewrite it including the list of all available IP's on the machine.
###START ADDED###
disable_ipv6
local_interfaces = 127.0.0.1 : 211.82.195.29 : 211.82.195.118 : 211.82.195.119 : 211.82.195.120
smtp_active_hostname = ${lookup{$interface_address}lsearch{/etc/virtual/smtp_active_hostnames}{$value}}
smtp_banner = "$smtp_active_hostname ESMTP $tod_full"
###END ADDED###
Thoughts?
And Alex, please PM me with your paypal so that I can send you a small donation if you are interested. I really appreciate your efforts.
John