Re: [courier-users] authldap problem when not using LDAP_AUTHBIND

2009-02-02 Thread Sebastiaan van Erk
Hi, Just to follow up on the previous email, I checked the courier source code, and it indeed seems to be the case that Courier authldap can only handle 4 byte SSHA salts instead of arbitrary length salts: in sha1/sha1.h typedef unsigned char SSHA_RAND[4]; in checkpasswordsha1.c (I added

[courier-users] Courier as relay mail server

2009-02-02 Thread Lindsay Haisley
Just so I have this straight, would someone check me out on this procedure. What I want to do is move the destination for a bunch domain names from one machine - machine A - to another on a different network - machine B. After the move, I want any residual mail in the Internet mail system

Re: [courier-users] Courier as relay mail server

2009-02-02 Thread Lindsay Haisley
On Mon, 2009-02-02 at 17:42 -0600, Lindsay Haisley wrote: 1. Set up machine B in DNS-land as the low number (preferred) MX for each such domain name for which I want mail relayed. 2. Make sure that mail to each mailbox or alias in said domain on machine B is deliverable locally, just as it

Re: [courier-users] Courier as relay mail server

2009-02-02 Thread Sam Varshavchik
Lindsay Haisley writes: Just so I have this straight, would someone check me out on this procedure. What I want to do is move the destination for a bunch domain names from one machine - machine A - to another on a different network - machine B. After the move, I want any residual mail in the

Re: [courier-users] authldap problem when not using LDAP_AUTHBIND

2009-02-02 Thread Sam Varshavchik
Sebastiaan van Erk writes: I couldn't find any official spec of SSHA on the size of the salt. However SquirrelMail generates 8 byte salts, and openldap (slapd) itself accepts them. I don't think there's an official spec. All examples I could find use 4 byte salts, and that's what

Re: [courier-users] Courier as relay mail server

2009-02-02 Thread Lindsay Haisley
Thanks, Sam. A little experimentation revealed exactly what you told me to be the way things work, and I got my test domain to forward to the best-preference MX with no problems. The domains in question are not listed in locals, but are part of my virtual mail system. On Mon, 2009-02-02 at

Re: [courier-users] authldap problem when not using LDAP_AUTHBIND

2009-02-02 Thread Tim Lyth
Sebastiaan van Erk wrote: $ java SSHATest KmNq1UZiKuQkaGSB/iAENtKcsv3zqEd+ encoded: KmNq1UZiKuQkaGSB/iAENtKcsv3zqEd+ password hash: 2a636ad546622ae424686481fe200436d29cb2fd salt: f3a8477e Enter password: aaa password hash: 2a636ad546622ae424686481fe200436d29cb2fd encoded:

Re: [courier-users] authldap problem when not using LDAP_AUTHBIND

2009-02-02 Thread Sebastiaan van Erk
Tim Lyth wrote: Sebastiaan van Erk wrote: $ java SSHATest KmNq1UZiKuQkaGSB/iAENtKcsv3zqEd+ encoded: KmNq1UZiKuQkaGSB/iAENtKcsv3zqEd+ password hash: 2a636ad546622ae424686481fe200436d29cb2fd salt: f3a8477e Enter password: aaa password hash: 2a636ad546622ae424686481fe200436d29cb2fd