Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help Setting Up Postfix, As per hughsjr's guide
Corey
post May 29 2004, 03:35 PM
Post #1


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Okay, i followed the guide step-by-step using Whitebox linux for my install.

My network is setup like this:

192.168.0.1 - Linksys router, connected to the internet, port forwarding 110,25,80,443 to 192.168.0.2
192.168.0.2 - Mail server, firewall is open for 110,25,80,443
192.168.0.10-12 - Client computers.

domain: thegoodtimes.ca
mail: mail.thegoodtimes.ca

Okay, so, from my computer (192.168.0.10), i can 'telnet 192.168.0.2 25' no problem, i get the postfix screen. Same with 110. When i ssh to a friends computer out on the internet, and try to telnet back to my mail server at port 25, it times out. When i try for port 110, it connects fine. I've double-checked my port-forwarding, and it is set up correctly.

So, i'm thinking it's something in the postfix configuration file, something with these lines:

QUOTE
# RECEIVING MAIL
inet_interfaces = $myhostname
proxy_interfaces =


Any ideas if this is even the problem?


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
Robert83
post May 30 2004, 10:35 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

all my smtp port problems were related to

/etc/hosts file

127.0.0.1 localhost.localdomain localhost (? or something like this, doing this from winXP)
192.168.10.2 mail.test.local
217.xxx.xxx.xxx mail.test.local ( if you have a public , I think you should enter the mail.test.local here to... or even try removing your private ip adress , and add the hostname only to the public)


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post
Corey
post May 30 2004, 01:09 PM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



THe problem with that is that I don't have a static IP to put there, I have a dynamic ip. I'm using hugh's script to update my domain names via zoneedit.com.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
hughesjr
post May 30 2004, 02:09 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



What does netstat -an | grep LISTEN | grep 25 say?

.... you might try:

inet_interfaces = all


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
hughesjr
post May 30 2004, 02:15 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



Also ... try this:

proxy_interfaces = mail.whatever.com

(substitute the name you have assigned to your mail domain in the MX record at zoneedit.com) (for me, mail.hughesjr.com)


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Corey
post May 31 2004, 08:37 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



As it turns out, me and Joey (well, mostly Joey) determined that my port 25 was being blocked by my ISP, after some searching, Joey came accross some proof on dslreports about it. They have blocked incoming and outgoing requests off that port. i will try and contact them about allowed outgoing port 25 traffic which would help a bunch.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
hughesjr
post May 31 2004, 09:47 AM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



on the outgoing, you might just be able to send via their mail server (here is an example, you want to make your ISP the relayhost, not just a transport ... and you may (or may not) have to use SMTP AUTH outgoing) ... it won't help the incoming though. If they don't allow incoming, you won't be able to recieve mail into the server directly.

But, with zone edit, you can do mail forwarding ... so that all mail at that domain.com gets forwarded to your current ISP mail box....

So if you can orute the outgoing mail through the ISPs mail server (they usually allow that ... for sure if they allow SMTP AUTH ... and you can get the mail back via your normal account you should be good.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
hughesjr
post May 31 2004, 04:57 PM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



and if robert hurries up and figures out the fetchmail smile.gif , you can suck it down from your ISP onto the server!


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Corey
post Jun 1 2004, 07:39 AM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Well, i got the mail problem pretty much figured out thanks to hughsjr and Joey.

First off, to back track. my ISP blocks incoming and outgoing port 25 *unless* it's using their smtp servers. As well, their smtp servers does not require authentication, as long as your on their domain (which I am). So, I can now send mail fine using their servers as a smart host.

Now, with receiving mail, I am currently signed up (thanks to joey) with mxlogic that filters my mail from spam and viri and then forwards them along to a mail server. Luckily, they have the option of me being able to choose what port to send mail on, so i set it up to send it to me on port 26, then configured my router to receive on port 26 and forward internelly to my mail server on port 25.

I'll do more testing today, but i think it's working well.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 1 2004, 10:27 PM
Post #10


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



that'll teach those silly ISPs ... we can get around their futile attempts to stop us from doing what we want!


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Corey
post Jun 2 2004, 10:43 AM
Post #11


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



...because we're 31337 4ack3r5


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
Termina
post Jun 2 2004, 01:06 PM
Post #12


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



*uncaps his modem, and posts warez on newsgroups because breaking an ISPs rules can only be a good thing*

wink.gif


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 08:29 PM