K310490@AEARN.BITNET (Gratzl Georg) (03/29/90)
My name is Georg. At the moment I am working on a program, which should connect the mail-systems of the VAXEN & Apollos on our Ethernet. For this purpose I am using the system calls from the Technet package (Apollo/Technet V1.1). Although the prototypes seem to work,( under certain conditions the mail transfer VAX-Apollo, Apollo-VAX is possible ) I have a lot of problems. A.) VAX-Apollo: After the mail is brought from the VAX to a temporary file on the Apollo I want to pipe this file into the sendmail process which should deliever the mail to the addressee. /* build command */ sprintf(buffer, "/usr/lib/sendmail -oem -f \"%s\" %s", from ,to); /* open pipe to sendmail */ sm = popen(buffer, "w"); . . . However,the sendmail process starts, delivers the mail correct and doesn't stop.If the process doesn't stop the mail program on the VAX is hanging in the status CTRL/Z(EXIT). B.) Apollo-VAX I have written a mailer, which transports the files from the Apollo to the Vax in a correct manner. However again I have the problems to connect the mailer to the sendmail process. I have tried to change the sendmail.cf file in the /usr/lib directory. For instance, just to see whether my mailer program is started by sendmail, I changed in the "Mlocal" mailer declaration of the sendmail file the P and A arguments, in a way to be conform with my mailer. However it didn't work. As I spent so many hours without any success I ask those of you, who have experience, to help me. Many thanks in advance. Georg Gratzl , K310490 at AEARN.BITNET RISC (Research Institute for SYMBOLIC COMPUTATION) , AUSTRIA