Changed isp (Blocking port25)

Hello i could really need some help to put some light on my problem before i get bold.
This problem ive been struggling with for serveal days i like to doo things myself but this time
i rly need some hel :open_mouth:

Anyway i have installed Virtualmin Pro. With CentOS 5.6. fresh install.
My new ISP is blocking port 25

Mail servers records:

smartwebserver.dk 10 mail.smartwebserver.dk

smartwebserver.dk 50 mail1.stofanet.dk

telnet mail.smartwebserver.dk 110 (+ok Dovecot ready)

telnet mail.smartwebserver.dk 25 (220 server.smartwebserver.dk ESMTP Postfix).

echo “test email” | mail hostmaster@smartwebserver.dk

Test mail recieved to hostmaster@smartwebserver.dk

settings:

webmin/servers/postfix mail servers/generel options/send outgoing mail via host/mail1.stofanet.dk

/var/log/maillog:

Aug 9 11:18:24 server postfix/local[17965]: 57DF73338056: to=, orig_to=, relay=local, delay=13, delays=0.03/0.01/0/13, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Aug 9 11:18:24 server postfix/qmgr[8496]: 57DF73338056: removed Aug 9 11:31:12 server dovecot: imap-login: Disconnected: method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:14 server last message repeated 2 times Aug 9 11:31:18 server dovecot: Logins with UID 0 not permitted (user root) Aug 9 11:31:18 server dovecot: imap-login: Internal login failure: user=, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:18 server dovecot: imap-login: Disconnected: method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:22 server dovecot: imap-login: Disconnected: method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:36 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:36 server dovecot: IMAP(smartwebserver): Connection closed Aug 9 11:31:36 server dovecot: imap-login: Disconnected: method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:36 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:37 server last message repeated 2 times Aug 9 11:31:37 server dovecot: IMAP(smartwebserver): Connection closed Aug 9 11:31:37 server last message repeated 2 times Aug 9 11:31:49 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:49 server last message repeated 2 times Aug 9 11:31:49 server dovecot: IMAP(smartwebserver): Connection closed Aug 9 11:31:49 server last message repeated 2 times Aug 9 11:31:50 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Aug 9 11:31:50 server last message repeated 2 times Aug 9 11:31:50 server dovecot: IMAP(smartwebserver): Connection closed Aug 9 11:31:50 server last message repeated 2 times Aug 9 11:34:08 server postfix/pickup[8495]: 05EF63338056: uid=0 from= Aug 9 11:34:08 server postfix/cleanup[19637]: 05EF63338056: message-id=<20110809093408.05EF63338056@server.smartwebserver.dk> Aug 9 11:34:08 server postfix/qmgr[8496]: 05EF63338056: from=, size=1666, nrcpt=1 (queue active) Aug 9 11:34:08 server postfix/local[19641]: 05EF63338056: to=, orig_to=, relay=local, delay=0.4, delays=0.13/0.01/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Aug 9 11:34:08 server postfix/qmgr[8496]: 05EF63338056: removed Aug 9 11:36:06 server postfix/postfix-script: refreshing the Postfix mail system Aug 9 11:36:06 server postfix/master[8493]: reload configuration /etc/postfix Aug 9 11:40:12 server postfix/smtpd[2627]: connect from 3e6b3f2f.rev.stofanet.dk[62.107.63.47] Aug 9 11:41:30 server postfix/pickup[5484]: D272C3338056: uid=0 from= Aug 9 11:41:31 server postfix/cleanup[4158]: D272C3338056: message-id=<20110809094130.D272C3338056@server.smartwebserver.dk> Aug 9 11:41:31 server postfix/qmgr[5486]: D272C3338056: from=, size=577, nrcpt=1 (queue active) Aug 9 11:41:32 server postfix/local[4176]: D272C3338056: to=, orig_to=, relay=local, delay=1.8, delays=0.29/0.05/0/1.5, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Aug 9 11:41:32 server postfix/qmgr[5486]: D272C3338056: removed Aug 9 11:45:12 server postfix/smtpd[2627]: timeout after CONNECT from 3e6b3f2f.rev.stofanet.dk[62.107.63.47] Aug 9 11:45:12 server postfix/smtpd[2627]: disconnect from 3e6b3f2f.rev.stofanet.dk[62.107.63.47]

end of log.

could some nice person explain or guide me how to get this working.
ive earlyer been into master.cf and changed port settings to 685,2525 and so on but
nothing worked for me im kinda new into postfix and email settings, i did lookup in this forum
but i had no luck so far with my settings, thats why i made a frsh install.

ty.

Howdy,

What problem is it that you’re trying to resolve exactly
 are you trying to find a way around the issue of your ISP blocking port 25?

I’ll offer that if I try to connect to port 25 on your server, I do get a “Connection Refused”.

If that’s the problem you’re trying to resolve – unfortunately, you’re kind of stuck. You’d need to have an ISP for your server that isn’t blocking port 25.

While it’s possible to have Postfix listen on an alternative port, a sending email server won’t know to use that port. So, in order to receive email from a mail server, port 25 would need to be working.

-Eric

Hi and ty for your answer.

Ty thats what i thought aswell but my ISP keept telling me i could use there mail1.stofanet.dk
through postfix,

i was thinking is there a way to keep my old isp and use them as mailserver (port 25 not blocked)
and at the same time use new ISP for traffic, my old isp was a 10/1 Mbit and the new is a 111/11
the extra upload really boost my system or do i need to mke a choise and skip email server here.

Is that possible ?

Ty.

It is true that you can use their mail server via Postfix
 but that’s only for outgoing email.

There’s no way for your server to receive incoming email from other mail servers on the Internet if port 25 is being blocked.

So yeah, it does sound like you’ll have to make a choice between which functions you want :slight_smile:

-Eric