[Dovecot] [checkpassword] I can't get a password from fd3
Durk Strooisma
durk at kern.nl
Mon Jan 12 21:54:50 EET 2009
> On Mon, 2009-01-12 at 18:31 +0100, Durk Strooisma wrote:
>> #!/bin/bash
>>
>> read -d '\0' -r -u 3
>
> Are you sure this is supposed to work? \0 character is an end-of-string
> character in C language, and I wouldn't be surprised if read simply
> didn't support it as delimiter.
Well if I try to read everything, without delimiting using \0, I don't get
more data...
Durk
More information about the dovecot
mailing list