LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail... help..... >_< (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-help-_-58372/)

sammysam 05-06-2003 09:06 AM

Sendmail... help..... >_<
 
:newbie: 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!!:confused:

td3201 05-06-2003 10:19 AM

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.

sammysam 05-06-2003 10:49 AM

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!! :D

td3201 05-06-2003 10:54 AM

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.

sammysam 05-07-2003 09:10 AM

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.....

td3201 05-07-2003 09:14 AM

Well, do you have an MX set up for this subdomain?

ssrikant 05-07-2003 09:28 AM

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

sammysam 05-07-2003 09:35 AM

Quote:

Originally posted by td3201
Well, do you have an MX set up for this subdomain?
What's this????:confused:

I don't know what is MX set up.... Sorry....

sammysam 05-07-2003 09:36 AM

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... :confused:

td3201 05-07-2003 09:40 AM

Ok, is no-ip.com your real domain or just something you made up for security reasons?

sammysam 05-07-2003 10:09 AM

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~~~:p

td3201 05-07-2003 10:17 AM

Ok, then you need to find out if that service will forward mail for that domain.

sammysam 05-07-2003 10:19 AM

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~~

td3201 05-07-2003 10:31 AM

You need to point your domain name to your mail server. 'MX' is the keyword here.

SSBN 05-09-2003 08:43 AM

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.


All times are GMT -5. The time now is 07:00 PM.