Zimbra relaying

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Blisk
Posts: 34
Joined: Tue May 21, 2019 7:47 am

Zimbra relaying

Postby Blisk » Mon Jun 24, 2019 5:24 pm

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?


phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra relaying

Postby phoenix » Mon Jun 24, 2019 6:37 pm

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.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Blisk
Posts: 34
Joined: Tue May 21, 2019 7:47 am

Re: Zimbra relaying

Postby Blisk » Tue Jun 25, 2019 7:33 am

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.
phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra relaying

Postby phoenix » Tue Jun 25, 2019 9:43 am

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. ;)
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Blisk
Posts: 34
Joined: Tue May 21, 2019 7:47 am

Re: Zimbra relaying

Postby Blisk » Thu Jun 27, 2019 6:48 am

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...
phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra relaying

Postby phoenix » Thu Jun 27, 2019 7:39 am

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......
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Blisk
Posts: 34
Joined: Tue May 21, 2019 7:47 am

Re: Zimbra relaying

Postby Blisk » Thu Jun 27, 2019 7:44 am

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.
phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra relaying

Postby phoenix » Thu Jun 27, 2019 9:21 am

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).
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Blisk
Posts: 34
Joined: Tue May 21, 2019 7:47 am

Re: Zimbra relaying

Postby Blisk » Thu Jun 27, 2019 11:28 am

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 746 times



I really don't know what you want me to change, I looks like I should ask on some other forum.
phoenix
Ambassador
Ambassador
Posts: 26295
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra relaying

Postby phoenix » Thu Jun 27, 2019 12:35 pm

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?
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 11 guests