[Solved] Cant Send/Receive To/From external Domains

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
javito1081
Posts: 18
Joined: Wed Sep 11, 2019 4:23 am

[Solved] Cant Send/Receive To/From external Domains

Post by javito1081 »

I just installed Zimbra on my ubuntu server 18.04 lts but im having an issue with incoming/outgoing emails, i mean i can send and receive emails from within my internal network, but if i try to send an email to google or some other mail provider it says connection timeout.

For what iv been reading it seems my ISP is blocking connections on port 25 for incoming/outgoing connections, so tomorrow ill try to talk to them to see if i can get them to open that port to my connection, but if not, is there a way to change zimbra to be able to send or receive in a diferent port than 25?

Im using the latest Zimbra Collaboration btw, heres a bit of my log file

Code: Select all

Sep 12 06:40:01 mailer postfix/lmtp[73485]: ED050C3A37: to=<admin@domain.com>, relay=mailer.domaincom[10.0.4.28]:7025, delay=0.17, delays=0/0.01/0.1/0.05, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Sep 12 06:40:01 mailer postfix/qmgr[48877]: ED050C3A37: removed
Sep 12 06:40:01 mailer postfix/lmtp[73495]: 02DE0C3A38: to=<admin@domain.com>, relay=mailer.domain.com[10.0.4.28]:7025, delay=0.16, delays=0/0.01/0.09/0.05, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Sep 12 06:40:01 mailer postfix/qmgr[48877]: 02DE0C3A38: removed
Sep 12 06:40:03 mailer /postfix-script[73811]: the Postfix mail system is running: PID: 4875
Sep 12 06:40:05 mailer postfix/smtp[72896]: connect to alt3.gmail-smtp-in.l.google.com[173.194.213.26]:25: Connection timed out
Sep 12 06:40:10 mailer /postfix-script[74232]: the Postfix mail system is running: PID: 4875
Sep 12 06:40:35 mailer postfix/smtp[72896]: connect to alt4.gmail-smtp-in.l.google.com[64.233.186.27]:25: Connection timed out
Sep 12 06:40:35 mailer postfix/smtp[72896]: 0FEE7C1C52: to=<xxxxxx@gmail.com>, relay=none, delay=5695, delays=5545/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[64.233.186.27]:25: Connection timed out)
Sep 12 06:41:08 mailer /postfix-script[74661]: the Postfix mail system is running: PID: 4875
Sep 12 06:42:04 mailer /postfix-script[75153]: the Postfix mail system is running: PID: 4875
Sep 12 06:42:11 mailer /postfix-script[75571]: the Postfix mail system is running: PID: 4875
Sep 12 06:43:05 mailer postfix/qmgr[48877]: F2C55C3A1A: from=<xxxxxx@domain.com>, size=1985, nrcpt=1 (queue active)
Sep 12 06:43:15 mailer /postfix-script[76003]: the Postfix mail system is running: PID: 4875
Sep 12 06:43:36 mailer postfix/smtp[75738]: connect to gmail-smtp-in.l.google.com[173.194.201.27]:25: Connection timed out
Sep 12 06:44:04 mailer /postfix-script[76491]: the Postfix mail system is running: PID: 4875
Sep 12 06:44:06 mailer postfix/smtp[75738]: connect to alt1.gmail-smtp-in.l.google.com[64.233.177.27]:25: Connection timed out
Sep 12 06:44:18 mailer /postfix-script[78084]: the Postfix mail system is running: PID: 4875
Sep 12 06:44:36 mailer postfix/smtp[75738]: connect to alt2.gmail-smtp-in.l.google.com[74.125.192.27]:25: Connection timed out
Sep 12 06:45:06 mailer postfix/smtp[75738]: connect to alt3.gmail-smtp-in.l.google.com[173.194.213.26]:25: Connection timed out
Sep 12 06:45:22 mailer /postfix-script[78516]: the Postfix mail system is running: PID: 4875
Sep 12 06:45:36 mailer postfix/smtp[75738]: connect to alt4.gmail-smtp-in.l.google.com[64.233.186.26]:25: Connection timed out
Sep 12 06:45:36 mailer postfix/smtp[75738]: F2C55C3A1A: to=<xxxxxx@gmail.com>, relay=none, delay=2004, delays=1854/0.03/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[64.233.186.26]:25: Connection timed out)
Sep 12 06:46:04 mailer /postfix-script[79003]: the Postfix mail system is running: PID: 4875
Sep 12 06:46:25 mailer /postfix-script[79421]: the Postfix mail system is running: PID: 4875
Sep 12 06:47:29 mailer /postfix-script[79855]: the Postfix mail system is running: PID: 4875
Sep 12 06:48:04 mailer /postfix-script[80341]: the Postfix mail system is running: PID: 4875
Last edited by javito1081 on Sat Sep 14, 2019 5:09 am, edited 1 time in total.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Cant Send/Receive To/From external Domains

Post by phoenix »

javito1081 wrote:Im using the latest Zimbra Collaboration btw, heres a bit of my log file
There's no such thing as the 'latest version', you need to give details of which version you're using by posting the full output of the following command:

Code: Select all

zmcontrol -v
What diagnostic tests have you run? How about a telnet to the google mail server on port 25, can you do that? Is there a firewall that might be blocking your mail? Does your ISP allow you to run a mail server on port 25?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
javito1081
Posts: 18
Joined: Wed Sep 11, 2019 4:23 am

Re: Cant Send/Receive To/From external Domains

Post by javito1081 »

phoenix wrote:
javito1081 wrote:Im using the latest Zimbra Collaboration btw, heres a bit of my log file
There's no such thing as the 'latest version', you need to give details of which version you're using by posting the full output of the following command:

Code: Select all

zmcontrol -v
What diagnostic tests have you run? How about a telnet to the google mail server on port 25, can you do that? Is there a firewall that might be blocking your mail? Does your ISP allow you to run a mail server on port 25?
here is the output for zmcontrol -v

Code: Select all

zimbra@mailer:~$ zmcontrol -v
Release 8.8.15.GA.3847.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P1.
about tests, i ran a tracerout to google on port 25 and got nothing

Code: Select all

root@mailer:/home/javier# traceroute -T -p 25 alt4.gmail-smtp-in.l.google.com
traceroute to alt4.gmail-smtp-in.l.google.com (64.233.186.27), 30 hops max, 60 byte packets
 1  10.0.4.1 (10.0.4.1)  0.402 ms  0.686 ms  0.663 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
and heres the result of telnet on google server

Code: Select all

root@mailer:/home/javier# telnet alt4.gmail-smtp-in.l.google.com 25
Trying 64.233.186.27...
as far as i know my isp is blocking port 25 , cause i also have my router pointing port 25 directly to my mail server and i have no firewall running in between , in fact my firewall on my ubuntu machine is disable, im trying to see if i can have my isp unclock port 25 on me but if not i want to know if theres a way to change this port on zimbra to work on a diferent one like 2525, that one is not blocked cause i already made tests to that port
javito1081
Posts: 18
Joined: Wed Sep 11, 2019 4:23 am

Re: Cant Send/Receive To/From external Domains

Post by javito1081 »

i just hang up with my isp and yes they block port 25, i mean i did all the testing necesary and i already knew it but still i wanted to make sure and the answer is yes, since i have a residential connection they wont open that port to me unless i go as business, so thats it, ether i change the port or i wont be able to send/receive to/from external domains, is there a way to change this port with zimbra?
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Cant Send/Receive To/From external Domains

Post by phoenix »

You can either relay through the mail server of your ISP or use a professional service (some are free for 'ligjt' users) but you'd haver to do an internet search for that. Details of relaying through another server are in a wiki article on that subjec, sorry I don't have the link to hand as I'm travelling ATM.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
javito1081
Posts: 18
Joined: Wed Sep 11, 2019 4:23 am

Re: Cant Send/Receive To/From external Domains

Post by javito1081 »

ok i set it up on my work isp and everything is working fine now since they have port 25 open, now how do i give zimbra an ssl certificate from letsencrypt for example?

edit: nvm, found a nice script to do it hehe, one more question, how do i open up the chat windows? its not loading up by default :-(

edit2: ok i just checked and i have no zimlets :S why is this? where do i download extra zimlets? for example on my previous instalation i had all zimlets and i was able to right click an account and open its mail and on this one the one that is working doesnt show that option :-(

edit3: fixed it, for some unknown reason the installer didnt install any zimlets when i finished the instalation, so i had to do it manually from the zimlets folder hehe
Post Reply