sendmail/formmail problems
I have had problems getting sendmail/formmail to work on my Linux Server (RH8.0).
Acutally, formmail is configured properly with the correct paths to sendmail. Entering data
into a page calling formmail.pl produces no errors. All other CGI scripts on my site run
correctly. Since it is on an internal network using DHCP from my ISP, you cannot access it
via the Internet, or I'd provide the URL ~ sorry.
This is my path to sendmail and I have verified its validity with 'which sendmail'
$mailprog = '/usr/sbin/sendmail -i -t';
I think the problem lies in with my sendmail configuration - I have edited sendmail.mc, run
the proper m4 command to update sendmail.cf with only two changes:
Uncommented this line and updated it with my external POP server (I am not running POP, SMTP
or DNS locally):
dnl define(`SMART_HOST',`smtp.your.provider')
and also COMMENTED this line:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
I'd look at errors, but am unsure to the name of the log these are written.
Any help would be appreciated!
|