Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
To be honest I don't know if I'm in the correct section for this subject but I think this is most relevant.
My question is about mailing with sendmail which won't work. I have seen some other topics about this subject but because I'm pretty new to Linux so I thought of opening a new threat because I'm not getting any further with the other topics.
I have a server where I try to send mails from but that won't work.
As I don't know exactly where to look for I shall try to be as clear as possible
From MAILER-DAEMON@aseg04 Mon Jan 23 14:49:07 2012
Date: Mon, 23 Jan 2012 14:49:07 +0100
From: Mail Delivery Subsystem <MAILER-DAEMON@aseg04>
Content-Type: multipart/report; report-type=delivery-status;
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
The original message was received at Mon, 23 Jan 2012 14:49:07 +0100
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
(reason: 550 Host unknown)
----- Transcript of session follows -----
550 5.1.2 <******@gmail.com>... Host unknown (Name server: 172.30.2.13: host not found)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by aseg04 (8.13.8/8.13.8) with ESMTP id q0NDn70f006833
for <******@gmail.com>; Mon, 23 Jan 2012 14:49:07 +0100
Received: (from root@localhost)
by localhost.localdomain (8.13.8/8.13.8/Submit) id q0NDn1fh006832
for ******@gmail.com; Mon, 23 Jan 2012 14:49:01 +0100
Date: Mon, 23 Jan 2012 14:49:01 +0100
From: root <email@example.com>
test mail again
I am aware that these 2 are pieces of data are not the same. That is because I'm not able to find the mail on the server anymore because the mailbox of user root contains over 70000 mails But they cover the same issue.
But anyway I hope this gives enough information to help me solve the problem.
Is there please somebody who can help me with this?
;; ANSWER SECTION:
google.com. 350 IN MX 50 alt4.aspmx.l.google.com.
google.com. 350 IN MX 20 alt1.aspmx.l.google.com.
google.com. 350 IN MX 10 aspmx.l.google.com.
google.com. 350 IN MX 30 alt2.aspmx.l.google.com.
google.com. 350 IN MX 40 alt3.aspmx.l.google.com.
;; ADDITIONAL SECTION:
alt4.aspmx.l.google.com. 43 IN A 184.108.40.206
alt1.aspmx.l.google.com. 43 IN A 220.127.116.11
aspmx.l.google.com. 43 IN A 18.104.22.168
alt2.aspmx.l.google.com. 43 IN A 22.214.171.124
alt3.aspmx.l.google.com. 43 IN A 126.96.36.199
Check that /etc/nsswitch.conf has a line that begins hosts: and has dns on the line, also check /etc/resolv.conf to ensure that 172.30.2.40 is listed as a nameserver, alternatively post those files here.
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
# Legal entries are:
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis