[Maia-users] two forward host .
Ryan Delany
ryan at rynogear.com
Fri Apr 6 19:35:19 PDT 2007
Mail routing shouldn't be the responsibility of the virus scanning
component, it should be a function of your MTA. If you are using postfix,
this can be easily accomplished with a transport table. Go to
http://www.postfix.org and search for Transport.
What you want to end up with is a transport file that looks something like
this:
domain1.com smtp[x.x.x.x]:25
domain2.com smtp[x.x.x.x]:25
* smtp[y.y.y.y]:25
Ryan
> I would like amavisd-maia to forward the scanned mails to two different
> ip/port based on the following events:
>
> 1) if the domain match local domains, forward to
> $forward_host1:$forwarrd_port1
> 2) if the domain aren't local ( match @ account) foward to
> $foward_host2:foward_port2
>
> I know it's required to modify amavisd code, but is it easy to do ?
>
> Thx in adavance,
>
> Have fun,
> Davide .
>
>
> _______________________________________________
> Maia-users mailing list
> Maia-users at renaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>
More information about the Maia-users
mailing list