OT: Sendmail LDAP Routing - failure

Kevin Spicer kevins at BMRB.CO.UK
Fri May 14 08:02:08 IST 2004


On Fri, 2004-05-14 at 03:19, James Gray wrote:
> Hi All (and Kevin Spicer specifically),
>
> I am trying to implement the LDAP_ROUTE_FILE feature as detailed in
> Kevin's documentation at
> http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/270.html
>
> I'm not sure where I'm screwing up, but after making all the changes in
> /etc/mail, then restarting sendmail, everything is rejected as "Unknown
> User" - eek.

That happens when it tries to deliver mail that should be forwarded
according to the mailhost file to the local machine.  Have you
definately got the right data in /etc/mail/mailhost
user at domain.com mailserver.com
Did youi build the mailhost db with
makemap hash /etc/mail/mailhost < /etc/mail/mailhost
(although the supplied script should do that automatically)
Does your version of sendmail actually support LDAP routing?
I think....
/usr/lib/sendmail -bt -d0.10 < /dev/null | grep LDAP
mine shows both LDAPMAP and USE_LDAP_INIT (I'm not sure USE_LDAP_INIT is
required but I'll bet LDAPMAP is), if yours doesn't show this then a
recompile of sendmail is probably in order.





BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list