using mailertable after alias expansion

using mailertable after alias expansion

am 02.03.2006 17:49:27 von Burckhard Schmidt

Use of mailertable entries is only possible for domains not in class Cw.

I have in my alias file:
alias1 : account1@final-server-1
alias2 : account2@final-server-2

I also have different mailers to use with final-server-1 and -2.
How can I route mail depending of alias expansion with the corresponding
mailer?

In terms of mailertable something like this (mailer1 and 2 have
different mailer args):

final-server-1 mailer1:[final-server-1]
final-server-2 mailer2:[final-server-2]
....


I have sendmail 8.13.5. Any advice?

Burckhard

Re: using mailertable after alias expansion

am 02.03.2006 18:27:03 von Andrzej Adam Filip

Burckhard Schmidt writes:

> Use of mailertable entries is only possible for domains not in class Cw.
>
> I have in my alias file:
> alias1 : account1@final-server-1
> alias2 : account2@final-server-2
>
> I also have different mailers to use with final-server-1 and -2.
> How can I route mail depending of alias expansion with the
> corresponding mailer?
>
> In terms of mailertable something like this (mailer1 and 2 have
> different mailer args):
>
> final-server-1 mailer1:[final-server-1]
> final-server-2 mailer2:[final-server-2]
> ...
>
>
> I have sendmail 8.13.5. Any advice?

After alias expansion sendmail does full processes the expanded
addresses including mailertable (with alias loops detection).

You can check it using the following "show me delivery paths" command:

sendmail -bv alias1

--
[pl2en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
http://anfi.homeunix.net/

Re: using mailertable after alias expansion

am 03.03.2006 16:07:28 von Burckhard Schmidt

Andrzej Adam Filip wrote:
> Burckhard Schmidt writes:
>
>
>>Use of mailertable entries is only possible for domains not in class Cw.
>>
>>I have in my alias file:
>>alias1 : account1@final-server-1
>>alias2 : account2@final-server-2
>>
>>I also have different mailers to use with final-server-1 and -2.
>>How can I route mail depending of alias expansion with the
>>corresponding mailer?
>>
>>In terms of mailertable something like this (mailer1 and 2 have
>>different mailer args):
>>
>>final-server-1 mailer1:[final-server-1]
>>final-server-2 mailer2:[final-server-2]
>>...
>>
>>
>>I have sendmail 8.13.5. Any advice?
>
>
> After alias expansion sendmail does full processes the expanded
> addresses including mailertable (with alias loops detection).
>
> You can check it using the following "show me delivery paths" command:
>
> sendmail -bv alias1
>

Thanks Andrzej,
found "final-server-1" must be the canonical hostname (and also not in Cw).
Burckhard