Saturday, March 9, 2019

Reject Unlisted Domain ເທິງ Zimbra 8.5 ດ້ວຍ policyd

Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-groups.jpg?resize=825%2C154

ມີຂັ້ນຕອນດັ່ງນີ້:

1. ເລືອກ Policies > Groups.
2. ໃນ action ເລືອກ add
3.ໃສ່ຄຳວ່າ list_domain ໃນຫ້ອງ Name ສ່ວນໃນຫ້ອງ comment ປະຫວ່າງເປົາ ແລ້ວກົດ Submit Query
4. ກັບຄືນມາລາຍການ ແລ້ວເລືອກ list_domain>Action>Change>ຫ້ອງ Disabled ເລືອກເປັນ no >Submit Query ແລ້ວກັບຄືນ
Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-groups.jpg?resize=825%2C154
5. ເລືອກ list_domain>Action>Add ໃຫ້ໃສ່ຂໍ້ມູນ Name= @domain.com >Submit Query>Back to group #domain ແມ່ນໝາຍເຖິງໂດເມນຂອງທ່ານ
Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-members-groups.jpg?resize=825%2C161

5. ເລືອກ list_domain>Action>Member>ເລືອກ @domain.com>action>Change>Disabled=no>Submit Query>Back
6.Policy>main>action>add> name=Reject Unlisted Domain, Priority=21, Description=Reject Unlisted Domain>submit Query>Back to group
7. ເລືອກ Reject Unlisted Domain>action>change>disabled=no>submit query>back to group
Image does not exist: https://i1.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-reject-unlisted-domain.jpg?resize=413%2C217
8. ເລືອກ Reject Unlisted Domain>action>member>action>add source=!%list_domain, Destinition=!%list_domain >back to member
Image does not exist: https://i1.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-reject-member.jpg?resize=821%2C152
9. ໃນ member ຂອງ Reject Unlisted Domain ໃຫ້ທ່ານເປີດໃຊ້ ຈາກ disabled=no
10. Access control>configure>action>new

Name : Reject Unlisted Domain
Link to policy : Reject Unlisted Domain (New policy has previously been made)
Verdict : Reject
Data : Sorry, you are not authorized to sending email

ແລ້ວ submit query
ດັ່ງຮູບ
Image does not exist: https://i2.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-acl.jpg?resize=426%2C263
11. ເປີດໃຊ້ ຈາກ disabled=no ທຸກການຕັ້ງຄ່າ ດ້ວຍການ ເລືອກ Sorry, you are not authorized to sending email>action>change ເລືອກໃນຫ້ອງ disabled=no
12. ຂັ້ນຕອນສຸດທ້າຍໃຫ້ໃຊ້ຄົສັ່ງນີ້:

su - zimbra
zmprov ms `zmhostname` zimbraCBPolicydAccessControlEnabled TRUE
zmcbpolicydctl restart

ຂ້າງລຸ່ມແມ່ນຜົນທົດສອບ

mail:~ # telnet localhost 25
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
220 mail.xxxxxxx.xxx ESMTP Postfix
ehlo mail
250-mail.xxxxxxx.xxx
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:[email protected]
250 2.1.0 Ok
rcpt to:[email protected]
554 5.7.1 : Sender address rejected: Sorry, you are not authorized to sending email

ເບິ່ງວິດີໂອ

Thanks::https://sites.google.com/site/redhatmailserver/linux/zimbra/mix-conf?tmpl=%2Fsystem%2Fapp%2Ftemplates%2Fprint%2F&showPrintDialog=1

Subscribe

  • RSS Atom

ອອນລາຍ: 1 | ມື້ນີ້: 13 | ວານນີ້: 25 | ທິດນີ້: 93 | ເດືອນນີ້: 872 | ປີນີ້: 11832 | ລວມ: 78935