[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Problems with CGI / sendmail



Hi folks,

I have trouble sending eMail via CGI/sendmail. Mail to local users
will be delivered. Mail to non-local users is rejected by the
mail-server of the recipient because the FROM address in any outgoing
mail is admin@xxxxxxxxxxxxxxxxxx and webespri.domke.net is not a valid
host (no DNS entry). "webespri" is the server's name, given by my provider.

The CGI script as itself is running fine. The script runs fine on
other servers (non RAQ).

An example:

--- cut---

&send_mail(\"$email_of_sender_to_user\",\"$email_of_sender\",
\"$email_subject_to_user\", \"$email_body_to_user\");

--- cut ---

Every variable has a defined value. \"$email_of_sender_to_user\" is
the senders address but this seems to be replaced by the sendmail program.

Error message:

The original message was received at Mon, 29 May 2000 12:53:16 +0200
from admin@localhost

   ----- The following addresses had permanent fatal errors -----
ralph.weigmann@xxxxxx
    (expanded from: agentur@xxxxxxxxxxxxx)

   ----- Transcript of session follows -----
... while talking to mx0.gmx.net.:
>> MAIL From:<admin@xxxxxxxxxxxxxxxxxx>
<<< 550 Cannot resolve your domain - ungueltiger Domain-Name in
Adresse 554 ralph.weigmann@xxxxxxxxx Service unavailable

This happens with every CGI I assign to send a mail via sendmail.
Sometimes (different CGI's) there is no error message but the mail
will not be delivered to non-local users.

What did I make wrong?

 Ralph