Routing Problem ( mailertable + ldap routing)
Routing Problem ( mailertable + ldap routing)
am 15.01.2008 14:02:05 von nus4u
Hello ,
I ve got a routing problem in Sendmail.
I use following configs in sendmail.mc for routing :
......
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
FEATURE(`ldap_routing', `hash -o /etc/mail/mailrouting', `null')dnl
LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldap_route_domain')dnl
.......
99 percent of the incomming mails use the normal routing via the
mailertable.
The rest is all adressed to info@mydomain1...n.com.
The domains(mydomain1..n) are listed in the file :/etc/mail/
ldap_route_domain.
The info@mydomain..n.com are listed in the file /etc/mail/mailrouting
When i now type a
sendmail -bv -v info@mydomain1...n.com it prints out the routing which
is in the mailrouting file.
So everything is fine for me.
BUT when i now receives mail from outside which is adressed to
info@mydomain1...n.com then the routing does not go through the
mailrouting file, it only uses the properties of the mailertable.
Can anybody help me with this problem ?
[Sendmail Version 8.14.2]
Thanks
Nubi
Re: Routing Problem ( mailertable + ldap routing)
am 15.01.2008 16:34:16 von Andrzej Filip
nus4u@gmx.net writes:
> I ve got a routing problem in Sendmail.
> I use following configs in sendmail.mc for routing :
> .....
> FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
> FEATURE(`ldap_routing', `hash -o /etc/mail/mailrouting', `null')dnl
> LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldap_route_domain')dnl
Slightly off topic: remove "-o" (optional) from the above. With "-o"
present sendmail daemon will start even when the maps are unavailable.
> ......
> 99 percent of the incomming mails use the normal routing via the
> mailertable.
> The rest is all adressed to info@mydomain1...n.com.
> The domains(mydomain1..n) are listed in the file
> :/etc/mail/ldap_route_domain.
> The info@mydomain..n.com are listed in the file /etc/mail/mailrouting
>
> When i now type a
> sendmail -bv -v info@mydomain1...n.com it prints out the routing which
> is in the mailrouting file.
> So everything is fine for me.
>
> BUT when i now receives mail from outside which is adressed to
> info@mydomain1...n.com then the routing does not go through the
> mailrouting file, it only uses the properties of the mailertable.
Standard "warm up" question:
Have you restarted sendmail daemon (or HUPed it) after modifying
sendmail.cf?
Without it sendmail daemon "remembers" configuration (sendmail.cf) as it
was when the daemon was started.
[ It seems to fix at least 30% of such discrepancies ]
> Can anybody help me with this problem ?
> [Sendmail Version 8.14.2]
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
I never cheated an honest man, only rascals. They wanted something for
nothing. I gave them nothing for something.
-- Joseph "Yellow Kid" Weil
----
http://groups.google.com/groups?selm=87ir1v9k7b@michele.fsf. hobby-site.com
Re: Routing Problem ( mailertable + ldap routing)
am 16.01.2008 08:17:44 von nus4u
Dzien Dobry Andrzej,
i thought i had done everyting to make it working....except
restarting :-(
It works fine now, thanks for help !
Dziekuje !
Nubi
Re: Routing Problem ( mailertable + ldap routing)
am 16.01.2008 08:56:41 von Andrzej Filip
nus4u@gmx.net writes:
> Dzien Dobry Andrzej,
>
> i thought i had done everyting to make it working....except
> restarting :-(
>
> It works fine now, thanks for help !
> Dziekuje !
> Nubi
Welcome to the "simple *after*" world! :-)
[ I have been greeted in it *MANY* times myself ;-) ]
General rule:
It always makes sense to rule out simple "problems" before investigating
much more sinister causes they sometimes do happen.
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
echo $package has manual pages available in source form.
echo "However, you don't have nroff, so they're probably useless to you."
-- Larry Wall in Configure from the perl distribution
----
http://groups.google.com/groups?selm=87r6gi8apy@james.fsf.ho bby-site.com