Current time: 12-16-2019, 02:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Author Message
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #1
VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Hi all,

now i need your help. I am getting crasy by not finding the error .-(
May be you can help me.

I did an update from VHCS 2.4.7.1 to ispcp 1.0.2 like descripted in the howtos:
1. VHCS to ispcp
2. ispcp on Debian update

Everything went ok except the mail issue. No login to mta possible.
Here the log file:

Quote:May 25 11:18:09 server imapd: Connection, ip=[::ffff:X.X.X.190]
May 25 11:18:09 server authdaemond: received auth request, service=imap, authtype=login
May 25 11:18:09 server authdaemond: authuserdb: trying this module
May 25 11:18:09 server authdaemond: userdb: looking up 'user@server.de'
May 25 11:18:09 server authdaemond: userdb: home=/var/mail/virtual/domain.de/user, uid=108, gid=8, shell=/bin/false, mail=/var/mail/virtual/domain/user, quota=<unset>, gecos=<unset>, options=<unset>
May 25 11:18:09 server authdaemond: found systempw in userdbshadow
May 25 11:18:09 server authdaemond: authuserdb: sysusername=<null>, sysuserid=108, sysgroupid=8, homedir=/var/mail/virtual/domain/user, address=user@server.de, fullname=<null>, maildir=/var/mail/virtual/domain/user, quota=<null>, options=<null>
May 25 11:18:09 server authdaemond: authuserdb: clearpasswd=<null>, passwd=$1$smkgq5EP$xnpocDLQ2Ij.IWTiACYAF.
May 25 11:18:09 server authdaemond: supplied password 'PASSWORD' does not match encrypted password '$1$kgq5EP__XXXXXXXXXXXXXXXXXXXX___F.'
May 25 11:18:09 server authdaemond: authuserdb: REJECT - try next module
May 25 11:18:09 server authdaemond: authuserdb: trying this module
May 25 11:18:09 server authdaemond: userdb: looking up 'user@server.de'
May 25 11:18:09 server authdaemond: userdb: home=/var/mail/virtual/domain/user, uid=108, gid=8, shell=/bin/false, mail=/var/mail/virtual/domain/user, quota=<unset>, gecos=<unset>, options=<unset>
May 25 11:18:09 server authdaemond: found systempw in userdbshadow
May 25 11:18:09 server authdaemond: authuserdb: sysusername=<null>, sysuserid=108, sysgroupid=8, homedir=/var/mail/virtual/domain/user, address=user@server.de, fullname=<null>, maildir=/var/mail/virtual/domain/user, quota=<null>, options=<null>
May 25 11:18:09 server authdaemond: authuserdb: clearpasswd=<null>, passwd=$1$smkgq5EP______XXXXXXXX____.
May 25 11:18:09 server authdaemond: supplied password 'PASSWORD' does not match encrypted password '$1$smkgq5EP__XXX__F.'
May 25 11:18:09 server authdaemond: authuserdb: REJECT - try next module
May 25 11:18:09 server authdaemond: FAIL, all modules rejected
May 25 11:18:09 server imapd: LOGIN FAILED, user=user@server.de, ip=[::ffff:X.X.X.190]


Here my smtp.conf:
Quote:pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

Where can i set new passwords for the users?
Does it have to do with the key files?
I tried to change the new keys from ispcp with the ones from vhcs2 but the the access to the DB failed.

I also tried to update the DB with toadd and run the ispcp-rqst-mgr but is doesn't solve the issue.

Is it possible to update now directly to the ispcp 1.0.5 version? May be a better way?

Any else needed?

Br
Jan
05-25-2010 07:36 PM
Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #2
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Hello all,

its really urgent !

But I did a mistake I used ispcp-omega-1.0.0.tar.bz2 and not 1.0.2 as written before.

Br
Jan
05-25-2010 09:29 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
maybe set all mail-accounts to status "change" and run the request manager - but also maybe better try first with one account :-)

try to rename the smtp.conf (and deactivate authdaemon - postfix is able to handle the SASL things alone).

Have a look at /etc/sasldb2 (a good text viewer), can you see the right passwords there?

/J
05-25-2010 09:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #4
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Hi jximu,

thanks for your repley.

(05-25-2010 09:52 PM)joximu Wrote:  maybe set all mail-accounts to status "change" and run the request manager - but also maybe better try first with one account :-)

I tried it before. Nothing changed by setting the parameter to 'change' or 'toadd'.

Quote:try to rename the smtp.conf (and deactivate authdaemon - postfix is able to handle the SASL things alone).

Really? postfix handels the sasl itself? Thats new to me, good to know !

Quote:Have a look at /etc/sasldb2 (a good text viewer), can you see the right passwords there?

I can see a lot of email addresses but the password is not really readable .-)

Jan
05-26-2010 12:32 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
hm - I have things like this in the sasldb2:
aassdd4.test1.als1dom1.tld
where aassdd4 is the pw for the mail test1@alsdom1.tld

maybe your sasldb2 has crypted/hashed passwords... then I don't know if postfix handles this... (but also authdaemon seems to have problems...)...

Important: ispcp should know the real passwords (crypted in the DB) - there's a command line program somewhere in the forum to get the cleartext passwords for every mail-user on the system. This may be usefull to check if this part is ok.

/J
05-26-2010 05:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #6
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Hi,

thanks for your help.
I did the migration on an other system now.
Had a lot of issues with ubuntu and the packages therfore I went to debian back .-)

BTW: Do you have the link to this program? I am too stupid for the search engine, couldn't find it .-)

BR
Jan
05-26-2010 11:52 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
http://isp-control.net/forum/thread-5495.html
05-27-2010 08:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
mr.x Offline
Development Team
*****
Dev Team

Posts: 232
Joined: Nov 2006
Reputation: 3
Post: #8
RE: VHCS 2.4.7.1 --> ispcp 1.0.2: Mail issue
Hi,

(05-27-2010 08:11 AM)joximu Wrote:  http://isp-control.net/forum/thread-5495.html

thanks a lot !
I used the wrong words in the search engine .-)

Br
jan
05-27-2010 05:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)