Hi, My ISP blocks port 25 that's why i can't send emails, to fix this problem i've uncommented submission line from master.cf and restarted postfix but it still doesn't send email. when i run postqueue -p it returns; -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 681444600DB 666 Mon Feb 14 08:07:10 [email protected] (connect to alt2.gmail-smtp-in.l.google.com[74.125.200.26]:25: Connection timed out) [email protected] 2A3F646115D 2601 Mon Feb 14 08:34:44 MAILER-DAEMON (connect to mail.rfmelektronik.com[91.93.59.17]:25: Connection timed out) [email protected] As far as i understand it's still trying to connect through port 25 even i enabled the submission. I can telnet both 25 & 587 and when i send ehlo it returns 250 (as far as i know it means OK). What am i doing wrong?
The submission entry you uncommented is for receiving emails, not for sending emails. When your ISP blocks port 25, then you can't use the server as a mail server.
Maybe I should explain this a bit more, your Idea was not wrong in the sense that the submission record is indeed used for sending emails, but it's for sending from your email client to your server. So from the view of the server, it receives the emails on this port from the mail client. That's why it does not help with your current issue as the server itself can't send on port 25 to other servers in your case.
Hello again, When i talked with isp they said port 25 is opened to my static ip and when i connect through telnet over port 25 i can connect and when i run ehlo command it returns ok. Despite that i'm still unable to send email through my ispconfig server it returns :25: Connection timed out. What could be wrong or where should i check for further debug.
You ran that telnet command on your server and connected to an external server like gmail? Because that's the way to test if port 25 outgoing is blocked. If you run telnet on your desktop or use an external smtp port checker as shown in your screenshots, then you are testing the wrong direction (to your server) while the issue is that port 25 from your server to the internet is blocked.
yeah i was testing from my office pc, sorry. Now testing from my home pc, connected to ispconfig through telnet 25, when i try telnet it returns attached error " < [email protected]>: Sender address rejected: User unknown in virtual mailbox table" but email address is does exist on ispconfig.
You have to connect from your server via telnet to an external mail system like gmail, not to an address on your server. So the command to test is: telnet gmail-smtp-in.l.google.com 25 and this must be run on your server.
it returns time out, so it means that port 25 still closed on isp side, thanks for your help, i'm still on recovery after accident and sometimes it's affecting my prehension ability when i read, sorry again. Thanks