Iredmail Integrated Razor2 and Pyzor

Source: Internet
Author: User
Keywords nbsp firewall Port
Tags aliyun default etc file firewall html http https

Open firewall port
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;
Razor2: Firewall port must be open 2307/tcp

Pyzor: Firewall port must be open 24441/UDP

Edit/etc/default/iptables File

# HTTPS, Smtp/smtps, pop3/pop3s, imap/imaps, SSH
-A input-p tcp-m multiport--dport 80,443, 25,465,110,995,143,993,587,
465,22,2307,24441-j ACCEPT # <--ADD 2307 24441

Restart the Iptables service

#/etc/init.d/iptables Restart

Install Razor2

root@mail:~# Apt Install razor
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
The following NEW packages would be DWORD:
Razor
0 upgraded, 1 newly DWORD, 0 to-remove and not upgraded.
Need to get 125kB of archives.
After this twist, 549kB of additional disk space would be used.
Get:1 http://archive.ubuntu.com jaunty/universe Razor 1:2.85-1 [125kB]
fetched 125kB in 1s (99.4kb/s)
Selecting previously deselected package Razor.
(Reading database ...) 23030 files and directories currently DWORD.)
Unpacking razor (from .../razor_1%3a2.85-1_amd64.deb) ...
Setting up Razor (1:2.85-1) ...

Set Razor2

root@mail:~# Mkdir/var/lib/amavis/.razor; CHOWN-RF Amavis:amavis/var/lib/amavis/.razor

root@mail:~#
root@mail:~# su Amavis
$ razor-admin-home=/var/lib/amavis/.razor-create
$ razor-admin-home=/var/lib/amavis/.razor-discover
$ razor-admin-home=/var/lib/amavis/.razor-register
Register successful. Identity stored In/var/lib/amavis/.razor/identity-rupcwq7auy
$ exit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.