This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Change Sentora and Postfix SMTP port 25
#1
Change Sentora and Postfix SMTP port 25
Hi...

I has installed sentora on home PC, and CMON DDNS, everything is working fine, but i can send mail to external servers, ex: gmail, hotmail, etc.... I can receive from external servers.

internal to internal works
internal to external no work
externail to internal works

I thing that is something related whit the 25 port please check this pice of mail.log:

Mar 17 21:20:13 dn1 postfix/qmgr[1338]: F3961E01FBA: from=<soporte@ordenazteca.com.mx>, size=1099, nrcpt=1 (queue active)
Mar 17 21:20:43 dn1 postfix/smtp[2901]: connect to mx2.hotmail.com[65.54.188.126]:25: Connection timed out
Mar 17 21:21:13 dn1 postfix/smtp[2901]: connect to mx3.hotmail.com[207.46.8.199]:25: Connection timed out
Mar 17 21:21:43 dn1 postfix/smtp[2901]: connect to mx1.hotmail.com[65.55.92.168]:25: Connection timed out
Mar 17 21:22:13 dn1 postfix/smtp[2901]: connect to mx3.hotmail.com[65.54.188.94]:25: Connection timed out
Mar 17 21:22:43 dn1 postfix/smtp[2901]: connect to mx4.hotmail.com[65.55.92.136]:25: Connection timed out
Mar 17 21:22:43 dn1 postfix/smtp[2901]: F3961E01FBA: to=<ras_jack@live.com.mx>, relay=none, delay=1626, delays=1475/0.06/150/0, dsn=4.4.1, status=deferred (connect to mx4.hotmail.com[65.55.92.136]:25: Connection timed out)

note this:

to mx2.hotmail.com[65.54.188.126]:25: Connection timed out


so, i haven't idea how change the port 25, in the sentora admin i hace another port, in the php.ini i has changed the 25 port (but i think tha tihs only works in windows), so nothing solve my issue.


Please, how i change the out mail.

I'm a dummy on this, is my first try so, don't be rude with me please. xD

Tanks in advances and sorry my bad english.




[UPDATE1]

I forgot say that all the ports are open in my router, this a test, so i have a DMZ config to my little web server...
tanks, i'm still waiting for some help.



[UPDATE2]

My problem aren't solved yet, so i has checked it:

My Sentora receives mail from mys own sentora mails account and from external (gmail, hotmail, etc) accounts
Send mails to mys own Sentora Server accounts but NO TO EXTERNAL mail accounts

IP blacklisted (no)
Router open ports (all open DMZ for my Sentora Server)
NO firewall on ubuntu or router


the things listed up, are not related with my problem because the mail no go out of mys server, never arrives to gmail, hotmail etc....


I guess that is the 25 port but i can change IT!!!!. How i do it!???.

I tried without any result. (reloading, stopping, and restarting postfix and my PC too).

First try:

in the master.cf i have changed this original line:

smtp      inet  n       -       n       -       -       smtpd

by:

465      inet  n       -       n       -       -       smtpd

and later by:

587      inet  n       -       n       -       -       smtpd

Result, no work, roundcube cant connect to postfix to send mails, i don't receive mails from external accounts because postfix must be listening on port 25 to receive mails.


Second Try:

I tried add suport on postfix to send mail thourgh 587 and 465 ports but preserving the 25 port to receive mail.

smtp      inet  n       -       n       -       -       smtpd                    (original line to have port 25 lintening and receive mail)

smtps      inet  n       -       -       -       -       smtpd
submission      inet  n       -       n       -       -       smtpd


Result: NO work, postfix continues sending mail through 25 port, never try the 465 or 587 port.

mail.err
EMPTY!!!

mail.log

Mar 18 22:04:23 ordenazteca postfix/qmgr[3083]: 6CECCE01F58: from=<soporte@ordenazteca.com.mx>, size=1085, nrcpt=1 (queue active)

Mar 18 22:04:53 ordenazteca postfix/smtp[3475]: connect to mx4.hotmail.com[207.46.8.199]:25: Connection timed out
Mar 18 22:05:23 ordenazteca postfix/smtp[3475]: connect to mx2.hotmail.com[65.55.92.184]:25: Connection timed out
Mar 18 22:05:53 ordenazteca postfix/smtp[3475]: connect to mx3.hotmail.com[65.55.92.184]:25: Connection timed out
Mar 18 22:06:23 ordenazteca postfix/smtp[3475]: connect to mx2.hotmail.com[65.55.92.168]:25: Connection timed out
Mar 18 22:06:54 ordenazteca postfix/smtp[3475]: connect to mx2.hotmail.com[65.55.33.135]:25: Connection timed out
Mar 18 22:06:54 ordenazteca postfix/smtp[3475]: 6CECCE01F58: to=<ras_jack@live.com.mx>, relay=none, delay=2227, delays=2076/0.09/150/0, dsn=4.4.1, status=deferred (connect to mx2.hotmail.com[65.55.33.135]:25: Connection timed out)
Mar 18 22:19:23 ordenazteca postfix/qmgr[3083]: 18DD7E01DB6: from=<soporte@ordenazteca.com.mx>, size=1091, nrcpt=1 (queue active)
Mar 18 22:19:53 ordenazteca postfix/smtp[3614]: connect to devotion.com.mx[185.28.23.25]:25: Connection timed out
Mar 18 22:19:53 ordenazteca postfix/smtp[3614]: 18DD7E01DB6: to=<webmaster@devotion.com.mx>, relay=none, delay=2256, delays=2226/0.07/30/0, dsn=4.4.1, status=deferred (connect to devotion.com.mx[185.28.23.25]:25: Connection timed out)
Mar 18 22:44:23 ordenazteca postfix/qmgr[3083]: 6CECCE01F58: from=<soporte@ordenazteca.com.mx>, size=1085, nrcpt=1 (queue active)
Mar 18 22:44:54 ordenazteca postfix/smtp[3814]: connect to mx4.hotmail.com[65.55.37.120]:25: Connection timed out
Mar 18 22:45:24 ordenazteca postfix/smtp[3814]: connect to mx1.hotmail.com[65.55.37.120]:25: Connection timed out
Mar 18 22:45:54 ordenazteca postfix/smtp[3814]: connect to mx4.hotmail.com[65.55.92.152]:25: Connection timed out
Mar 18 22:46:24 ordenazteca postfix/smtp[3814]: connect to mx2.hotmail.com[65.55.37.104]:25: Connection timed out
Mar 18 22:46:54 ordenazteca postfix/smtp[3814]: connect to mx3.hotmail.com[65.55.33.119]:25: Connection timed out
Mar 18 22:46:54 ordenazteca postfix/smtp[3814]: 6CECCE01F58: to=<ras_jack@live.com.mx>, relay=none, delay=4627, delays=4476/0.12/151/0, dsn=4.4.1, status=deferred (connect to mx3.hotmail.com[65.55.33.119]:25: Connection timed out)


Third Try:

I configure Gmail like relayhost and it works but just in a half, the mail now arrives in the normal box(no in spam box), but the email account that appears in the mail is my gmail account used in my postfix relayhost config, no the email account of my domain hosted in my Sentora Server.


So, the problem persist.... hope that somebody can help, tanks by read this xD.
Thanks given by:


Messages In This Thread
Change Sentora and Postfix SMTP port 25 - by ras_jack - 03-18-2015, 02:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,060 12-17-2022, 09:20 AM
Last Post: TGates
change username from email umarzuki@gmail.com 0 1 ,288 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Sentora debug and error files johnnyp 0 1 ,186 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)