It seems to me to be a permissionserror relating to sendmail but the ISP wont consider it untill I tell him the fault.
Can a really nice person assist me
thanks
Ian
You didn't mention: is this a script you wrote, or one of the commonly used scripts?
What do your logs say? Your sendmail log, web server log, and script output if it generates an error would be helpful to figure out exactly what is happening.
If it's one of the formmail variants, you generally have to specify in the script the allowed recipients, and allowed mailto domains.
LisaB
the error log on the server is as follows:-
example.co.uk: [19/Jan/2005:19:15:53 +0000] 217.xx.xx.xx - - "GET /trialformcg.htm HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:16:16 +0000] 217.xx.xx.xx - - "POST /cgi-bin/trialformcg.pl HTTP/1.1" 302 239 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:16:16 +0000] 217.xx.xx.xx - - "GET /success.html HTTP/1.1" 200 4381 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:16:16 +0000] 217.xx.xx.xx - - "GET /storage.css HTTP/1.1" 304 - "http://www.example.co.uk/success.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:16:16 +0000] 217.xx.xx.xx - - "GET /Graphic.gif HTTP/1.1" 304 - "http://www.example.co.uk/success.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:16:16 +0000] 217.xx.xx.xx - - "GET /storage.gif HTTP/1.1" 304 - "http://www.example.co.uk/success.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:19:59 +0000] 217.xx.xx.xx - - "POST /cgi-bin/trialformcg.pl HTTP/1.1" 302 239 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:20:00 +0000] 217.xx.xx.xx - - "GET /success.html HTTP/1.1" 200 4381 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:20:04 +0000] 217.xx.xx.xx - - "POST /cgi-bin/trialformcg.pl HTTP/1.1" 302 239 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
example.co.uk: [19/Jan/2005:19:20:04 +0000] 217.xx.xx.xx - - "GET /success.html HTTP/1.1" 200 4381 "http://www.example.co.uk/trialformcg.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
[edited by: jatar_k at 11:02 pm (utc) on Jan. 19, 2005]
[edit reason] generalized ip and site [/edit]
The first thing I would check would be the path to the sendmail program. To send an email, the script probably opens a pipe to the sendmail program and in order to do it, perl has to know the path to the sendmail program. On many servers, the path looks like this:
'/usr/sbin/sendmail -t'
Sometimes you'll see it without the '-t' at the end. Check your server's documentation, and it should give you the correct path to use.