OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: relay by recipient to different MTA

From: Robert Schetterer (robertschetterer.org)
Date: Fri Apr 18 2008 - 16:20:07 CDT


C. schrieb:
> Hi,
>
> i want to set up a system which relays mails not per domain but per
> recipient.
> e.g.
>
> my gateway MTA: smtpgw.allsystems.com
>
> amyd.com relayed to smtp.one.com
> bmyd.com relayed to smtp.two.com
> cmyd.com delivered to local IMAP
>
> is this possible. I studied the READMEs and did not find an answer.
> Mostly i read about transport all mails my domain. that is not what i want.
>
> i might have to use a content filter, but this is not what i prefer.
> expecially because of the problems handling mails from smtp auth
> clients. they might sent one mail for an external domain not handled by
> me and another handled my me. in this case the content filter will match
> for both because this mail is handled as one until the last rule.
>
> Maybe someone can help me. i woult appreciate it.
>
> Thanks,
>
> Corren
  hi, should work with a transport table

   userdomain transport:nexthop

aexample.net smtp:yo.ur.ip.adrr ( or use host dns name instead of ip
address )

--
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria