LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-16-2003, 04:46 AM   #1
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Rep: Reputation: 15
Postfix wil not accept external mail


Hello dude's & dudetes

here I am again with another silly question, after a month of experimenting with Liniux I did a reinstall of the complete distro ( RH8.0) last weekend. This was necesary because I was getting many errors when I did try to start my apache and postfix daemons...


Now everything seem to work fine again but now I got another serious problem....


I did install POSTFIX on the system so I shut be able to send and receive mail via my own host... this seems to work fine when sending internal mails, everything is getting on his place.I did test the mailserver for receiving mail from external networks( internet ) but this seems to go wrong all the way.

I'm using the standard 2.18.x.x. kernel that is installed with RH8.0
Postfix shut be version postfix-1.1.11

i receive my mail via eth0 and also did try all

Any help is welcome


 
Old 06-16-2003, 08:25 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
What goes wrong? What does the /var/log/maillog say? Where does it fail? A little more info is needed please..
 
Old 06-17-2003, 04:08 PM   #3
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Original Poster
Rep: Reputation: 15
Hello

It seems that almost everything works.

I can send and receive mail on my internal network, also sending mail to the internet seems to work fine.


But, I still have a problem with receiving mail from the internet. I did try to setup my config file using other listening adresses but nothing helps.

Also made a call to my ISP but they won't tell they block it or not... but I think they do ( an the reason I am setting this up is because of the delay on their mailserver for about !6! hours, minor problem with it they say!?! )

Now I am planing to use a bypass on a friends machine, his ISP not blocks port 25 so that shut work.

Here is the logfile...

Jun 17 15:58:41 rabbit postfix/smtpd[5262]: 2AB2E10D31: client=localhost[127.0.0.1]
Jun 17 15:58:41 rabbit postfix/cleanup[5263]: 2AB2E10D31: message-id=<200306171958.h5HJwep0005260@rabbit.homelinux.org>
Jun 17 15:58:41 rabbit postfix/nqmgr[3989]: 2AB2E10D31: from=<rikke@rabbit.homelinux.org>, size=885, nrcpt=1 (queue active)
Jun 17 21:58:41 rabbit sendmail[5260]: h5HJwep0005260: to=jorre@rabbit.homelinux.org, ctladdr=rikke (500/500), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30065, relay=localhost.homelinux.org. [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 2AB2E10D31)
Jun 17 15:58:41 rabbit postfix/smtpd[5262]: disconnect from localhost[127.0.0.1]
Jun 17 21:58:41 rabbit postfix/local[5264]: 2AB2E10D31: to=<jorre@rabbit.homelinux.org>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Jun 17 16:45:24 rabbit postfix/nqmgr[3989]: 278E010C9D: from=<rikke@rabbit.homelinux.org>, size=589, nrcpt=1 (queue active)
Jun 17 16:45:24 rabbit postfix/smtp[5366]: connect to 139.149-201-80.adsl.skynet.be[80.201.149.139]: Connection refused (port 25)
Jun 17 16:45:24 rabbit postfix/smtp[5366]: 278E010C9D: to=<rikke@139.149-201-80.adsl.skynet.be>, relay=none, delay=79965, status=deferred (connect to 139.149-201-80.adsl.skynet.be[80.201.149.139]: Connection refused)


Hope this helps, do you need my main.cf also?
 
Old 06-17-2003, 05:27 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
If that message to rikke@rabbit.homelinux.org was no sent from a machine inside the network, then apparently the problem is the next hop. Did you send that message from inside or outside? If the words connected with other than 127.0.0.1 appear in an entry than you can rule out the firewall. It does appear that the server ad.skynet.be is refusing your connections. That is not likely your isp's fault.
 
Old 06-18-2003, 03:35 AM   #5
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Original Poster
Rep: Reputation: 15
rabbit.homelinux.org is my host and yes I did send that message internal...

iptables do accept connections on port 25

my ISP is skynet.be so I really think they are blokking the port 25 incoming

it seems that 80.201.149.139 is one of the dns servers on my provider side.

what can I do now
 
Old 06-18-2003, 03:47 AM   #6
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Original Poster
Rep: Reputation: 15
Hey again,

I did restart my postfix and it came up with the folowing in the logfile..

Jun 18 10:45:42 rabbit postfix/postfix-script: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ
Jun 18 10:45:42 rabbit postfix/postfix-script: starting the Postfix mail system
Jun 18 10:45:42 rabbit postfix/master[1589]: daemon started
Jun 18 04:45:43 rabbit postfix/nqmgr[1591]: 278E010C9D: from=<rikke@rabbit.homelinux.org>, size=589, nrcpt=1 (queue active)


Now in main.vf the listen to address is my ppp0 so that shut be my adsl connection right...

Still not receiving on the internet side

öö
*
---
 
Old 06-18-2003, 11:11 AM   #7
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
You have set all your relevent domain names in both the $mydestination setting in main.cf and in the transport table (if forwarding to another mail server). If all possible domains for you are not listed in $mydestination, it will reject everything from the web.

I know many isp's are blocking some common inbound ports like 80 and 25 to prevent home users from running servers. I would demand the list of blocked ports from the isp or find a different one that allows incoming 25 connections.

Last edited by Pcghost; 06-18-2003 at 11:13 AM.
 
Old 06-18-2003, 02:27 PM   #8
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Original Poster
Rep: Reputation: 15
That could be the prob, in main.cf $mydestination is set to ppp0 an,d that is my dsl connection, now I am going to change that to my domain, lets hope this works


thx for al the tips
 
Old 06-19-2003, 02:57 PM   #9
gruger
Member
 
Registered: May 2003
Location: Belgium
Distribution: RedHat 8.0
Posts: 51

Original Poster
Rep: Reputation: 15
Still got probs after changing it

my main.cf is now online in a new tread

maybe someone can find the error and solve the problem that way
 
  


Reply



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
How to make postfix accept mail from multiple domains Farthom Linux - Newbie 4 09-14-2006 11:13 AM
Postfix won't accept mail from ONE client dontaylor2 Linux - Networking 5 11-10-2005 12:10 PM
Help getting Postfix to accept mail from anywhere nevarlen Linux - Networking 4 06-23-2005 05:53 AM
POSTFIX won't recieve external mail deviance99 Linux - Networking 2 10-16-2004 04:57 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 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
Open Source Consulting | Domain Registration