Page 1 of 2

Zimbra relaying

Posted: Mon Jun 24, 2019 5:24 pm
by Blisk
How to setup zimbra so I can send email from everywhere but it must have smtp authentication to preven spammers to send spam throu it.
I checked this article but in this setup I need to add domains from which it will be relayed and I can not do that because ti should be from everywhere.

https://wiki.zimbra.com/wiki/Sending_ma ... rnal_relay

is it possible to setup Zimbra so I can send emails with SMTP authentication from everywhere?

Re: Zimbra relaying

Posted: Mon Jun 24, 2019 6:37 pm
by phoenix
If you're talking about your users sending mail then they should send it via the correct Submission port which is 587 not port 25.

BTW, by default ZCS is not an open relay for spammers.

Re: Zimbra relaying

Posted: Tue Jun 25, 2019 7:33 am
by Blisk
I have setup port 587 in my outlook and I can not send email.
And I am not on local network but on some other location.

Re: Zimbra relaying

Posted: Tue Jun 25, 2019 9:43 am
by phoenix
Blisk wrote:I have setup port 587 in my outlook and I can not send email.
And I am not on local network but on some other location.
That doesn'teally tell us much, does it. You need to provide a better description about why it doesn't work and wat errors you see in the log files.

FWIW, there should be no problem sending mail vai ZCS no matter where in the world your mail client is located and nobody else (including me) has any problem doing that. ;)

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 6:48 am
by Blisk
I have setup for IMAP port 933
and for SMTP port 587
And for both autodetect.
I checked mailbox.log and nothing there

In outlook I get error
login into IMAP security connection refused

Outlook can not connect outgoing email SMTP...

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 7:39 am
by phoenix
Blisk wrote:In outlook I get error
login into IMAP security connection refused
That's not a problem with Zimbra, you most likely have a configuration problem. Check you DNS records, hosts & resolv file to make sure theyre correct etc., etc......

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 7:44 am
by Blisk
this is hosts file
127.0.0.1 localhost.localdomain localhost
192.168.100.200 mydomain.com mail.mydomain.com


this is resolv.conf file
search mydomain.com
nameserver 127.0.0.1
nameserver 192.168.100.200
nameserver 217.72.64.222

My computer/outlook is not in local network but outside of it.

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 9:21 am
by phoenix
Blisk wrote:this is hosts file
127.0.0.1 localhost.localdomain localhost
192.168.100.200 mydomain.com mail.mydomain.com

this is resolv.conf file
search mydomain.com
nameserver 127.0.0.1
nameserver 192.168.100.200
nameserver 217.72.64.222

My computer/outlook is not in local network but outside of it.
I've told you this several times and even given the correct format in an earlier post but here we go again: your hosts file format for the LAN IP entry is incorrect, read my earlier post with the example in it and change it in your current file.

In addition (I've also mentioned this) as you're behind a NAT router your resolv file should ony have the LAN DNS server in it and not an external DNS server - this is most likely the cause of your problem(s).

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 11:28 am
by Blisk
I have exactly the same as it is here for hosts
https://wiki.zimbra.com/wiki/Split_DNS
127.0.0.1 localhost.localdomain localhost
192.168.0.200 zimbra.test.com zimbra

and I changed it as you said
192.168.0.200 mail.mydomain.com mail

and here is resolve.conf
search mydomain.com
nameserver 127.0.0.1



I also did this many times what you said I should have but didn't work. And this is not how it is described in wiki.
2019-06-27 13_31_15-(2) Zimbra installation Ldap failure - Zimbra Forums.png
2019-06-27 13_31_15-(2) Zimbra installation Ldap failure - Zimbra Forums.png (13.95 KiB) Viewed 2079 times

I really don't know what you want me to change, I looks like I should ask on some other forum.

Re: Zimbra relaying

Posted: Thu Jun 27, 2019 12:35 pm
by phoenix
Blisk wrote:I really don't know what you want me to change, I looks like I should ask on some other forum.
How about an explanation as to why you posted completely different details in your post to which I replied?