LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 10-28-2003, 04:29 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
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.
 
Old 10-28-2003, 09:33 AM   #2
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
Any clues in your /var/log/maillog files?
 
Old 10-28-2003, 10:37 AM   #3
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking

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.
 
Old 10-28-2003, 01:13 PM   #4
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
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.
 
Old 10-28-2003, 09:55 PM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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".
 
Old 10-28-2003, 11:36 PM   #6
joseph
Member
 
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
can you post up your sendmail.mc file
 
Old 10-29-2003, 11:11 AM   #7
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
It's huge,what portion should I post??
 
Old 10-29-2003, 07:57 PM   #8
joseph
Member
 
Registered: Jul 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
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.
 
Old 10-29-2003, 10:55 PM   #9
J_Szucs
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: Reputation: 58
It is the smart relay host entry in sendmail.cf, where your ISP's mail relay should be specified, like this:
DSsmtp.your.isp
 
Old 10-29-2003, 11:04 PM   #10
vdckiran
LQ Newbie
 
Registered: May 2003
Location: India / new york
Distribution: Red Hat
Posts: 10

Rep: Reputation: 0
init:ID "V1" respawning too fast: disabled for 5minutes

i am getting this error dude! please help me
 
Old 10-29-2003, 11:51 PM   #11
J_Szucs
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: Reputation: 58
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.
 
Old 10-30-2003, 08:55 AM   #12
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking

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.
 
Old 10-30-2003, 07:25 PM   #13
J_Szucs
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: Reputation: 58
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.
 
Old 10-30-2003, 09:26 PM   #14
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking 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.
 
Old 10-30-2003, 09:46 PM   #15
J_Szucs
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: Reputation: 58
I use a dial-up connection in SuSe. There I leave the IP field empty, and check the box that I use dynamic IP.
 
  


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
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 04:00 PM
Mail Relay Server by using Sendmail raymond117 Linux - Security 2 05-11-2005 11:25 AM
local mail relay problem in Sendmail RajaRC Linux - Networking 3 09-15-2004 08:23 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM
mail relay problem with sendmail ilovebytes Linux - Networking 5 11-16-2003 08:56 AM


All times are GMT -5. The time now is 10:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration