Geir,

Add the following line to your control files:

/var/qmail/control/smtproutes
=============================
:your.internal.virus-scanning.host-ip

Then restart qmail.

This will tell qmail to send all non-local (and
virtualdomains) mail to the IP you enter there.

Best of luck,

-Martin

On 18 Jan, Geir H�gberg wrote:
  : Hi,
  : 
  : my problem is this: (generally it's been metioned before, but it has changed
  : a little bit :-)
  : 
  : i have a bunch of clients using my qmail-server as smtp for relaying out to
  : the internet.
  : the thing is that I want to tweak it a little bit so that when the
  : mailserver is delivering non-local mail, then it should process it thru
  : another smtp-server on my network before going out on the internet, this is
  : a virus-scanning-smtp.
  : So therefore, all outgoing smtp has to be routed thru that one before
  : entering the internet and out to the recipient.
  : 
  : is there any good solutions for this kind of action? and is it configurable
  : so that it does this action with only one or two domains? (that is the
  : sender-domain...) so if: [EMAIL PROTECTED] sends a message to a non-local, then
  : it goes out thru this special smtp-relay and virus-scanning thing, but if
  : [EMAIL PROTECTED] sends a message to a non-local, then it goes directly on to the
  : net...
  : 
  : a little wierd problem i would presume :)
  : 
  : 
  : ---
  : Geir O. H�gberg
  : **********************************************************************
  : This footnote confirms that this email message and it's attachments 
  : has been swept by MIMEsweeper 4.0 for the presence of computer viruses.
  : 
  : This has been done by ElTele �stfold AS. 
  : 
  : Coustomer service e-mail: [EMAIL PROTECTED]
  : Corporate WEB site:           www.eltele.no
  : **********************************************************************

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]

Reply via email to