]> git.proxmox.com Git - pmg-docs.git/blame - pmg-intro.adoc
d/control: add missing ${misc:Depends}
[pmg-docs.git] / pmg-intro.adoc
CommitLineData
410dc2c9
DM
1Introduction
2============
3
6cb534d7
DM
4What is {pmg}?
5--------------
6
fc362add 7Email security begins at the gateway, by controlling all incoming and
09e283f2 8outgoing email messages. {pmg} addresses the full spectrum of
fc362add
DW
9unwanted email traffic, focusing on spam and virus detection. {pmg}
10provides a powerful and affordable server solution to eliminate spam and
11viruses, and block undesirable content from your email system. All
6cb534d7
DM
12products are self-installing and can be used without deep knowledge of
13Linux.
14
95f2ea5b 15image::images/Proxmox_Mail_Gateway_Mailprocessing_final_1024.png[]
b8c7b823 16
fc9071c3
DM
17Features
18--------
19
aecce55c 20[[intro_spam_detection]]
fc9071c3
DM
21Spam detection
22~~~~~~~~~~~~~~
23
24{pmg} uses a wide variety of local and network tests to identify spam
25mail. Here is a short list of used filtering methods:
26
27Receiver Verification::
28
29Many of the junk messages reaching your network are emails to
fc362add
DW
30non-existent users. {pmg} detects these emails on the SMTP
31level, before they are transferred to your network. This
32reduces the traffic to be analyzed for spam and viruses by up to 90% and
fc9071c3
DM
33reduces the working load on your mail servers and scanners.
34
35Sender policy framework (SPF)::
36
37Sender Policy Framework (SPF) is an open standard for validating
fc362add
DW
38emails and preventing sender IP address forgery. SPF allows the
39administrator of an internet domain to specify which computers are
40authorized to send emails with a given domain, by creating a specific
fc9071c3
DM
41SPF record in the Domain Name System (DNS).
42
43DNS-based Blackhole List::
44
fc362add 45A DNS-based Blackhole List (DNSBL) is a means by which an internet
fc9071c3 46site may publish a list of IP addresses, in a format which can be
fc362add 47easily queried by computer programs on the Internet. The technology is
fc9071c3
DM
48built on top of the Domain Name System. DNSBLs are used to publish
49lists of addresses linked to spamming.
50
51SMTP Whitelist::
52
53Exclude senders from SMTP blocking. To prevent all SMTP checks
74ec1f38 54(Greylisting, Receiver Verification, SPF and DNSBL) and accept all
fc362add 55emails for analysis in the filter rule system, you can add the
fc9071c3
DM
56following to this list: Domains (Sender/Receiver), Mail address
57(Sender/Receiver), Regular Expression (Sender/Receiver), IP address
fc362add 58(Sender), IP network (Sender).
fc9071c3
DM
59
60Bayesian Filter - Automatically trained statistical filters::
61
fc362add
DW
62Certain words have a higher probability of occurring in spam
63emails than in legitimate emails. By being trained to
64recognize those words, the Bayesian filter checks every email and adjusts the
ed0c5b1b 65probabilities of it being a spam word or not in its database. This is
fc9071c3
DM
66done automatically.
67
68Black- and Whitelists::
69
70Black- and Whitelists are an access control mechanism to accept,
71block, or quarantine emails to recipients. This allows you to tune the
72rule-system by applying different objects like domains, email address,
73regular expression, IP Network, LDAP Group, and others.
74
fc362add 75Auto-learning algorithm::
fc9071c3 76
ed0c5b1b 77{pmg} gathers statistical information about spam
fc362add 78emails. This information is used by an auto-learning algorithm, meaning the
fc9071c3
DM
79system becomes smarter over time.
80
fc362add 81Spam URI Real-time Block List (SURBL)::
fc9071c3 82
fc362add
DW
83SURBLs are used to detect spam, based on the URIs in the message body (usually
84websites). This makes them different from most other Real-time
fc9071c3
DM
85Blocklists, because SURBLs are not used to block spam senders. SURBLs
86allow you to block messages that have spam hosts which are mentioned
87in message bodies.
88
89Greylisting::
90
0ca4b5a0
TL
91Greylisting an email means that unknown senders are intentionally temporarily
92rejected. Since temporary failures are part of the specifications for mail
fc362add 93delivery, a legitimate server will try to resend the email later on. Spammers,
0ca4b5a0
TL
94on the other hand, do not queue and reattempt mail delivery. A greylisted email
95never reaches your mail server and thus your mail server will not send useless
fc362add 96"Non Delivery Reports" to spammers. Additionally, greylisted mail is not
0ca4b5a0 97analyzed by the antivirus and spam-detector engines, which saves resources.
fc9071c3 98+
a446f8be
SI
99A mail is greylisted if it is the first mail from a sender to a receiver
100coming from a particular IP network. You can configure which IP addresses
101belong to the same network, by setting an appropriate netmask for greylisting.
fc9071c3 102
78b3ca71
DM
103SMTP Protocol Tests::
104
105{postfix} is able to do some sophisticated SMTP protocol tests (see
106`man postscreen`). Most spam is sent out by zombies (malware on
107compromised end-user computers), and those zombies often try to
108maximize the amount of mails delivered. In order to do that, many of
fc362add 109them violate the SMTP protocol specification and thus can be detected
78b3ca71
DM
110by these tests.
111
89028579
SI
112Before and After Queue Filtering::
113
114{pmg} can be configured to either accept the mail, by sending a response
115of '250 OK', and scan it afterwards, or alternatively inspect the mail
116directly after it has the content and respond with a reject '554' if the
117mail is blocked by the rule system. These options are known as After Queue
118and Before Queue filtering respectively (see
119xref:pmgconfig_mailproxy_before_after_queue[Before and After Queue Scanning]).
120
121Configurable NDR policy::
122
fc362add 123In certain environments, it can be unacceptable to discard an email, without
89028579
SI
124informing the sender about that decision. You can decide whether you want
125to inform the senders of blocked emails or not.
fc9071c3
DM
126
127Virus detection
128~~~~~~~~~~~~~~~
129
130{pmg} integrates {clamav}, which is an open-source (GPL) antivirus
fc362add 131engine, designed for detecting Trojans, viruses, malware, and other
fc9071c3
DM
132malicious threats.
133
fc362add 134It provides a high performance, multi-threaded scanning daemon, command
fc9071c3
DM
135line utilities for on demand file scanning, and an intelligent tool
136for automatic signature updates.
137
138
86986abc
DM
139Object-Oriented Rule System
140~~~~~~~~~~~~~~~~~~~~~~~~~~~
141
142The object-oriented rule system enables custom rules for your
143domains. It’s an easy but very powerful way to define filter rules by
144user, domains, time frame, content type and resulting action. {pmg}
145offers a lot of powerful objects to configure your own custom system.
146
86986abc
DM
147WHO - objects::
148
09e283f2 149Who is the sender or receiver of the email?
86986abc
DM
150
151WHAT - objects::
152
09e283f2 153What is in the email?
86986abc
DM
154
155WHEN - objects::
156
fc362add 157When was the email received by {pmg}?
86986abc 158
62e86eb6
DM
159ACTIONS - objects::
160
161Defines the final actions.
162
fc362add 163Every rule has five categories FROM, TO, WHEN, WHAT and ACTION. Each
86986abc
DM
164of these categories can contain several objects and a direction (in,
165out or both).
166
167Options range from simple spam and virus filter setups to
fc362add 168sophisticated, highly customized configurations, blocking certain types
09e283f2 169of emails and generating notifications.
86986abc 170
8812517f
TL
171Web-based Management Interface
172~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173
fc362add
DW
174{pmg} makes email security and filtering simple to manage. The web-based
175management interface allows you to set up and maintain even a complex mail
176system with ease.
8812517f
TL
177
178[thumbnail="pmg-gui-dashboard.png"]
179
fc362add 180There is no need to install a separate management tool. Any modern internet
8812517f 181browser is sufficient.
86986abc 182
78b3ca71
DM
183Spam Quarantine
184~~~~~~~~~~~~~~~
185
fc362add
DW
186Identified spam mails can be stored in the user-accessible Spam Quarantine.
187Thus, users can view and manage their spam mails by themselves.
78b3ca71
DM
188
189
fc9071c3
DM
190Tracking and Logging
191~~~~~~~~~~~~~~~~~~~~
192
193The innovative Proxmox Message Tracking Center tracks and summarizes
d9aff9ab 194all available logs. With the web-based and user-friendly management
fc362add 195interface, IT admins can easily view and control all
fc9071c3
DM
196functions from a single screen.
197
fc362add
DW
198The Message Tracking Center is fast and powerful. It has been tested on
199{pmg} sites which process over a million emails per day. All log
200files from the last 7 days can be queried, and the results are
fc9071c3
DM
201summarized by an intelligent algorithm.
202
d9aff9ab
OB
203The logged information includes:
204
fc9071c3 205- Arrival of the email
fc362add 206- Proxmox filter processing with results
fc9071c3
DM
207- Internal queue to your email server
208- Status of final delivery
209
210
6441fbe9
SI
211DKIM Signing
212~~~~~~~~~~~~
213
214{pmg} offers the possibility to optionally sign outgoing emails with
215xref:pmgconfig_mailproxy_dkim[DKIM].
216
217
2350185a
DM
218High Availability with Proxmox HA Cluster
219~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220
221To provide a 100% secure email system for your business, we developed
222Proxmox High Availability (HA) Cluster. The Proxmox HA Cluster uses a
fc362add
DW
223unique application-level clustering scheme, which provides extremely
224good performance. It is quick to set-up and the simple, intuitive
225management interface keeps resource requirements low. After temporary failures,
226nodes automatically reintegrate without any operator interaction.
2350185a 227
fc362add 228LDAP Integration
78b3ca71
DM
229~~~~~~~~~~~~~~~~
230
d92de681 231It is possible to query user and group data from LDAP servers. This may be
fc362add
DW
232used to build special filter rules, or simply to provide authentication services
233for the Spam Quarantine GUI.
78b3ca71
DM
234
235
fc362add 236Fetchmail Integration
78b3ca71
DM
237~~~~~~~~~~~~~~~~~~~~~
238
ed0c5b1b 239{pmg} allows you to fetch mail from other IMAP or POP3 servers.
78b3ca71
DM
240
241
242Flexible User Management
243~~~~~~~~~~~~~~~~~~~~~~~~
244
d9aff9ab 245The administration interface uses a role-based access control scheme,
78b3ca71
DM
246using the following roles:
247
248Superuser::
249
250This role is allowed to do everything (reserved for user 'root').
251
ed0c5b1b 252Administrator::
78b3ca71 253
fc362add
DW
254Full access to the mail filter setup, but not allowed to alter the network
255setup.
78b3ca71
DM
256
257Quarantine Manager::
258
259Is able to view and manage the Spam Quarantine.
260
261Auditor::
262
263Has read-only access to the whole configuration, can access logs and
264view statistics.
265
d3f2911a
TL
266Helpdesk::
267
d92de681 268Combines permissions of the 'Auditor' and the 'Quarantine Manager' role.
d3f2911a 269
2350185a 270
b8c7b823
DM
271Your benefit with {pmg}
272-----------------------
273
fc362add 274* Open-source software
b8c7b823
DM
275* No vendor lock-in
276* Linux kernel
277* Fast installation and easy-to-use
278* Web-based management interface
279* REST API
fc362add 280* Huge, active community
b8c7b823
DM
281* Low administration costs and simple deployment
282
283
284include::getting-help.adoc[]