postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
I use Postfix client on a Centos 5.5 Trixbox. Mail messages (voicemail notification) send to my password secured mailserver with Exim are refused. When I decode the used login credentials I see that only the first 14 characters of the username are used. My sasl_password looks like (yes i have c

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
The client is not properly encoding the credentials, what SASL Mechanism is selected? -Dieter Hello Dieter, Thanks for the reply. The output of postconf -A is cyrus. I tried to login with Tls and in auth plain (here I was able to retrieve the password). If you need more info please let me k

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
On 29-12-10 09:51, Rob van Dam wrote: I use Postfix client on a Centos 5.5 Trixbox. Mail messages (voicemail notification) send to my password secured mailserver with Exim are refused. When I decode the used login credentials I see that only the first 14 characters of the username are used. My

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
So your login is based on cyrus-sasl libraries and mechanism PLAIN, the mechanism PLAIN requires three arguments,\0\0, if no authorization is requested, the authentication string has to be set twice and the whole string has to be base64 hashed. something like this one: Zm9vAGZvbwBiYXI= just d

Re: postfix client sends partial username/password to server

2010-12-29 Thread Rob van Dam
This cut off identity string reminds me of the userID restriction to 7 characters on older Linux systems, something weird is going on on your system. -Dieter I did post a message on the Trixbox forum too. Perhaps other Trixbox users have the same problems as I have. How bad is it to use the pos

Re: postfix client sends partial username/password to server

2010-12-30 Thread Rob van Dam
As Wietse pointed out my network capture program only captures the headers of the tcp packets. That made me draw the wrong conclusion about the partial username. I will start a new threat about this. Hint: if you capture with tcpdump use the -s 0 option to capture the full tcp packages

with sasl authentication the username in sent twice

2010-12-30 Thread Rob van Dam
I want to relay my mail from a Trixbox (Centos 5.5) pbx to my password protected smtp server. The problem is that acces from the trixbox is always denied, because Postfix tries to login with username:username:password I installed Postfix on an Ubuntu distro, and here the relaying works. Postf

Re: with sasl authentication the username in sent twice

2010-12-30 Thread Rob van Dam
On 30-12-10 20:59, Victor Duchovni wrote: > > http://www.postfix.org/postconf.5.html#send_cyrus_sasl_authzid > Thanks for the reply! When I run postconf I can see that send_cyrus_sasl_authzid is set to no in Ubuntu. In Trixbox this option is not set at all. Setting this option in main.cf on

Re: with sasl authentication the username in sent twice

2010-12-30 Thread Rob van Dam
On 30-12-10 21:17, Rob van Dam wrote: > On 30-12-10 20:59, Victor Duchovni wrote: > > > > http://www.postfix.org/postconf.5.html#send_cyrus_sasl_authzid > > > Thanks for the reply! > > When I run postconf I can see that send_cyrus_sasl_authzid is set to no in

Re: with sasl authentication the username in sent twice

2010-12-30 Thread Rob van Dam
What is the output from postconf mail_version As documented this parameter was introduced with Postfix 2.4.4. Wietse Hello Wietse, I just posted that my Postfix was too old, when I got this mail. I have Postfix version 2.3.3. Is there a workaround for older versions? Rob

Re: with sasl authentication the username in sent twice

2010-12-30 Thread Rob van Dam
On 30-12-10 21:44, Victor Duchovni wrote: > On Thu, Dec 30, 2010 at 09:32:48PM +0100, Rob van Dam wrote: > >>> What is the output from >>> >>> postconf mail_version >>> >>> As documented this parameter was introduced with Postfix 2.4.4. &

Re: with sasl authentication the username in sent twice

2010-12-31 Thread Rob van Dam
out what actually the problem was. Rob On 30-12-10 22:25, Rob van Dam wrote: On 30-12-10 21:44, Victor Duchovni wrote: > On Thu, Dec 30, 2010 at 09:32:48PM +0100, Rob van Dam wrote: > >>> What is the output from >>> >>> postconf mail_version >>