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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st March 2011, 21:09
Samgarr Samgarr is offline
Junior Member
 
Join Date: Jun 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Exclamation warning: SASL authentication failure: Password verification failed

Hello,
i have ispconfig3@Debian 5.0. everything works perfectly, thanks for your work on ISPConfig a
And now my problem.I can not send mail via thunderbird / outlook. Thundebird error is:

Code:
Login to server failed www.study21.cz.
in /var/log/mail.log is:
Code:
Mar  1 19:43:44 toxie postfix/smtpd[3658]: warning: SASL authentication failure: Password verification failed
Mar  1 19:43:44 toxie postfix/smtpd[3658]: warning: ip-89-176-96-114.net.upcbroadband.cz[89.176.96.114]: SASL PLAIN authentication failed: authentication failure
Mar  1 19:43:44 toxie postfix/smtpd[3658]: warning: ip-89-176-96-114.net.upcbroadband.cz[89.176.96.114]: SASL LOGIN authentication failed: authentication failure
/etc/default/saslauthd
Code:
# Available options in this Debian package:
# getpwent  -- use the getpwent() library function
# kerberos5 -- use Kerberos 5
# pam       -- use PAM
# rimap     -- use a remote IMAP server
# shadow    -- use the local shadow password file
# sasldb    -- use the local sasldb database file
# ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
#
# Only one option may be used at a time. See the saslauthd man page
# for more information.
#
# Example: MECHANISMS="pam"
MECHANISMS="pam"

# Additional options for this mechanism. (default: none)
# See the saslauthd man page for information about mech-specific options.
MECH_OPTIONS=""

# How many saslauthd processes should we run? (default: 5)
# A value of 0 will fork a new process for each connection.
THREADS=5

# Other options (default: -c -m /var/run/saslauthd)
# Note: You MUST specify the -m option or saslauthd won't run!
#
# WARNING: DO NOT SPECIFY THE -d OPTION.
# The -d option will cause saslauthd to run in the foreground instead of as
# a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish
# to run saslauthd in debug mode, please run it by hand to be safe.
#
# See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
# See the saslauthd man page and the output of 'saslauthd -h' for general
# information about these options.
#
# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
#odstraneno -r anzto v tehle konfiguraci znemoznuje odeslat poslu thunderbirdem
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
/etc/postfix/sasl/smtpd.conf
Code:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: ispconfig
sql_passwd: 41e9ab22906b04d7b199fc09a4a02885
sql_database: dbispconfig
sql_select: select password from mail_user where email = '%u'
In roundcube (plugin + Password) Sending mails normally. Any ideas? Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 2nd March 2011, 08:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

a) Do you use courier or dovecot?
b) Check the thunderbird configuration and ensure that you use the full email address as username for smtp-auth and not just the part in front of the @.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd March 2011, 08:51
Samgarr Samgarr is offline
Junior Member
 
Join Date: Jun 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

a)courier
b)checked, i use full mail address



thanks!
Reply With Quote
  #4  
Old 2nd March 2011, 18:54
Samgarr Samgarr is offline
Junior Member
 
Join Date: Jun 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Now I tried to login via telnet and got this:
Code:
telnet samtech.cz 25
Trying 178.79.136.203...
Connected to samtech.cz.
Escape character is '^]'.
220 toxie.bathost.cz ESMTP Postfix (Debian/GNU)
AUTH LOGIN
334 VXNlcm5hbWU6
aW5mb0BzdHVkeTIxLmN6
334 UGFzc3dvcmQ6
aW5mb2luZm8=
535 5.7.8 Error: authentication failed: authentication failure
Reply With Quote
  #5  
Old 2nd March 2011, 19:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Does it work without STARTTLS?
__________________
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
  #6  
Old 2nd March 2011, 19:29
Samgarr Samgarr is offline
Junior Member
 
Join Date: Jun 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

No, same error in mail.log.
Thanks for you time.
Reply With Quote
  #7  
Old 3rd March 2011, 17:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Do you use the email address as the username in your email client? Does the email address exist in the mail_user table?
__________________
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
  #8  
Old 12th September 2011, 18:14
gral gral is offline
Member
 
Join Date: Jan 2007
Location: Argentina
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to gral
Default

same problem here; as information i can say

im using courier , config the mail account as user@domain.com , and doesnt work without STARTTLS neither , the user exist at the mail_user table;

ps aux | grep sasl
Code:
root     13576  0.0  0.0   5680  1008 ?        Ss   13:02   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
root     13577  0.0  0.0   5680   996 ?        S    13:02   0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
/usr/lib/sasl2/smtpd.conf
Code:
pwcheck_method: saslauthd
/etc/postfix/main.cf
Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = mail.myserver.net, localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
myhostname = mail.myserver.net
mynetworks = 127.0.0.0/8 [::1]/128
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
receive_override_options = no_address_mappings
relayhost = 
mailbox_size_limit = 0
message_size_limit = 0
And i cant use the smtp i always receive;

Code:
warning: SASL authentication failure: Password verification failed
Sep 12 13:03:46 myserver postfix/smtpd[13644]: warning: unknown[xx.xx.xx.xx]: SASL PLAIN authentication failed: authentication failure
Sep 12 13:03:46 myserver postfix/smtpd[13644]: warning: unknown[xx.xx.xx.xx]: SASL LOGIN authentication failed: authentication failure
Any suggestion ?... im really confused.

Thanks in advance!.
__________________
Sorry for my englisH!
Reply With Quote
  #9  
Old 12th September 2011, 21:08
gral gral is offline
Member
 
Join Date: Jan 2007
Location: Argentina
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to gral
Default

add new logs that i didnt checked before; in /var/log/messages

Code:
mail.server saslauthd[25679]: do_auth         : auth failure: [user=mailuser] [service=smtp] [realm=domain.com.ar] [mech=pam] [reason=PAM auth error]
mail.server saslauthd[25680]: do_auth         : auth failure: [user=mailuser] [service=smtp] [realm=domain.com.ar] [mech=pam] [reason=PAM auth error]
__________________
Sorry for my englisH!
Reply With Quote
  #10  
Old 13th September 2011, 15:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Which distribution do you use? And which tutorial (URL)?
__________________
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

Tags
password failure, saslauthd, smtp, thunderbird

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
rkhunter warnings esezako General 7 27th September 2011 07:28
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 17:25
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
[Postfix] Quota doesn't work krzysiek HOWTO-Related Questions 8 2nd March 2009 15:57
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 18:55.


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