sow@luthcad.UUCP (Sven-Ove Westberg) (07/31/87)
Description: Sendmail with IDA Sendmail Enhancements didn't return a receipt on a Sun. Repeat-By: Send a mail with the header fields Return-Receipt-To: <user> To: <user> Fix: Check if PostMasterCopy is defined. This is one of this annoying NULL pointers on Suns. Sven-Ove Westberg, CAD, University of Lulea, S-951 87 Lulea, Sweden. Tel: +46-920-91677 (work) +46-920-48390 (home) UUCP: sow@luthcad.UUCP or seismo!mcvax!enea!luthcad!sow ARPA: enea!luthcad!sow@seismo.css.gov *** savemail.c.ida Fri Jul 31 19:06:58 1987 --- savemail.c Fri Jul 31 19:19:54 1987 *************** *** 402,408 to = buf; for (q = returnq; q != NULL; q = q->q_next) { if (q->q_alias == NULL) ! if (strcmp(q->q_paddr, PostMasterCopy) == 0) cc = q->q_paddr; else { int len = strlen(q->q_paddr); --- 402,408 ----- to = buf; for (q = returnq; q != NULL; q = q->q_next) { if (q->q_alias == NULL) ! if (PostMasterCopy && strcmp(q->q_paddr, PostMasterCopy) == 0) cc = q->q_paddr; else { int len = strlen(q->q_paddr);