LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2003, 10:06 AM   #1
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Rep: Reputation: 0
Unhappy Sendmail... help..... >_<


First of all, as I am not good in English, please forgive my poor words...

I installed sendmail and using no-ip.com for my machine domain.

I can send mail using my server "sammysam.no-ip.com" but it can't receive any mail even I closed the firewall and edit the following lines in sendmail.mc

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

to produce the new sendmail.cf.

I can use openwebmail to send mail! But no mail can be received for any users.....

I received the following message:
Code:
Return-path: <>
Envelope-to: sammy@sammysam.com
Delivery-date: Tue, 06 May 2003 07:00:32 -0700
Received: from [216.148.213.132] (helo=smtp.mailix.net)
	by mx.mailix.net with esmtp (Exim 3.36 #1)
	id 19D2zg-0007H4-00
	for sammy@sammysam.com; Tue, 06 May 2003 07:00:32 -0700
Received: from nobody by smtp.mailix.net with local (Exim 4.01)
	id 19D24F-0002Re-00
	for sammy@sammysam.com; Tue, 06 May 2003 06:01:11 -0700
X-Failed-Recipients: sammysam@sammysam.no-ip.com
From: Mail Delivery System <Mailer-Daemon@smtp.mailix.net>
To: sammy@sammysam.com
Subject: Mail delivery failed: returning message to sender
Message-Id: <E19D24F-0002Re-00@smtp.mailix.net>
Date: Tue, 06 May 2003 06:01:11 -0700

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  sammysam@sammysam.no-ip.com
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------

Return-path: <sammy@sammysam.com>
Received: from [61.15.79.41] (helo=sampc01)
	by smtp.mailix.net with asmtp (Exim 4.01)
	id 19D249-0002RJ-00
	for sammysam@sammysam.no-ip.com; Tue, 06 May 2003 06:01:06 -0700
Message-ID: <011601c313d7$f18864d0$157ba8c0@sampc01>
From: "Sammy Sam" <sammy@sammysam.com>
To: <sammysam@sammysam.no-ip.com>
Subject: test
Date: Tue, 6 May 2003 22:01:01 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0113_01C3141A.FB63E900"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

This is a multi-part message in MIME format.

------=_NextPart_000_0113_01C3141A.FB63E900
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable
I am using a router but already open the port 25

What's wrong..... help!!!! I used several days for it..... I am getting crazy now~~~

Thank you very much for your kindly help!!
 
Old 05-06-2003, 11:19 AM   #2
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Well, if you want to use your mail server to send mail from any host other than the box sendmail is running on, then remove that line from your MC:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
That means it will only listen on 127.0.0.1 (localhost).

I am gathering that no mail is being received for the no-ip.com domain on your box, correct? If so, make sure no-ip.com exists in:
/etc/mail/local-host-names

This tells that it should deliver all mail for that domain to a local user.
 
Old 05-06-2003, 11:49 AM   #3
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally posted by td3201

I am gathering that no mail is being received for the no-ip.com domain on your box, correct? If so, make sure no-ip.com exists in:
/etc/mail/local-host-names

This tells that it should deliver all mail for that domain to a local user.
Yes, my problem is only on receiving mail for the no-ip.com domain. I have already added those names in the local-host-names file like
Code:
localhost
sammysam.no-ip.com
no-ip.com
sammysam
Is it right? Any punctuation needed? Thanks for your help!!
 
Old 05-06-2003, 11:54 AM   #4
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
That should be sufficient. try sending an email to a user on your box at the no-ip.com domain and check /var/log/maillog to see the error messages, if any.
 
Old 05-07-2003, 10:10 AM   #5
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally posted by td3201
That should be sufficient. try sending an email to a user on your box at the no-ip.com domain and check /var/log/maillog to see the error messages, if any.
Thank you very much for your kindly help... But I still can't solve it... I check the maillog but nothing special. A lot of "TO" mail (send out) log and a few "FROM" (receive) log. All "FROM" log are local mail.... I still can't send mail to sammysam@sammysam.no-ip.com.... but I can use this account to send out mail..... >_< SENDMAIL is too hard to configure.....
 
Old 05-07-2003, 10:14 AM   #6
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Well, do you have an MX set up for this subdomain?
 
Old 05-07-2003, 10:28 AM   #7
ssrikant
Member
 
Registered: Apr 2003
Location: US
Posts: 74

Rep: Reputation: 15
may be u are using same machine as name sever and mail server in that case make alias for the host and change the mx and ns with the alias this shuld fix your problem of not receiving the mails but not completely ...u cud find the messages sent in the /var/spool/mqueue with strange names as q349HW090284 being delievered...thats where i am stuck with ...i think the problem is in your dns config files
 
Old 05-07-2003, 10:35 AM   #8
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by td3201
Well, do you have an MX set up for this subdomain?
What's this????

I don't know what is MX set up.... Sorry....
 
Old 05-07-2003, 10:36 AM   #9
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ssrikant
may be u are using same machine as name sever and mail server in that case make alias for the host and change the mx and ns with the alias this shuld fix your problem of not receiving the mails but not completely ...u cud find the messages sent in the /var/spool/mqueue with strange names as q349HW090284 being delievered...thats where i am stuck with ...i think the problem is in your dns config files
I don't know how to set name server... Therefore, I really don't know what's wrong...
 
Old 05-07-2003, 10:40 AM   #10
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Ok, is no-ip.com your real domain or just something you made up for security reasons?
 
Old 05-07-2003, 11:09 AM   #11
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by td3201
Ok, is no-ip.com your real domain or just something you made up for security reasons?
no-ip.com is a dynamic ip domain name service from www.no-ip.com. I apply a domain name "sammysam.no-ip.com" from it and install the update client which will update by ip to www.no-ip.com to map my domain name. I don't have any DNS (I even don't know how to set it)....

Thank you very much!! You are very helpful and kind~~~
 
Old 05-07-2003, 11:17 AM   #12
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Ok, then you need to find out if that service will forward mail for that domain.
 
Old 05-07-2003, 11:19 AM   #13
sammysam
LQ Newbie
 
Registered: May 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by td3201
Ok, then you need to find out if that service will forward mail for that domain.
Oh I see... Then, can I use the ip for the mail server? just like can I send mail to sammysam@61.15.79.41?

thanks~~
 
Old 05-07-2003, 11:31 AM   #14
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
You need to point your domain name to your mail server. 'MX' is the keyword here.
 
Old 05-09-2003, 09:43 AM   #15
SSBN
Member
 
Registered: Apr 2003
Posts: 80

Rep: Reputation: 15
There is a place on the no-ip.com web page under your domain name where you enter your server info. IE MX record. I don't now how to set up sendmail yet but I have seen the place you enter he mx record on no-ip.com. Good luck. I am about to tackle sendmail myself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 08:55 AM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 03:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 02:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 12:47 PM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 10:57 PM


All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration