Forum Moderators: phranque

Message Too Old, No Replies

Defining email address for cgi processes

         

Lefty

2:52 pm on May 11, 2007 (gmt 0)

10+ Year Member



Our mail queue is full of messages sent from our Apache proxy server under the format apache@[machinename]

166DB477ADF* 2855 Fri May 11 02:03:36 apache@internalmachinename

Our machine is not a valid hostname, so some of our e-mails are bouncing. The CGI scripts are perl script that send email via piping output to sendmail.

Where are in process of switching code to the Mail perl module, but in general, how can we define the email address that a cgi process running under Apache uses? It is not using ServerAdmin.

phranque

10:35 pm on May 11, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i believe you should be providing the From header for sendmail.