Questions around moving from 2.2.12 to 2.4.12

Stefan G. Weichinger lists at xunil.at
Wed Feb 29 14:55:39 EST 2012


Am 29.02.2012 18:48, schrieb Patrick Boutilier:

> rsync will only sync over newer files and files that have changed. I 
> would use --delete as you don't want mails that have been deleted on
> the live server to remain on the new server.

Yes, sure, will do.

>> And I would have to convert the deliver.db once more, correct?
> 
> Or just ignore it and let Cyrus create a new one when it starts.

OK, so I will skip that one.

-

My current problem is configuring saslauthd.

Both servers are configured to use pam_mysql (for imap/pop/smtp) and
talk successfully to the db on the new server.

IMAP works fine on both.

Also both Postfixes talk to the new db.

Only saslauthd on the new server is still pointing at the old db on the
old server.

I have

 /usr/sbin/saslauthd -a rimap -O 10.1.0.3

which works successfully.

(10.1.0.3 is the VPN-IP of the old box, .4 the new one)

While

/usr/sbin/saslauthd -a rimap -O 10.1.0.4

or

/usr/sbin/saslauthd -a rimap -O 127.0.0.1

or

/usr/sbin/saslauthd -a pam (-r)

don't work.

Any new behavior in the newer cyrus-sasl?


# smtpd.conf

mech_list: PLAIN LOGIN
pwcheck_method: saslauthd

same as on the old box ... hmm.
cyrus-imapd.conf was also copied and contains:

sasl_pwcheck_method: saslauthd
sasl_mech_list: plain login
sasl_log_level: 1

---

logs say

Feb 29 20:34:01 postler imap[27651]: accepted connection
Feb 29 20:34:01 Feb 29 20:34:01 postler imap[27651]: accepted connection
Feb 29 20:34:01 postler saslauthd[27647]: do_auth         : auth
failure: [user=oop4xxy] [service=imap] [realm=] [mech=rimap]
[reason=remote server rejected your credentials]
Feb 29 20:34:01 postler imaps[26301]: badlogin: mail.oops.co.at
[213.129.238.225] plain [SASL(-13): authentication failure: Password
verification failed]postler saslauthd[27647]: do_auth         : auth
failure: [user=oop4xxy] [service=imap] [realm=] [mech=rimap]
[reason=remote server rejected your credentials]
Feb 29 20:34:01 postler imaps[26301]: badlogin: mail.oops.co.at
[213.129.238.225] plain [SASL(-13): authentication failure: Password
verification failed]

exactly the same pw works when I point saslauthd against the old
imap-server.

Is some encryption my problem?

pam_mysql package on new server has (gentoo-style) USEflags "openssl
sasl ssl" .... sounds promising ...


Now this is the last single thing needing the old DB ...

Thanks all, Stefan


More information about the Info-cyrus mailing list