LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix - problem with sending emails from Outlook, Thunderbird... (https://www.linuxquestions.org/questions/linux-server-73/postfix-problem-with-sending-emails-from-outlook-thunderbird-770756/)

dlugasx 11-22-2009 06:03 AM

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

haariseshu 11-22-2009 10:58 PM

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..


All times are GMT -5. The time now is 10:59 AM.