LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with Sendmail (Redhat 9) (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-sendmail-redhat-9-a-131630/)

sangjin 01-05-2004 01:48 AM

Problem with Sendmail (Redhat 9)
 
Dear Everyone

I am having problem with Sendmail.
I've just installed Redhat Linux 9 and I want to use this Linux as my personal mail server and web server.
I'm currently testing the sendmail installed with the Linux installation.
I'm planning to upgrade or re-install it with the latest sendmail.

Anyway, currently I can send a mail from my notebook using the sendmail on my linux server to anyone, but if I send a mail from the Linux terminal the mail gets lost and is not delivered to the target.
I used the following to test the sendmail on the terminal.

# /usr/sbin/sendmail -v sangjin89@hotmail.com < 1.txt
...
>>>QUIT
221 2.0.0 infosec.kut.ac.kr closing connection

(No error, but mail lost)

However, if I send a mail to another local server(same domain) the mail is delivered without any problem.

# /usr/sbin/sendmail -v sangjin@kut.ac.kr < 1.txt
...
>>>QUIT
221 2.0.0 infosec.kut.ac.kr closing connection

(No error, Mail is delivered Correctly)

How do I solve this problem?

timmy_laf 01-05-2004 01:54 AM

why post this thread twice? once is sufficient!

twantrd 01-05-2004 02:21 AM

It could be that your outgoing port 25 is being blocked by your ISP. I don't know much (actually, I don't know how to use sendmail period!) so I don't know the commands used (i use exim myself). But here's a way to check out if your ISP is in fact blocking outgoing port 25:

1. Use pine
2. send mail to <whatever>@hotmail.com

In about a couple seconds it should return to you some sort of error message.

-twantrd


All times are GMT -5. The time now is 10:15 AM.