Operating System - Linux
1838661 Members
13117 Online
110128 Solutions
New Discussion

sendmail or DNS or permissions

 
Marek Gorecki
New Member

sendmail or DNS or permissions

I got two boxes in the place where I work which are suppose to talk to each other. One is running Mac OS and Endura mail server. The other one is running linux Red Hat 6.2.
We set up web side of our company on linux box but all of our mail is still handle by Mac.
There are some forms to fill in on the web side (linux box) which are supposed to be belivered to user mail boxes (Mac box) but unfortunately they aren't.

On one of linux user account I've got a message:
---------- Forwarded message ----------
Date: Sun, 4 Nov 2001 02:42:15 -0500
From: Mail Delivery Subsystem
To: postmaster@xxxx.com, webmaster@xxxx.com
Subject: Returned mail: Local configuration error

The original message was received at Sun, 4 Nov 2001 02:42:14 -0500
from webmaster@localhost

----- The following addresses had permanent fatal errors -----
user@mail.xxxx.com

----- Transcript of session follows -----
553 mail.xxxx.com. config error: mail loops back to me (MX problem?)
554 user@mail.xxxx.com... Local configuration error

How can I solve this problem?
Is it sendmail or DNS?
dimonts are forever
3 REPLIES 3
Marco Paganini
Respected Contributor

Re: sendmail or DNS or permissions

Hello

This normally happens when the machine pointed to by the MX record (let's say domain.com) does not recognize itself as domain.com.

In this case, you should make sure that "domain.com" is listed inside the /etc/mail/lost-host-names file (sendmail >= 8.10) or /etc/sendmail.cw (sendmail < 8.10). You can also add the line "Cwdomain.com" to your sendmail.cf file (please, change domain.com to your actual domain name).

Don't forget to restart sendmail after this change is done.

Hope it helps.

Cheers,
Paga
Keeping alive, until I die.
Marek Gorecki
New Member

Re: sendmail or DNS or permissions

Hello again,

It was much more complicated but I appreciate you quick respond.
The whole idea was to pinpoint and check ever possible connection which of course sendmail has with the rest of the files in linux box. The clue in this case is whole /etc folder especialy
files which are deallin' wiht hosts file. Of course diggin' in configs is one thing. Make the whole system work is another.

thanks Paga anyway
dimonts are forever
Juin
New Member

Re: sendmail or DNS or permissions

There is two ways to solve the problem :

- The linux needs to send mails directly to Internet.
Update your DNS server like this

mail.xxx.com IN MX 0 mac.xxx.com
mac.xxx.com IN A @IP-mac

Don't forget to reload the DNS and be carefull about the TTL (propagation delay)

- The linux doesn't needs to send e-mail outside and the mac is the mail gateway.

update your /etc/sendmail.cf on the linux with the following

DSmac.xxx.com

or
DRmac.xxx.com (if you run and old version of sendmail)

Don't forget to reload sendmail