Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange problem when sending mail from CGI

Status
Not open for further replies.

c4n

Programmer
Mar 12, 2002
110
SI
I have setup a CGI mailing list for my friend on my Apache web server. He has more than 2000 subscribers but the problem is quite a few addresses are wrong ( = not working).

When he sends out a message I (I guess because I own the domain) get back about 100 Returned mails saying "Local configuration error - user unknown or does not exist".

Is there a way to setup the mail program (in my case the "standard" sendmail program) or the CGI script so it returns the error messages to my friend instead of me?

I tried:

print MAIL "Reply-to: myfriend@email.com";
...

no effect

when I try (for local configuration)

print MAIL &quot;Return-Path: <mydomain>&quot;;
...

the script doesn't send any messages.


Any ideas?

Thanks!
 
I think there is an &quot;Errors-to:&quot; header that you can use. See if you can find a site that details all the mail headers and check it out. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top