I have went rumdumb here.. I am trying to route domaina.com thru
mail.domainb.com and make sure its scanned for viruses then forwarded to
mail.domaina.com for delivery to the users... I have a conf setup but its a
BIG look that just keeps going and going... any input would be a great help
This is all this machine will be doing is scanning email and fowarding it on
to the real mail server for delivery.
Routers:
vircheck:
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
driver = domainlist
route_list = "*"
transport = scanmails_remote
special_domains:
driver = lookuphost
transport = remote_smtp
domains = lugm.org:cardrack.com
gethostbyname
lookuphost:
driver = lookuphost
transport = remote_smtp
end
Transports:
scanmails_remote:
driver = pipe
bsmtp = all
batch_max = 32767
command = "/usr/sbin/scanmails -f ${sender_address} -d
${local_part}@${domain}"
log_output = true
prefix =
return_output = false
return_path_add = false
user = amavis
group = amavis
path = "/bin:/sbin:/usr/bin:/usr/sbin"
headers_add = "X-AntiVirus: scanned by AMaViS/Virus Scan for Linux"