Only local for some mails

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Zak
Posts: 3
Joined: Wed Apr 24, 2019 11:40 pm

Only local for some mails

Postby Zak » Wed Apr 24, 2019 11:45 pm

Hello we want to make only admin@ourdomain.com to be able to send mail to external mails

for example : admin@ourdomain.com can mail someuser@gmail.com, someuser@yahoo.com

But

user1@ourdomain.com can only mail @ourdomain.com , and cannot mail someuser@gmail.com, someuser@yahoo.com


I hope you understand me

Thanks.


imanudin11
Outstanding Member
Outstanding Member
Posts: 297
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

Re: Only local for some mails

Postby imanudin11 » Thu Apr 25, 2019 4:04 am

Zak wrote:Hello we want to make only admin@ourdomain.com to be able to send mail to external mails

for example : admin@ourdomain.com can mail someuser@gmail.com, someuser@yahoo.com

But

user1@ourdomain.com can only mail @ourdomain.com , and cannot mail someuser@gmail.com, someuser@yahoo.com


I hope you understand me

Thanks.

Hello,
Use policyd and create some rule for your requirement. Below is example about rule on policyd : https://imanudin.net/2014/09/29/how-to- ... h-policyd/
User avatar
DualBoot
Elite member
Elite member
Posts: 1308
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Only local for some mails

Postby DualBoot » Thu Apr 25, 2019 10:00 am

Hello,

what are error messages when user1 sends mails to external domains ?

Regards,
Klug
Elite member
Elite member
Posts: 2378
Joined: Mon Dec 16, 2013 11:35 am
Contact:

Re: Only local for some mails

Postby Klug » Thu Apr 25, 2019 11:41 am

Zak
Posts: 3
Joined: Wed Apr 24, 2019 11:40 pm

Re: Only local for some mails

Postby Zak » Thu May 02, 2019 3:02 am

https://wiki.zimbra.com/wiki/Block_user ... externally

I have test it, but i got error when i mail

Restricted, even it's my local domain

Can someone help me?

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 16 guests