Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-28-2003, 04:29 AM
|
#1
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Rep:
|
Sendmail relay mail problem
What's up,everyone!
By the way,I am using Sendmail as my mail server.I use it and relay mail to my ISP mail server. (Because my ISP has blocked port 25) However,here's the problem.I can send e-mail to hotmail but others fail. I have consulted my ISP customer service but they don't know the answer. (The truth is that they are not willing to help)So,my problem is:
1.How comes my mail can only send to hotmail?
2.Is that ISP or my mail server fault?
3.I have used my ISP as my relay mail server on WINDOWS.It goes well,too.However,why can't I do it the same way on Linux?
Any suggestions or comments are appreciative!
Last edited by Swift&Smart; 10-28-2003 at 04:30 AM.
|
|
|
10-28-2003, 09:33 AM
|
#2
|
Member
Registered: Oct 2003
Posts: 66
Rep:
|
Any clues in your /var/log/maillog files?
|
|
|
10-28-2003, 10:37 AM
|
#3
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Thanks for your reply, dkloes.
Here's the log after I attempted to send a mail:
Oct 28 23:32:46 192 sendmail[8859]: h9SFWjPl008857: to=<myname@netscape.net>,
ctladdr=<root@mylinux> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay
, pri=30324, relay=mail.myisp.com. [218.102.48.122], dsn=2.0.0, stat=Sent (
ok 1067355166 qp 10334)
To my knowledge,it seems that my mail has been successfully sent out.However,it doesn't.
Thanks.I will try to figure out.
|
|
|
10-28-2003, 01:13 PM
|
#4
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
if you are trying to relay mail through your ISP then it is highly possible that it is being blocked because you ISP probably wouldnt want to be running an open mail proxy. Open mail proxies are bad, used by spammers to send spam. Any ISP will not want this. Your ISP would probably have to config their email servers to allow forwarding from your IP address.
Oh, if you called Customer support, they probably had no clue what u were talking about. I still dont understand why companies that run technical services let people with no technical background or training answer the phone. I guess it's because questions like yours are the exception and not the norm.
EDIT:
i just saw where u said it worked in windows. hmmmmm. Maybe your ISP does allow relaying from it's clients i guess. Do you have the configuration section where you tell sendmail to use your ISP as a relay?
Last edited by Robert0380; 10-28-2003 at 01:16 PM.
|
|
|
10-28-2003, 09:55 PM
|
#5
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Thanks for your reply, Robert0380.
Indeed,I have added RS mail.myisp.com in my sendmail configuration file.I am wondering why I can only send mail to hotmail but not others. On the other hand,as I have said,I can do it on Windows..... another
Anyway,thanks for your swift reply and every effort to help me out.
P.S.I am working in one of the ISP right now,as I heard from the customer support staff's conversation with customer,they are not really professional.Their answer can't really help to solve their problem.Their answer like "MODEL ANSWER".
|
|
|
10-28-2003, 11:36 PM
|
#6
|
Member
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
can you post up your sendmail.mc file
|
|
|
10-29-2003, 11:11 AM
|
#7
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
It's huge,what portion should I post??
|
|
|
10-29-2003, 07:57 PM
|
#8
|
Member
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414
Rep:
|
i don't think so, sendmail.mc is smaller then sendmail.cf file.
that why i ask you to post up that file instead of sendmail.cf.
|
|
|
10-29-2003, 10:55 PM
|
#9
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
It is the smart relay host entry in sendmail.cf, where your ISP's mail relay should be specified, like this:
DSsmtp.your.isp
|
|
|
10-29-2003, 11:04 PM
|
#10
|
LQ Newbie
Registered: May 2003
Location: India / new york
Distribution: Red Hat
Posts: 10
Rep:
|
init:ID "V1" respawning too fast: disabled for 5minutes
i am getting this error dude! please help me
|
|
|
10-29-2003, 11:51 PM
|
#11
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
Hi, vdckiran,
I think your message should be in a separate thread.
You probably receive the error message during system startup, and the message means that your system tried to start a service but the service crashed. It will try to start it again after 5 minutes (and will probably fail again).
The last time I got this message was when I replaced motherboard and CPU in my machine. For me, all services at runlevel 5 failed, which meant that the hardware change completely messed up my system. I could only get rid of the message after re-installing Linux. Maybe there are more sophisticated solutions, too, but I do not know them.
Last edited by J_Szucs; 10-30-2003 at 12:19 AM.
|
|
|
10-30-2003, 08:55 AM
|
#12
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Thanks for your reply, joseph and J_Szucs.
First off, J_Szucs,I have added DSsmtp.your.isp in my sendmail.cf file.Let's get back to my problem.I can send mail to hotmail but others fail.If DSsmtp.your.isp is the root of the problem,I think that the mail cannot be sent out if this configuration left out.Anyway,I think this problem is pretty hard to figure out.
Thanks.
|
|
|
10-30-2003, 07:25 PM
|
#13
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
Do you have a real, own domain name? Many (I might say most if not all) of the mail servers only accept mail from existing domains (hosts) and they also check if the sender's domain name resolves correctly.
From the maillog entry you posted here I suspect that you do not have a real domain name (at least mylinux does not seem so).
So, is your mail address:
a) yourname@yourowndomain.foo, or
b) yourname@yourispsdomain.foo?
If case b) applies, then you can only send mail if you tell sendmail to masquerade all mails as if sent by domain yourispsdomain.foo. I think you should use sendmail's features 'allmasquerade' and 'masquerade envelope'.
If case a) applies (ie you have your own domain name), does it resolve from anywhere on the internet?.
Anyway, I have never seen an ISP that does not send you a note when delivery of a mail fails.
Last edited by J_Szucs; 10-30-2003 at 07:44 PM.
|
|
|
10-30-2003, 09:26 PM
|
#14
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Clear the sky a little bit!No,clear the sky now!
Thanks for your reply again, J_Szucs.
You really make things clear on my problem.First off,I think that I have some configuration problem on my linux server.I use something like swift@192.168.0.5 as my computer name.I think it causes the problem...
After I changed Start here->System setting->Network->hosts tab to my domain name myname.no-ip.com, it works!!!!!!!!!!!!!!!!!.However,I have an extra question.If my IP address is dynamic,what should I type in the IP textfield????
Thanks a lot, J_Szucs.
Last edited by Swift&Smart; 10-30-2003 at 09:30 PM.
|
|
|
10-30-2003, 09:46 PM
|
#15
|
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126
Rep:
|
I use a dial-up connection in SuSe. There I leave the IP field empty, and check the box that I use dynamic IP.
|
|
|
All times are GMT -5. The time now is 11:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|