Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th March 2007, 13:51
fish3232 fish3232 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default SMTP Auth problems in Debian Etch w/ISPConfig

Hi guys,

Maybe somebody could help me out with this issue.
I followed the Perfect setup for Debian 3.1 (sarge) for my Debian 4.0 (Etch) Install. I then proceeded to install ISPConfig. Everything works perfect except authetication through smtp. I can send emails using the webmail, but if i try to send mail through my smtp server from somewhere else, authentication fails.
The only problem that i have seen besides the smtp is this:

Quote:
/etc/init.d/openbsd-inetd start
* Not starting internet superserver: no services enabled.


Here is the error i get when i try to authenticate smtp:
Quote:
Out: 220 debian.aquatikamarine.com ESMTP Postfix (Debian/GNU)
In: EHLO [192.168.42.81]
Out: 250-debian.aquatikamarine.com
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH PLAIN LOGIN
Out: 250-AUTH=PLAIN LOGIN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: STARTTLS
Out: 454 4.3.0 TLS not available due to local problem
In: AUTH PLAIN AGplb3ZhbmkAT21lcmEzMg==
Out: 535 5.7.0 Error: authentication failed: generic failure
In: AUTH LOGIN
Out: 334 VXNlcm5hbWU6
In: amVvdmFuaQ==
Out: 334 UGFzc3dvcmQ6
In: T21lcmEzMg==
Out: 535 5.7.0 Error: authentication failed: generic failure

Session aborted, reason: lost connection
Thank you in advance for your help,

Jeovani
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2007, 19:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Which errors do you get in your mail log? If you want to use TLS, enable TLS in the file /etc/postfix/master.cf.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th March 2007, 05:38
fish3232 fish3232 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

looks like sasl is having an issue. I tried several things and nothing worked. I also tried changing the path of smtpd_sasl_domain. That didnt work. Also theres a cert issue, i dont know why i would be getting that. I followed the how to to the T. Any thoughts? Heres the output of /var/log/mail.log

Quote:
Mar 25 23:32:19 debian postfix/smtpd[19077]: cannot load Certificate Authority data
Mar 25 23:32:19 debian postfix/smtpd[19077]: warning: TLS library problem: 19077:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('/etc/postfix/ssl/cacert.pem','r'):
Mar 25 23:32:19 debian postfix/smtpd[19077]: warning: TLS library problem: 19077:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
Mar 25 23:32:19 debian postfix/smtpd[19077]: warning: TLS library problem: 19077:error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib:by_file.c:274:
Mar 25 23:32:19 debian postfix/smtpd[19077]: connect from adsl-225-255-181.mia.bellsouth.net[74.225.255.181]
Mar 25 23:32:20 debian postfix/smtpd[19077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 25 23:32:20 debian postfix/smtpd[19077]: warning: SASL authentication failure: Password verification failed
Mar 25 23:32:20 debian postfix/smtpd[19077]: warning: adsl-225-255-181.mia.bellsouth.net[74.225.255.181]: SASL PLAIN authentication failed: generic failure
Mar 25 23:32:20 debian postfix/smtpd[19077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 25 23:32:20 debian postfix/smtpd[19077]: warning: adsl-225-255-181.mia.bellsouth.net[74.225.255.181]: SASL LOGIN authentication failed: generic failure
Mar 25 23:32:23 debian postfix/smtpd[19077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 25 23:32:23 debian postfix/smtpd[19077]: warning: SASL authentication failure: Password verification failed
Mar 25 23:32:23 debian postfix/smtpd[19077]: warning: adsl-225-255-181.mia.bellsouth.net[74.225.255.181]: SASL PLAIN authentication failed: generic failure
Mar 25 23:32:23 debian postfix/smtpd[19077]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Mar 25 23:32:23 debian postfix/smtpd[19077]: warning: adsl-225-255-181.mia.bellsouth.net[74.225.255.181]: SASL LOGIN authentication failed: generic failure
Reply With Quote
  #4  
Old 26th March 2007, 08:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Do you get an error when you start the saslauthd server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 26th March 2007, 08:55
fish3232 fish3232 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

nope. No errors, and when i ps aux shows five processes of sasl running.

here's the exerpt of my /etc/postfix/main.cf:

Quote:
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = debian.aquatikamarine.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = debian.aquatikamarine.com, localhost.aquatikamarine.com, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
Reply With Quote
  #6  
Old 26th March 2007, 16:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
ps aux|grep saslauthd
?
What's in /etc/default/saslauthd and /etc/init.d/saslauthd?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
postfix smtp sasl auth problem hammer Installation/Configuration 1 13th July 2006 18:19
SMTP Auth failure debian 3.1 sarge dschmid Installation/Configuration 5 3rd April 2006 11:16
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 00:47.


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