Re: Sendmail using several MTAs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx ->send to MTA 10.10.10.1
> 
> If User2@xxxxxxxx ->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@xxxxxxxx User1@[10.10.10.1]
> 
> User2@xxxxxxxx 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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux