Is it possible to have amavisd utilize a hostname based on the
calling IP/port ?
Currently to achieve this I have two instances of amavisd-new running
and was wondering if this feature could be implemented in say in
IO_banks where the ports and hostnames could be defined reducing the
number of instances required?
ex.
$use_IO_maps = 1; # use multiple IO assignments
# (defaults to false)
@IO_bank_maps = ( { inet_socket_port => 10024, forward_method =>
'smtp:[127.0.0.1]:10025', hostname => "domainone.com" },
# IN on port 10024, OUT on port 10025 with hostname of
domainone.com
{ inet_socket_port => 20024, forward_method => 'smtp:[127.0.0.1]:
20025', hostname => "domaintwo.com" } );
# IN on port 20024, OUT on 20025 with hostname of domaintwo.com
-- Dale
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/