Subject User Date
Exim/Vexira configuration nathan 2003-10-07 13:33:16

Here are some transport settings that will allow exim to run on port 25 while still using vexira for virus scanning.

in the exim.conf file:
Under Main:

daemon_smtp_port = smtp


Under Transports:
# This transport is used to forward mail to the virus server
virus_check:
  driver = smtp
  allow_localhost
  port = 888
  hosts = mail.ndgi.com
  hosts_override


Under Directives:
# Vexira Virus Checking
vexira_director:
  #do not use this director when verifying a local part at SMTP-time
  no_verify
  condition = "${if and { {!def:h_X-AntiVirus:} {!eq {$received_protocol}{local}} } {1}{0}}"
  driver = smartuser
  transport = virus_check


in the vamailarmor.conf file:
ListenAddress  0.0.0.0  port smtp-backdoor
ForwardTo SMTP: localhost port smtp
 


in /etc/services:
spamassassin    783/tcp                         #spamassassin deamon
apamassassin    783/udp
rsync           873/tcp                         # rsync
rsync           873/udp                         # rsync
smtp-backdoor   888/tcp                         # vexira to exim forwarder
smtp-backdoor   888/udp                         #


and BOOYEAH! You're up and running! -Nathan

| reply |