[Date Prev][Date Next] [Chronological] [Thread] [Top]

Error 451 4.3.5 , with fetchmail, sendmail, LDAP



Hi,

I have installed a new mail server with sendmail + LDAP , it's seems to
works correctly. I have just à little problem. I use fetchmail to get email
from my isp POP server. Each POP account as an LDAP entry to get mail.
When i look my fetchmail log i find this :

  fetchmail: SMTP> MAIL FROM:<YYYYYYYYYY> SIZE=42288
  fetchmail: SMTP< 250 2.1.0 <YYYYYYYYYY>... Sender ok
  fetchmail: SMTP> RCPT TO:<XXXXXXXXXX>
>>>  fetchmail: SMTP< 451 4.3.5 Error getting LDAP results in map ldapmra:
Can't contact LDAP server
>>>  fetchmail: SMTP error: 451 4.3.5 Error getting LDAP results in map
ldapmra: Can't contact LDAP server
  fetchmail: SMTP> RSET
  fetchmail: SMTP< 250 2.0.0 Reset state
  fetchmail:  not flushed

and in sendmail log I have :

   Mar 22 05:02:43 srvmailcci sendmail[20217]: i2M42fWe020215: to=XXXXXXX,
   delay=00:00:02, xdelay=00:00:01, mailer=local, pri=34072, dsn=2.0.0,
stat=Sent
   Mar 22 05:02:43 srvmailcci sendmail[20215]: i2M42fWf020215: SYSERR(root):
   Error getting LDAP results in map ldapmra: Can't contact LDAP server

This is the same error

There's nothing in the LDAP log

My LDAP server has 'only'  100  entry in People,  the server as 512Mo of RAM
and 72Go of disk space (52Go for /var) and it's a dual PIII/833 ! so i can't
believe my LDAP server is overloaded !! but i don't understand why sometimes
the LDAP server is not answering.

I read the faq and the section about optimisation, i make new indexes with
field mostly searched (mail, uid, cn). I disabled LDAP log.
In slapd.conf  i increased : threads value, dbcache, sizelimit ...
But the same problem continue

I don't think it's a fetchmail or sendmail pb...

Fetchmail 6.2.5            (rpm upgraded)
Sendmail   8.12.5-7     (rpm redhat 8.0)
OpenLDAP 2.0.25-1  (rpm redaht 8.0)


here's the line in sendmail.mc to get ldap querys :

   FEATURE(`ldap_routing',,,bounce)dnl
   define(`confLDAP_DEFAULT_SPEC',`-h 99.99.99.99 -b o=XXXXX,c=XXX ')dnl
   define(`ALIAS_FILE',`ldap: -k (cn=%0) -v rfc822MailMember')dnl
   FEATURE(`virtusertable',`ldap: -k
(&(objectClass=posixaccount)(mail=%0) -v uid')dnl


Thank's for any help if some one have any idea where to look to find where
is the problem.


Auguste,


-----------------------------------
Accélérez votre carrière ! Le groupe ESC Clermont vous propose des formations diplômantes 
à bac + 4 et bac + 5 compatibles avec votre activité professionnelle. 
Pour passer de bac +2 à bac + 4 : Manager de projet commercial (diplôme homologué niveau 2)
http://www.esc-clermont.fr/formation_postexp/Managementprojet2.htm
Le diplôme ESC Clermont, un bac + 5 visé par l?Etat
http://www.esc-clermont.fr/formation_postexp/HomeDipEsc.htm

-----------------------------------