Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th November 2008, 16:04
Zeek Zeek is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Postfix Virtual Hosting With LDAP Backend With Dovecot As IMAP/POP3 Server On Ubuntu

Hi,

I'm trying to make this installation on a ubuntu 8.04.
All the installation seems to be right as long as im not trying to send mails...

This is what i get when i'm doing a : telnet 127.0.0.1 25

Code:
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 example.domain.com ESMTP Postfix (Ubuntu)
Then i'm typing : ehlo me
Code:
250-example.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
And when im trying to send a mail with : mail from: user@domain.com

the console freeze and i'm getting this in /var/log/mail.log :

Code:
Nov 12 15:42:54 example postfix/smtpd[4794]: connect from localhost.localdomain[127.0.0.1]
Nov 12 15:43:07 example postfix/trivial-rewrite[4797]: warning: dict_ldap_lookup: transport: Search base '' not found: 32: No such object
Nov 12 15:43:07 example last message repeated 2 times
Nov 12 15:43:07 example postfix/trivial-rewrite[4797]: fatal: ldap:transport(0,lock|fold_fix): table lookup problem
Nov 12 15:43:08 example postfix/master[4287]: warning: process /usr/lib/postfix/trivial-rewrite pid 4797 exit status 1
Nov 12 15:43:09 example postfix/trivial-rewrite[4798]: warning: dict_ldap_lookup: transport: Search base '' not found: 32: No such object
Nov 12 15:43:09 example last message repeated 2 times
Nov 12 15:43:09 example postfix/trivial-rewrite[4798]: fatal: ldap:transport(0,lock|fold_fix): table lookup problem
Nov 12 15:43:10 example postfix/smtpd[4794]: warning: problem talking to service rewrite: Success
Nov 12 15:43:10 example postfix/master[4287]: warning: process /usr/lib/postfix/trivial-rewrite pid 4798 exit status 1
Nov 12 15:43:10 example postfix/master[4287]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
Seems their is a problem with LDAP but i can't find it.

Thanks by advance for all your help !
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2008, 12:13
Zeek Zeek is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Unhappy

I'm manage to connect a user with thunderbird.
I get this when thunderbird ask for password :

Code:
dovecot: Nov 25 12:03:04 Info: imap-login: Login: user=<admin@domain.com>, method=PLAIN, rip=***.**.**.***, lip=***.**.**.***
dovecot: Nov 25 12:03:05 Info: IMAP(admin@domain.com): Effective uid=5000, gid=5000, home=
dovecot: Nov 25 12:03:05 Info: IMAP(admin@domain.com): maildir: data=/home/vmail/domains/domain.com/admin@domain.com
dovecot: Nov 25 12:03:05 Info: IMAP(admin@domain.com): maildir: root=/home/vmail/domains/domain.com/admin@domain.com, index=/home/vmail/domains/domain.com/admin@domain.com, control=, inbox=
but when i try to send a mail i got an error telling me that i can't contact the server SMTP, but with no errors in the logs...
I still get the same problem when i'm doing a

Code:
telnet localhost 25
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 example.domain.com ESMTP Postfix (Ubuntu)
Then it freeze if i try to do a mail from: ( if i just press enter i got "500 5.5.2 Error: bad syntax" , and i can quit normally ), and i have to restart postfix after that.

Please, is there someone here who already try to make this work, with LDAP and Dovecot...

Last edited by Zeek; 25th November 2008 at 12:19.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner,Mailwatch CentOS 5.2 tecstream HOWTO-Related Questions 3 16th July 2008 22:10
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42
dovecot problem sojic Server Operation 21 23rd March 2008 18:22
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 06:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.