How to Restrict Sending to Distribution list in zimbra mail

How to Restrict Sending to Distribution list in zimbra mail. in my post, i'm use to zimbra 8.6 open source edit.





Links to below you maybe likes:
zimbra custom spamassassin rules
How to create auto Bcc for Recipient mails for Zimbra 8.6
How to add spam filters on zimbra 8.6
How to create auto Bcc for sender mails for Zimbra 8.6
list accounts that has not logged in for the last x days in zimbra

Step 1: if you have not distribution list, you can create distribution list as bellow.


$zmprov cdl [email protected]

Add a member to a distribution list. Tip: You can add multiple members to a list from the administration console:

$zmprov adlm [email protected] [email protected]
$zmprov adlm [email protected] [email protected]







Step 2: To enable milter services, two way


From administration console to enable milter services
How to Restrict Sending to Distribution list in zimbra mail


To use command line to enable milter services.

$zmprov ms `zmhostname` zimbraMilterServerEnabled TRUE
$zmmailboxdctl restart
$zmmtactl restart
$zmcontrol status
$zmmilterctl start

The only list member can sending mail to [email protected]
$zmprov grr dl [email protected] grp [email protected] sendToDistList

To check permistion member can sedding [email protected]

$zmprov ckr dl [email protected] [email protected] sendToDistList
The output
DENIED
$zmprov ckr dl [email protected] [email protected] sendToDistList
The output

ALLOWED
Via:
    target type  : dl
    target       : [email protected]
    grantee type : grp
    grantee      : [email protected]
    right        : sendToDistList
The result

The display, account [email protected] to restrict sending to distribution list [email protected].

How to Restrict Sending to Distribution list

Comments

  1. Hi Huu Phan

    Is this for Zimbra 8.6.0_GA_1153.FOSS?
    Awaiting for your reply....
    Rgds
    Rajesh.A

    ReplyDelete
  2. Hi Huu Phan

    i tried the option suggested here but still the mails are being received on all ID’s not just the ones specified in the sendto list users.

    is there something else we can do?
    We Are Using Zimbra 8.6.0_GA_1153.FOSS....


    ReplyDelete
    Replies
    1. you enabled "milter services"? you can check permit another member can sedding distribution list DENY or ALLOWED

      Delete
  3. All are done....still same pblm...what i do..pls help me...
    soory...again asking is this supported for open source[zimbra 8.6.0_GA_1153.FOSS] pls confirm

    ReplyDelete
    Replies
    1. Hi Rnija R, Milter services only running on MTA server.
      you can #tailf /var/log/zimbra.log view log?
      you can via https://wiki.zimbra.com/wiki/Enabling_and_administering_the_Zimbra_milter

      Delete
  4. Hi
    In our case, we were using zimbra 8.6 and every incoming mails had a delay around 20 minutes and that all mails are stuck in active section….pls guide me on this….

    Rgds
    Rajesh.A

    ReplyDelete
  5. Thanks phan...distribution list working started....

    ReplyDelete
  6. HI Kuppan
    We not able to receving mails from external and internal domain could please help me..
    Pls find the error this is taken from zimbra log....
    Apr 5 16:53:22 mail postfix/smtpd[32600]: NOQUEUE: reject: RCPT from unknown[52.172.13.58]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=

    Rgds
    Rajesh.A

    ReplyDelete
  7. HI Kuppan
    We not able to receving mails from external and internal domain could please help me..
    Pls find the error this is taken from zimbra log....
    Apr 5 16:53:22 mail postfix/smtpd[32600]: NOQUEUE: reject: RCPT from unknown[52.172.13.58]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
    How to solve this issue...
    Rgds
    Rajesh.A

    ReplyDelete
  8. Hi Rajesh.A
    "554 5.7.1 : Relay access denied;" Error from MTA. you can check via to Admin GUI -> Global Settings -> MTA.? ZimbraMtaMyNetworks ?
    Link ref to: https://wiki.zimbra.com/wiki/ZimbraMtaMyNetworks



    ReplyDelete

Post a Comment

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install and configure zimbra multi server