Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I run a site that sends email once in a while to registered users for reasons such as lost passwords. The problem is that if a person happens to have an email account with the same domain name as my site (we offer free email under our domain name), the email gets sent to the account holder of the website (me). I contacted the server administrators at hypermart but they told me that i would have to ask some CGI experts. I use the unix sendmail program to send email. i need to know how i can get it to stop sending the emails to me and instead to their intended destination. (The To: field shows the person that the email was supposed to go to but for some reason it still sends them to me)

Replies are listed 'Best First'.
Re (tilly) 1: Sendmail problems
by tilly (Archbishop) on Aug 20, 2001 at 02:26 UTC
    Without seeing the code, I would have no idea why it is doing that. However I will recommend using Mail::Send rather than interacting with Sendmail directly.
Re: Sendmail problems
by synapse0 (Pilgrim) on Aug 20, 2001 at 02:18 UTC
    uhmm... a few clarifications to your post. People are here are Perl coders, not particularly CGI coders. Neither of which have anything to do with sendmail. And, you don't give enough information to even consider a fix.
    My suggestion, if you're using a CGI script to send out the emails, would be to contact the author of the script (or post snippets of relevent code so we can see what's going on), otherwise consult sendmail manuals, or maybe even SMTP info.
    In any case, I don't think Perl Monks is the place to get help for your problem.
    -Syn0