LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-03-2009, 09:43 PM   #1
Darl
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: 0
Postfix Mailserver; Blocked Port 25


I've used this Lenny mailserver setup to get my mailserver working, but it doesn't. Hmm..., my bad.
It works fine locally, going from user01@mydom.ain to user02@mydom.ain, but it fails to send or receive with all external domains.
Now, my ISP blocks port 25, to quote:
Quote:
Connections made to Port 25 (the standard SMTP port for outbound email) that are not directed toward this ISP's Email server are blocked.
Blocked.
To manoeuvre around this, my router redirects incoming port 26 connections to port 25 on the mailserver.
As mentioned, sending email via this server works alright up until it tries to connect to the external domain. If I send an email everything works, but postqueue shows the email in limbo because it could not connect to the external-domain mailserver.
I'm using postfix, dovecot, amavis, spamassassin, clam-av, with a mysql database. I am fairly certain my problems are due to my ISP's blocklist -but what do you think?

Alternatively, in the unlikely event that anyone knows a Debian Lenny mailserver setup that works with the ISP Shaw Cable, could you pass it on.

Last edited by Darl; 08-03-2009 at 09:44 PM.
 
Old 08-04-2009, 07:43 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
I think it is not incoming mail on port 25 they are blocking, but it is outgoing mail i.e. you need to use their mail server as a smarthost, or find a smarthost that works on a port other than 25 for incoming mail. i.e. your mail server sends mail to your smarthost on port 14556 or something instead of 25.
 
Old 08-05-2009, 12:08 AM   #3
Darl
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! I've resolved myself to routing my outgoing mail through their service because I'm a beaten husk compared to their impervious position as self-appointed port-master un-extraordinaire.


But it's still kinda sweet having my own mailserver....
 
Old 08-05-2009, 07:51 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
It is generally better to use the smarthost anyways becuase lots of places will reject mail directly from your server out of hand because it is in a dynamically assigned block of IP addresses, or because it is a cable Connection.
 
Old 10-11-2009, 10:25 PM   #5
djuhl30
Member
 
Registered: Dec 2005
Location: IRAQ (BACK @ FT HOOD NOW)
Distribution: GENTOO now
Posts: 98

Rep: Reputation: 15
So smarthost would be the relayhost = option in the /etc/postfix/main.cf. Terminology is hard to follow.. I have smarthost configured as far as I can tell... I can send mail to people but people can't send email to me.. I just can't figure out why... I use postfix and dovecot... I have a pop server via dovecot, and I can't tell if mail is getting to postfix... Lost to where to look..

Dave
 
Old 10-12-2009, 07:48 AM   #6
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
download iftop and install it, then open a terminal and run iftop. Have someone, or you yourself send yourself email from another email service, like hotmail. Observe iftop if you don't see any smtp traffic then nothing is getting through to you. You may have to sit for a few minutes to make sure. If you do see smtp traffic then your postfix or spam filter configuration is messed up.
 
  


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: cant send email from my Windows pc using my postfix mailserver elvisious Linux - Software 8 08-01-2008 07:01 PM
Postfix mailserver doesn't want to start! gubak Linux - Software 3 09-25-2006 02:02 AM
Problem with postfix mailserver..!?! knuzzen Linux - Networking 0 09-01-2004 05:41 AM
need help with Postfix mailserver Lleb_KCir Linux - Software 1 03-31-2004 11:11 PM
Postfix Mail server on blocked port 25 IcemanF-22 Linux - Networking 7 08-31-2003 06:25 PM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
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