Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site bpa.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!grkermit!masscomp!clyde!akgua!sb1!sb6!bpa!espo From: espo@bpa.UUCP Newsgroups: net.sources Subject: Changes to return-to-sender mail.c Message-ID: <190@bpa.UUCP> Date: Sat, 22-Oct-83 09:09:01 EDT Article-I.D.: bpa.190 Posted: Sat Oct 22 09:09:01 1983 Date-Received: Mon, 24-Oct-83 23:40:07 EDT Organization: Wayne, Pennsylvania Lines: 37 TO conform with the RFC822 format for mail headers, the following changes to the return-to-sender mail source I posted earlier must be made. The following three (3) lines will do it. ** Change From ** for( p = "Return Address: "; *p ) ** To ** for( p = "Return-Address:"; *p ) ** Change From ** strncpy(retaddr,&line[16],strlen(&line[16])-1); ** To ** strncpy(retaddr,&line[15],strlen(&line[15])-1); ** Change From ** fprintf(rmf, "Return Address: %s\n", retaddr); ** To ** fprintf(rmf, "Return-Address:%s\n", retaddr); Bob Esposito...bpa!espo