LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-22-2009, 07:03 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 250

Rep: Reputation: 18
Postfix - problem with sending emails from Outlook, Thunderbird...


Hi all,

since two weeks I`m fighting with postfix dovecot and ssl. Without result. It seems that server working fine. It can receive emails but when I`m trying to send something from Thunderbird or Outlook it simply doesnt work. I`m going crazy with that server.

Here is my log /var/log/mail.log - when I`m trying to send something from Thunderbird

Code:
Nov 22 12:43:28 server postfix/smtpd[32115]: warning: SASL authentication proble                                                                             m: unable to open Berkeley db /etc/sasldb2: No such file or directory
Nov 22 12:43:28 server last message repeated 2 times
Nov 22 12:43:28 server postfix/smtpd[32115]: warning: SASL authentication failur                                                                             e: no secret in database
Nov 22 12:43:28 server postfix/smtpd[32115]: warning: dslb-084-056-087-188.pools                                                                             .arcor-ip.net[84.56.87.188]: SASL CRAM-MD5 authentication failed: authentication                                                                              failure
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: SASL authentication proble                                                                             m: unable to open Berkeley db /etc/sasldb2: No such file or directory
Nov 22 12:43:29 server last message repeated 2 times
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: SASL authentication failur                                                                             e: no secret in database
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: dslb-084-056-087-188.pools                                                                             .arcor-ip.net[84.56.87.188]: SASL NTLM authentication failed: authentication fai                                                                             lure
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: SASL authentication proble                                                                             m: unable to open Berkeley db /etc/sasldb2: No such file or directory
Nov 22 12:43:29 server last message repeated 5 times
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: SASL authentication failur                                                                             e: Password verification failed
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: dslb-084-056-087-188.pools                                                                             .arcor-ip.net[84.56.87.188]: SASL PLAIN authentication failed: authentication fa                                                                             ilure
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: SASL authentication proble                                                                             m: unable to open Berkeley db /etc/sasldb2: No such file or directory
Nov 22 12:43:29 server last message repeated 5 times
Nov 22 12:43:29 server postfix/smtpd[32115]: warning: dslb-084-056-087-188.pools

Here is my main.cf
Code:
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
#smtp_use_tls = yes
smtpd_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_auth_only = no
tls_random_source = dev:/dev/urandom
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_sasl_local_domain = server-something.de
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_path = /etc/postfix/sasl/smtpd.conf
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/postfix/cert.pem
smtpd_tls_key_file = /etc/ssl/postfix/key.pem
smtpd_tls_CAfile = /etc/ssl/postfix/ca.pem
smtpd_sasl_path = dovecot
smtpd_sasl_path = private/auth



Does any one can help me ? Do You know any other good mail servers but easier to configure ? In each tutorial about postfix is writing how to create email server (rather , how to create email server which can receive emails, but not send)


Last...question... Who can help me to configure that crazy server ?


thanks for any support

dlugasx
 
Old 11-22-2009, 11:58 PM   #2
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
hi,

Not having much idea.. but..

logs are saying /etc/sasldb2 is not existing.. This file usually contains sasl authentication database..
your mail users are local unix account user or you are using any directory server like openldap etc..???
Have you enabled "selinux" in your server?? If so please disable it and check again..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix, Dovecot, SASL - problem with authentication in Thunderbird / Outlook dlugasx Linux - Server 2 11-19-2009 03:31 AM
Problem sending emails DonaldUK Slackware 3 08-31-2007 01:56 PM
Postfix - sending emails and connection timeouts endfx Linux - Server 2 08-19-2007 12:45 AM
LXer: Importing Outlook Express Emails Into Thunderbird And Evolution LXer Syndicated Linux News 0 03-25-2007 09:01 PM
Sending and receiving emails with cyrillic character? (squirrelmail, postfix &fedora) Ternet Linux - Software 1 09-19-2006 03:43 AM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration