LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix Mailserver; Blocked Port 25 (https://www.linuxquestions.org/questions/linux-server-73/postfix-mailserver%3B-blocked-port-25-a-744902/)

Darl 08-03-2009 09:43 PM

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.

scheidel21 08-04-2009 07:43 AM

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.

Darl 08-05-2009 12:08 AM

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.... :)

scheidel21 08-05-2009 07:51 AM

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.

djuhl30 10-11-2009 10:25 PM

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

scheidel21 10-12-2009 07:48 AM

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.


All times are GMT -5. The time now is 12:52 PM.