LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-10-2003, 04:57 AM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68

Yes, I believe we can. I think IPTables can reroute ports, but I don't know how You might be able to do it with your main.cf actually too, but again, I've never had to. Check out the forums a bit, and run a search on google.com/linux for info on mapping ports. In the end though, I don't know how well that will work, and blocking a port outgoing just doesn't make sense, it was just an idea.

I know Mandrake does have a built in firewall, you might wanna see if you can get into the Mandrake Control Center and temporarily disable that to see if that's stopping you. It's a little confusing because it's making connections obviously from the DNS resolving, but then it's not able to send the message..

Cool
 
Old 08-10-2003, 05:46 AM   #17
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
ok, tnx a lot masterC for heling me out...

i believe iptables is not interrupting.. coz and just test it using "iptables -F" to flush the rules then sending the message again... but then same results... i think my isp has some kind of configuration on port 25 which allows its clients to send the message on this port but blocks the reply (if it is really blocked) .... coz as u said, it can send a message and talk, but unable to recieve the reply back....

well do u think my main.cf (based on the main.cf ive posted) has some mis cofiguration? or some tweakings needed for it to work.. coz i still dont believe my port 25 is block (hehe..) ...????? (based on the main.cf ive posted)
 
Old 08-10-2003, 05:48 AM   #18
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
sorry.. typos...

ok, tnx a lot masterC for helping me out...

i believe iptables is not interrupting.. coz and just test it using "iptables -F" to flush the rules then sending the message again... but then same results... i think my isp has some kind of configuration on port 25 which allows its clients to send the message on this port but blocks the reply (if it is really blocked) .... coz as u said, it can send a message and talk, but unable to recieve the reply back....

well do u think my main.cf (based on the main.cf ive posted) has some mis cofiguration? or some tweakings needed for it to work.. coz i still dont believe my port 25 is block (hehe..) ...?????
 
Old 08-10-2003, 05:58 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
judging from what I see of your main.cf above, it looks like it should be fine.

I've been lookin around a bit, and am not really sure what the problem is at this point. Try this:
http://zoneedit.com/smtp.html

See if that helps you out at all, post up the results

Cool
 
Old 08-10-2003, 06:04 AM   #20
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Ok, so I just took my own advice..

It looks like your port 25 is blocked...

Give your ISP an anonymous call

Cool
 
Old 08-10-2003, 06:12 AM   #21
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
a lot of tnx for replying...

hehe... that was the page im talking about, now, ive editid main.cf... "inet_interfaces = all"... then testing from the website u gave me results are..

OK, connected to jayjay.sytes.net...
< 220 jay.madcat.org ESMTP Postfix (2.0.6) (Mandrake Linux)
> HELO edit.dnsvr.com
< 250 jay.madcat.org
> MAIL FROM:<jay_820@hotmail.com>
< 250 Ok
> RCPT TO:<masterc@master.no-ip.com>
< 554 <masterc@master.no-ip.com>: Relay access denied


then resending a mail from a console,
#echo test | mail masterc@masterc.no-ip.org -s this_is_a_test


results from /var/log/mail/info ....

Aug 10 19:16:23 jay postfix/pickup[6835]: 1D5CD3095E: uid=0 from=<root>
Aug 10 19:16:23 jay postfix/cleanup[6839]: 1D5CD3095E: message-id=<20030810231623.1D5CD3095E@jay.madcat.org>
Aug 10 19:16:23 jay postfix/nqmgr[6836]: 1D5CD3095E: from=<root@jay.madcat.org>, size=308, nrcpt=1 (queue active)
Aug 10 19:16:44 jay postfix/smtp[6859]: connect to cooler.curvins.com[4.65.24.211]: No route to host (port 25)
Aug 10 19:17:14 jay postfix/smtp[6859]: connect to mail.curvins.com[4.65.24.211]: Connection timed out (port 25)
Aug 10 19:17:14 jay postfix/smtp[6859]: 1D5CD3095E: to=<masterc@masterc.no-ip.org>, relay=none, delay=51, status=deferred (connect to mail.curvins.com[4.65.24.211]: Connection timed out)

then from /var/log/mail/warnings

Aug 10 19:14:06 jay postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
Aug 10 19:14:18 jay postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ

then webmin queue

1D5CD3095E Sun Aug 10 19:16:23 root@jay.madcat.org masterc@masterc.no-ip.org 308 connect to mail.curvins.com[4.65.24.211]: Connection timed out


i think now were getting to somewhere but i have no clues where to go from here...
 
Old 08-10-2003, 06:14 AM   #22
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
does

/var/spool/postfix/etc/resolv.conf
and
/etc/resolv.conf

needs to be identical???
 
Old 08-10-2003, 06:44 AM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I don't have the /var/spool/postfix/etc/resolv.conf But for your system it looks like it does.

Try resending it to that hotmail address and see what happens then. Definitely looks like we are getting somewhere

Cool
 
Old 08-10-2003, 06:51 AM   #24
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
After a bit more testing...

Can you post up your:
relay_domains and
mydestination
from your main.cf?

Cool
 
Old 08-10-2003, 06:56 AM   #25
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
well guess port 25 isnt block after all....

/mail/info errors gives me.....

Aug 10 19:59:54 jay postfix/pickup[6835]: 318A13095F: uid=0 from=<root>
Aug 10 19:59:54 jay postfix/cleanup[6986]: 318A13095F: message-id=<20030810235954.318A13095F@jay.madcat.org>
Aug 10 19:59:54 jay postfix/nqmgr[6836]: 318A13095F: from=<root@jay.madcat.org>, size=292, nrcpt=1 (queue active)
Aug 10 20:00:25 jay postfix/smtp[7028]: connect to mx4.hotmail.com[65.54.254.151]: Connection timed out (port 25)
Aug 10 20:00:55 jay postfix/smtp[7028]: connect to mx1.hotmail.com[65.54.254.129]: Connection timed out (port 25)
Aug 10 20:01:25 jay postfix/smtp[7028]: connect to mx2.hotmail.com[65.54.254.145]: Connection timed out (port 25)
Aug 10 20:01:55 jay postfix/smtp[7028]: connect to mx2.hotmail.com[65.54.252.230]: Connection timed out (port 25)
Aug 10 20:02:25 jay postfix/smtp[7028]: connect to mx3.hotmail.com[65.54.254.140]: Connection timed out (port 25)
Aug 10 20:02:55 jay postfix/smtp[7028]: connect to mx4.hotmail.com[65.54.253.230]: Connection timed out (port 25)
Aug 10 20:03:25 jay postfix/smtp[7028]: connect to mx2.hotmail.com[65.54.166.230]: Connection timed out (port 25)
Aug 10 20:03:28 jay postfix/smtp[7028]: connect to mx1.hotmail.com[65.54.166.99]: No route to host (port 25)
Aug 10 20:03:58 jay postfix/smtp[7028]: connect to mx1.hotmail.com[65.54.252.99]: Connection timed out (port 25)
Aug 10 20:04:19 jay postfix/smtp[7028]: connect to mx3.hotmail.com[65.54.253.99]: No route to host (port 25)
Aug 10 20:04:19 jay postfix/smtp[7028]: 318A13095F: to=<jay_820@hotmail.com>, relay=none, delay=265, status=deferred (connect to mx3.hotmail.com[65.54.253.99]: No route to host)

postfix queue

318A13095F Sun Aug 10 19:59:54 root@jay.madcat.org jay_820@hotmail.com 292 connect to mx3.hotmail.com[65.54.253.99]: No route to host
 
Old 08-10-2003, 07:11 AM   #26
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Some more reading..

Try typing this in from the command line:
telnet mail.barak-online.net.il 25 (exact line I grabbed from the thing I read)
And post up the results.

Cool
 
Old 08-10-2003, 07:55 AM   #27
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
$ telnet mail.barak-online.net.il 25
Trying 212.150.48.118...
telnet: Unable to connect to remote host: Connection timed out

whow..... does it mean my port 25 is block? well, or server's port 25...???
 
Old 08-10-2003, 08:06 AM   #28
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Apparently so. Easiest way really is to anonymously call your ISP and ask em. If you are lucky, they might offer to unblock it for you, or give you a work around...

Cool
 
Old 08-10-2003, 08:47 AM   #29
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
ic, ok then, tnx so much for all the help, wish i could return this to u someday....

ill do some more reading and ill try my way around... i dont think my isp would be open to discuss to me this matter, theres gonna some solution for this...

for my last Q , what does "port 25 is blocked" means?? does it mean literally my port 25 in inaccessable or closed.... or does it mean something else? coz im confused with all the testing, like results from http://zoneedit.com/smtp.html .... and when i telnet my own ppp ip... results are positive..... and do i need some to telnet my ip add just to check?

and probing my ports according to http://scan.sygate.com/probe.html results are

Operating System = Linux i686
Browser = Galeon 1.3.3
Trying to find out your computer name...

Unable to determine your computer name!

Trying to find out what services you are running...
SMTP Mail Server Found = 220 jay.madcat.org ESMTP Postfix (2.0.6) (Mandrake Linux)

so im confused .. if it is really blocked "literally".... or just cant use it for my mail server...

.... BTW, doin "cat /etc/postfix/main.cf | grep relay_domains" results are...

host for. Specify those names via the relay_domains settings for
# The relay_domains parameter restricts what destinations this system will
# - from "untrusted" clients to destinations that match $relay_domains or
# The default relay_domains value is $mydestination.
# These destinations do not need to be listed in $relay_domains.
#relay_domains = $mydestination
# with all addresses in the domains that match $relay_domains.
# specified in the relay_domains parameter). For other destinations,
#fast_flush_domains = $relay_domains

"cat /etc/postfix/main.cf | grep mydestination"

gives me

# The mydestination parameter specifies the list of domains that this
#mydestination = $myhostname, localhost.$mydomain $mydomain
#mydestination = $myhostname, localhost.$mydomain, $mydomain,
# to $mydestination and $inet_interfaces.
# - You define $mydestination domain recipients in files other than
# For example, you define $mydestination domain recipients in
# response code when a recipient domain matches $mydestination or
# The default relay_domains value is $mydestination.
# - destinations that match $mydestination
#relay_domains = $mydestination
# for unknown recipients. By default, mail for unknown@$mydestination

mydestination = $myhostname, localhost.$mydomain

like ive said, my main.cf is untouched, so default values are used instead...

tnx so much.........
 
Old 08-11-2003, 09:49 AM   #30
jay820
Member
 
Registered: Feb 2003
Distribution: Mandrake 9.1
Posts: 55

Original Poster
Rep: Reputation: 15
anyone??????
 
  


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
postfix on a dynamic IP (dhcp) machine problem hcchiao Linux - Newbie 1 09-17-2005 01:56 AM
Postfix config + dynamip.com? dbc001 Mandriva 3 08-17-2005 08:18 AM
Postfix config problem Rarrum Linux - Networking 2 01-08-2005 07:48 PM
basic config for postfix dienerk Linux - General 1 10-25-2004 02:52 AM
hostname/domainname/postfix setup with dynamic DNS from no-ip tesauce98 Linux - Software 10 09-17-2003 01:01 PM


All times are GMT -5. The time now is 04:24 PM.

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