On Mon, Jul 16, 2001 at 02:36:57PM +0200, Fluetsch Peter wrote:
> mailReplytext: VGhpcyBpcyBhIHRlc3Q=
>
> I receive a mail with VGhpcyBpcyBhIHRlc3Q= instead of "This is a test".
> Any hints? I use qmail-ldap-1.03-20010301
Hmm, works fine for me. I'm using a function similar to the following:
$vals{"mailReplyText"}=$_[2];
if ( $_[1] ) {
$vals{"deliveryMode"}="reply";
} else {
$vals{"deliveryMode"}="";
}
$ldap = Net::LDAP->new($ldapHost) or die "$@";
[...]
$dn=$msg->entry(0)->dn;
$msg = $ldap->bind(dn => $ldapDN_ADM, password => $ldapPW);
$msg = $ldap->modify($dn, replace => { %vals });
$ret=$msg->code;
}
return $ret;
--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)