Sendmail: Forwarding Mail to another host for a Domain exept one email address
am 24.05.2005 20:15:23 von Wolfgang Bauer
I have following problem:
I have Sendmail 8.13.1. In /etc/mail/mailertable there is an entry for
domain.tld smtp:[ip-address] to forward all emails for that domain to this
host.
But there is one email address for that domain, that should not be forwarded
to the other host, mails for this address should.
So i've made an entry in virtusertable to forward mails for that address to
a local user, but sendmail forward it anyway to the other host instead to
the local user.
It seems, that the priority for mailertable is higher than for
virtusertable.
Any idea?
Best Regards
Wolfgang
Re: Sendmail: Forwarding Mail to another host for a Domain exeptone email address
am 24.05.2005 20:48:00 von Andrzej Adam Filip
Wolfgang Bauer wrote:
> I have following problem:
>
> I have Sendmail 8.13.1. In /etc/mail/mailertable there is an entry for
> domain.tld smtp:[ip-address] to forward all emails for that domain to this
> host.
> But there is one email address for that domain, that should not be forwarded
> to the other host, mails for this address should.
> So i've made an entry in virtusertable to forward mails for that address to
> a local user, but sendmail forward it anyway to the other host instead to
> the local user.
> It seems, that the priority for mailertable is higher than for
> virtusertable.
>
> Any idea?
virtusertable for non local email domains
[ available in sendmail-8.10+ ]
--
Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl
Re: Sendmail: Forwarding Mail to another host for a Domain exept one email address
am 30.05.2005 07:18:59 von Wolfgang Bauer
Thank you Andrzej,
I've found some on google and so I've modified the sendmail.cf with
following line:
F{VirtHost} /etc/mail/virtual-domains
Then I've made the virtual-domains file and put some domain in there.
After that, the virtusertable works without problem and any other
mail-address than that from virtusertable is processed via mailertable for
the same domain.
Many Thanks.
Wolfgang
"Andrzej Adam Filip" schrieb im Newsbeitrag
news:d6vsqj$8g9$1@anfi.homeunix.com...
> Wolfgang Bauer wrote:
>> I have following problem:
>>
>> I have Sendmail 8.13.1. In /etc/mail/mailertable there is an entry for
>> domain.tld smtp:[ip-address] to forward all emails for that domain to
>> this host.
>> But there is one email address for that domain, that should not be
>> forwarded to the other host, mails for this address should.
>> So i've made an entry in virtusertable to forward mails for that address
>> to a local user, but sendmail forward it anyway to the other host instead
>> to the local user.
>> It seems, that the priority for mailertable is higher than for
>> virtusertable.
>>
>> Any idea?
>
> virtusertable for non local email domains
> [ available in sendmail-8.10+ ]
>
> --
> Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl
>