Forum OpenACS Q&A: mail problem on email-verification...

I have a weird sendmail problem:

When a user registers at our platform he has to verify his email
address:

From time to time I get messages like the following, although the
new user's email address is vaild! (I exchanged his email
address with newuser by the way...)

Might this be some configuration error on my side?

( How can I format the message I got from my server, so that it
appears on this bboard like it originally was??)

The original message was received at Tue, 23 Oct 2001
10:18:01 +0200

from IDENT:nsadmin@arasis [127.0.0.1]

  ----- The following addresses had permanent fatal errors -----

<mailto:newuser@gmx.de>

  ----- Transcript of session follows -----

... while talking to mx0.gmx.net.:

<blockquote>>> MAIL From:<mailto:webmaster@localhost.localdomain>
</blockquote>

<<< 552 {mx009-rz3} Cannot resolve your domain - ungueltiger

Domain-Name in Adresse

554 <mailto:newuser@gmx.de>... Service unavailable

------------------------------------------------------------------------

Attachment: Message/delivery-status

Reporting-MTA: dns; localhost.localdomain

Received-From-MTA: DNS; arasis

Arrival-Date: Tue, 23 Oct 2001 10:18:01 +0200

Final-Recipient: RFC822; mailto:newuser@gmx.de

Action: failed

Status: 5.3.4

Remote-MTA: DNS; mx0.gmx.net

Diagnostic-Code: SMTP; 552 {mx009-rz3} Cannot resolve your
domain -

ungueltiger Domain-Name in Adresse

Last-Attempt-Date: Tue, 23 Oct 2001 10:18:01 +0200

------------------------------------------------------------------------

Attachment: Forwarded Message

To:    mailto:newuser@gmx.de

From:    mailto:webmaster@localhost.localdomain

Subject:    Willkommen auf arasis

Date:    Tue, 23 Oct 2001 08:18:01 GMT

Um ihre Registrierung zu bestätigen, gehen sie bitte auf

http://www.arasis.de/register/email-confirm.tcl?oid=xxxxxx

Collapse
Posted by Bruno Mattarollo on

Hello David

If your message above hasn't been edited, then it's a configuration issue, I guess, since your email is coming from:From: webmaster@localhost.localdomain I guess that's why your MTA complains.

Look into the parameters or in the source for the email-confirm procedure to see where it takes the FROM and change the domain from localhost.localdomain to your own domain.

Hope this helps

Collapse
Posted by David Kuczek on
Hello Bruno,

I only edited the users email address..

I also thought about this localhost thing, but most of the emails
are being sent! I will change it to our domain anyways...

Thanks for the quick reply...

Collapse
Posted by David Kuczek on
What would be the correct /etc/hosts insert on RedHat 6.2?

127.0.0.1      arasis                  arasis.de

or

127.0.0.1      arasis.de              arasis

or

127.0.0.1      arasis                  arasis.de          arasis

Collapse
Posted by Bruno Mattarollo on

Hello David

I belvieve that 127.0.0.1 is the loopback interface and it should look like:

127.0.0.1   localhost

You should also have an entry with your IP address like:

xxx.xxx.xxx.xxx   my.domain.org myaliasname

and that should work if you have all the network settings correctly (like hostname /etc/sysconfig/network and so on.

Hope this helps.