hi,

this is an output of qmail-ldaplookup

eliveryProgramPath: no entry in the database
                qmailDotMode: no entry in the database
                deliveryMode: localdelivery,reply
                mailReplyText: dit is een test om het probleem te lokaliseren, dit

I have mailReplyText set. is this a bug ?  
maybe it is time to learn C..

Lucio Jankok


On Thu, May 03, 2001 at 04:45:17PM -0600, Mark Belnap wrote:
:   I just found this problem the other day on my system.  You wouldn't
: happen to have mailReplyText empty for that entry would you?  In any
: case this is an error that shouldn't cause a core dump, but should be
: handled like it appears the code tries to do.
:  
:   I'm using an old ldap-patch (20001003 I think?) with local mods so the
: line numbers won't match up, but here is a fix that I used to modify
: qmail-local.c
: 
: 660a661,663
: >   /* rplytxt is needed so that 's' won't get clobbered and cause big problems
: >      when mailReplyText does not exist  BUG00525 */
: >  char *rplytxt;
: 875d877
: < 
: 891c893
: <            if ( s = env_get(ENV_REPLYTEXT) ) {
: ---
: >            if ( rplytxt = env_get(ENV_REPLYTEXT) ) {
: 896c898
: <                sayit("replytext ",s,str_len(s));
: ---
: >                sayit("replytext ",rplytxt,str_len(rplytxt));
: 
: 
: 
: Lucio Jankok wrote:
: > 
: > hi,
: > 
: > maybe I am just to sleepy to see that I am doing something wrong..
: > when I set the deliverymode to localdelivery,reply and also set a
: > mail forwarding address I will have qmail-local core dumps on me.
: > my expectation is to have qmail-ldap store a local copy of the mail,
: > send the sender a reply text and send a copy to the forward address.
: > but the only thing it does is making qmail-local core dumps on
: > me.. the mail will not be delivered to the reciptient and also not
: > forwarded..
: > 
: > I am lost here..
: > 
: > Lucio Jankok

Reply via email to