Sendmail using several MTAs
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Thu Aug 5 11:22:01 UTC 2004
Am Do, den 05.08.2004 schrieb Paulo Roncon um 13:14:
> Sendmail using several MTAs question
>
> Hello people
>
> I'm trying to configure my sendmail to relay my mail to different MTAs based
> on the email adress:
>
> If User1 at home.com ->send to MTA 10.10.10.1
>
> If User2 at home.com ->send to MTA 10.10.10.2
>
> I've read about this and it seens that it should be enough to change my
> mailertable to:
>
> User1 at home.com User1@[10.10.10.1]
>
> User2 at home.com User2@[10.10.10.2]
>
> That didn't worked. I've tried changin the virtusertable but that also
> didn't worked.
It can't work! This is because mailertable acts on basis of the
recipient address and virtusertable is for the different direction: for
incoming mail.
You either need to make use of the Smart Table
http://anfi.homeunix.net/sendmail/smarttab.html
or as an alternate the sender based routing hack
http://www.cs.niu.edu/~rickert/cf/hack/sender_based_routing.m4
> I also want to relay all mail except the above to 10.10.10.3:
>
> @home.com %1@[10.10.3]
Using the Smart Table.
> Anyone has ideias about this?
>
> Paulo Sergio
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp
Serendipity 13:18:16 up 1 day, 6:45, load average: 0.30, 0.17, 0.18
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040805/a8ae7bb9/attachment-0002.bin
More information about the users
mailing list