Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2007, 09:32 AM
Junior Member
 
Posts: 6
Default smtp table lookup problem

Hi.

My smtp do not work correctly, when i try send mail from webmail, or by mail client i got following error ::

Sep 18 17:27:03 5-MeO-DMT postfix/trivial-rewrite[7534]: warning: dict_ldap_lookup: Search error -1: Can't contact LDAP server
Sep 18 17:27:03 5-MeO-DMT last message repeated 2 times
Sep 18 17:27:03 5-MeO-DMT postfix/trivial-rewrite[7534]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,100): table lookup problem
Sep 18 17:27:03 5-MeO-DMT postfix/trivial-rewrite[7535]: warning: dict_ldap_lookup: Search error -1: Can't contact LDAP server
Sep 18 17:27:03 5-MeO-DMT last message repeated 2 times
Sep 18 17:27:03 5-MeO-DMT postfix/trivial-rewrite[7535]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,100): table lookup problem
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[6615]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[6615]: warning: problem talking to service rewrite: Success
Sep 18 17:27:04 5-MeO-DMT postfix/master[6205]: warning: process /opt/zimbra/postfix-2.2.9/libexec/trivial-rewrite pid 7534 exit status 1
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[7121]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
Sep 18 17:27:04 5-MeO-DMT postfix/master[6205]: warning: /opt/zimbra/postfix-2.2.9/libexec/trivial-rewrite: bad command startup -- throttling
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[7121]: warning: problem talking to service rewrite: Connection reset by peer
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[7478]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
Sep 18 17:27:04 5-MeO-DMT postfix/smtpd[7478]: warning: problem talking to service rewrite: Success

Interesting is when mail client is possible to auth (so smtp must commnucate with ldap), but message is not sent. So when i use swaks, the mail is delivered.

Need additional information? Ask me.

I' hanging on this.

Thanks for help.

scj
Reply With Quote
  #2 (permalink)  
Old 09-18-2007, 09:39 AM
Zimbra Consultant & Moderator
 
Posts: 11,512
Default

Quote:
Originally Posted by s_c_johnson View Post
Sep 18 17:27:03 5-MeO-DMT postfix/trivial-rewrite[7534]: warning: dict_ldap_lookup: Search error -1: Can't contact LDAP server
Sep 18 17:27:03 5-MeO-DMT last message repeated 2 times
Silly question, perhaps, but do you actually have LDAP installed and is it running if you do? What does a 'zmcontrol status' show? Which version/release of Zimbra and which operating system?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-18-2007, 03:42 PM
Junior Member
 
Posts: 6
Default

LDAP running, my other services using zimbra LDAP, and as i was write, webmail authentification working too.

~$ ldap status
slapd running pid: 5671

~$ zmcontrol status
Host zimbra.somwhere.tld
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running

actualy

~$ ldapsearch uid=steweg
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: uid=steweg
# requesting: ALL
#

# steweg, People, ....

so ldap isn't problem.
problem is somwhere in MTA, but i dont know where.

scj
Reply With Quote
  #4 (permalink)  
Old 09-18-2007, 03:45 PM
Junior Member
 
Posts: 6
Default

and i forgot, i'm using opensource zcs-4.5.6 on ubuntu 6.06.

scj
Reply With Quote
  #5 (permalink)  
Old 09-19-2007, 12:46 PM
Junior Member
 
Posts: 6
Default

enybody help? i'm freezed on this.

scj
Reply With Quote
  #6 (permalink)  
Old 09-21-2007, 06:46 AM
Junior Member
 
Posts: 6
Default

one interesting commnad ::

~$ postmap -q s_c_johnson@mydomain.tld ldap:/opt/zimbra/conf/ldap-vad.cf
s_c_johnson@mydomain.tld

and with -v
...
postmap: dict_open: ldap:/opt/zimbra/conf/ldap-vad.cf
postmap: dict_ldap_lookup: In dict_ldap_lookup
postmap: dict_ldap_lookup: No existing connection for LDAP source /opt/zimbra/conf/ldap-vad.cf, reopening
postmap: dict_ldap_connect: Connecting to server ldaps://ldap.mydomain.tld:636
postmap: dict_ldap_connect: Actual Protocol version used is 3.
...

so i realy dont know wehere is problem now.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0