LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   another sendmail misconfiguration? (https://www.linuxquestions.org/questions/linux-networking-3/another-sendmail-misconfiguration-89810/)

GraemeK 09-06-2003 04:28 AM

another sendmail misconfiguration?
 
Hi

in my logs i now see:

--------------------- sendmail Begin ------------------------



1 messages returned after 4 hours

Unresolveable or non-existent domains:
graeme (missing): 20 Times(s)

---------------------- sendmail End -------------------------

anyone know why the user (me) is unresolveable!!?!!

david_ross 09-06-2003 06:34 AM

IT isn't actually taling about a user it talks about "non-existent domains" meaning the bit after the "@". It sounds like a message was sent to a domain called graeme.

How I don't know. If you get these at regular intervals then maybe you have a script mailing you at a wrong address.

GraemeK 09-06-2003 07:23 AM

maybe something to do with the aliases?

that would send all logs and root's mail to me? maybe its getting confused?

i havent subscribed to any scripts etc.

G

david_ross 09-06-2003 07:29 AM

Have you set it to do that? What did you add to /etc/aliases?

GraemeK 09-06-2003 07:59 AM

where it says which user do you want to receive root's email i put mine.

that works fine....all roots stuff comes to me.

but maybe its doing something werid and saying i'm a domain rather than a user?

david_ross 09-06-2003 08:14 AM

I wouldn't have thought so but the easiest way to find out would be to disable that alias and see if the problem persists.

GraemeK 09-06-2003 02:01 PM

thanx

i'll have a look...

G

Sticky Toejam 09-08-2003 02:58 PM

You need to look at the following:

1a. Do you have your domains in /etc/mail/sendmail.cw or
1b. Do you have your domain defined in the Cw variable
in /etc/mail/sendmail.cf
2. Do you have your domain(s) defined in /etc/hosts
3. Do you have your domains defined in DNS?

The unresolvable host response - especially if it is doing this on _your_ box - is ususally an indication that sendmail doesn't know what the domain name is on the box itself. Adding all permutations of your domain name in /etc/mail/sendmail.cw, stopping, and restarting sendmail may fix it.

Given "domain.blah" your sendmail.cw entries may consist of the following (assuming your DNS points the various records to this machine)

------------------- sendmail.cw example ---------------
localhost
domain.blah
ns1.domain.blah
mail.domain.blah
smtp.domain.blah
www.domain.blah
--------------------------------------------------------------

You will then need to confirm that you have these names either in /etc/hosts or in your DNS. If you run DNS but not on this box then edit /etc/resolv.conf and add your nameservers.


All times are GMT -5. The time now is 06:19 AM.