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 3rd November 2013, 20:40
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default Squeeze to Wheezy -> sasl auth issues

Hi folks,

after finally updating my squeeze box to wheezy I had the error that sasl auth did not work anymore.

All config files generally looked fine, also the issue I found here and on other pages in the web about changed sql plugin name, but this was not the issue in my case.

The only thing that helped was to downgrade sasl to the packages from squeeze. But this feels like a temporary solution, especialy because of unsolved dependencies and thus annyoing cron-apt mails about those issues (instead of just updates that are available).

Did anyone run into the same issue and found a better solution?

Is there maybe some solution to totally get rid of saslauth in an ispconfig3 setup?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 5th November 2013, 11:10
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 922
Thanks: 16
Thanked 259 Times in 206 Posts
Default

I think you are using dovecot, right?

Please try installing dovecot-managesieved
Code:
apt-get install dovecot-managesieved
Then try creating a new config for dovecot2 like this:
Code:
cd /etc/dovecot
dovecot -n > dovecot.conf-new
mv dovecot.conf dovecot.conf.save ; mv dovecot.conf-new dovecot.conf ; /etc/init.d/dovecot restart
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #3  
Old 6th November 2013, 18:32
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Hi Croydon,

nope I use typical postfix with saslauth (-> mysql) for smtp(s) and courier for imap(s) / pop3(s) connections.
But receiving the emails is not issue at all, the only problem is authentication via SMTP.

If I do not downgrade to the squeeze saslauth packages, saslauth is not working at all.
Quote:
Die folgenden Pakete haben verletzte Abhängigkeiten:
libldap-2.4-2 : Hängt ab von: libsasl2-2 (>= 2.1.24) aber 2.1.23.dfsg1-7 ist installiert und wird zurückgehalten.
sasl2-bin : Hängt ab von: db4.8-util aber es soll nicht installiert werden.
postfix : Hängt ab von: libsasl2-2 (>= 2.1.24) aber 2.1.23.dfsg1-7 ist installiert und wird zurückgehalten.
mutt : Hängt ab von: libsasl2-2 (>= 2.1.24) aber 2.1.23.dfsg1-7 ist installiert und wird zurückgehalten.
(which is because of the old saslauth packages).

If I upgrade, smpt auth is not possible anymore.

and this is what the smtpd.conf looks like (if that helps)
Quote:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: XXXXX
sql_passwd: XXXXX
sql_database: XXXXX
sql_select: select password from mail_user where login = '%u@%r' and postfix = 'y'
From what I found googling this is already fine, as one issue was for some people, that after the ugprade this file needed to be changed, e.g. the axuprop_plugin value from sql to mysql etc.
Reply With Quote
  #4  
Old 6th November 2013, 18:35
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 922
Thanks: 16
Thanked 259 Times in 206 Posts
Default

Have you done an ISPConfig update after you upgraded debian?
This is neccessary so ISPConfig writes the new configs.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #5  
Old 7th November 2013, 10:27
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

yes I did. So the timeline was

- upgrade
- reboot
- detected the issue and stared research
- checked all config files, postfix chrooted env to work properly
- "upgraded" IPSConfig, letting the installer reconfigure all services (to generate new config files)
-> No luck
- Installed squeeze SASL packages that worked out eventhough having those warnings.

But I just wondert, how it worked out for all the others :/
Reply With Quote
  #6  
Old 7th November 2013, 10:46
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 922
Thanks: 16
Thanked 259 Times in 206 Posts
Default

That's really quite strange - although I'd never use squeeze packages on wheezy.
Sorry, no further idea at the moment, maybe someone else has some.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #7  
Old 7th November 2013, 11:38
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

But to get you right, you have a similar setup running, meaning Debian Wheezy, ISPConfig 3 with sasldbauth, without any problems?

Thanks for your help anyway.
Reply With Quote
  #8  
Old 7th November 2013, 11:47
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 922
Thanks: 16
Thanked 259 Times in 206 Posts
Default

I have multiple servers on debian wheezy (updated from squeeze).

Some with dovecot, some with courier, all up and running, yes.
__________________
Marius Cramer

pixcept KG
Reply With Quote
  #9  
Old 9th November 2013, 18:47
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

it is totally weird.... just tried again (verified some howtos to the setting I have, upgraded to the newest sasl packages).

- telnet auth (plain and login) and some online test pages work fine.

- auth plain via Mail.App, Outlook, Thunderbird, as well as postfix as client did not work at all. no clue why, especially that manau auth plain works, "plain" for the clients mentioned before does not.....


is there any other possiblity to authenticate postfix users for sending mails via DB except SASL?
Reply With Quote
  #10  
Old 12th November 2013, 15:00
stef157 stef157 is offline
Member
 
Join Date: Oct 2012
Posts: 88
Thanks: 30
Thanked 2 Times in 2 Posts
 
Default

Try to reconfigure the service from ISPConfig update ;-)
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
ISPConfig3 won't start after update Cracklefish Installation/Configuration 15 28th February 2012 14:11
Mail hold in Q fisherofer Installation/Configuration 1 5th February 2012 13:29
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 20:01
Cannot login to SquirrelMail sellotape Installation/Configuration 13 26th October 2010 11:03
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12


All times are GMT +2. The time now is 10:33.


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