This commit is contained in:
iredmail 2019-10-07 22:20:32 +08:00
parent b327b2e2e9
commit 1e204f0ad8
5 changed files with 24 additions and 40 deletions

View File

@ -19,7 +19,7 @@ Name | Comment
[SOGo Groupware](http://sogo.nu) | A groupware which provides calendar (CalDAV), contact (CardDAV), tasks and ActiveSync services
[Fail2ban](http://www.fail2ban.org) | Scans log files and bans IPs that show the malicious signs
[Awstats](http://www.awstats.org) | Apache and Postfix log analyzer
[iRedAPD](https://bitbucket.org/zhb/iredapd/) | A postfix policy server developed by iRedMail team
[iRedAPD](https://bitbucket.org/zhb/iredapd/) | A simple postfix policy server developed by iRedMail team, with SRS (Sender Rewrite Scheme) support.
<strike>[Cluebringer](http://www.policyd.org)</strike> | <strike>A postfix policy server. Deprecated since iRedMail-0.9.3.</strike>
## The Big Picture

View File

@ -10,13 +10,13 @@ digraph inbound {
//postfix[label="Postfix (MTA)", style=filled]
postfix_postscreen[label="Postfix (postscreen)", style=filled]
postfix_smtpd[label="Postfix (smtpd)", style=filled]
postfix_queue[label="Postfix (queue)", style=filled]
//postfix_iredapd[label="Postfix (smtpd)"]
dovecot[label="Dovecot (POP3/IMAP/Sieve/LDA/LMTP/SASL)", style=filled]
iredapd[label="iRedAPD (Postfix Policy Server)", style=filled, shape=diamond]
db[label="OpenLDAP, MySQL/MariaDB/PostgreSQL", style=filled]
//amavisd[label="Amavisd", style=filled]
amavisd_10024[label="Amavisd (port 10024)", style=filled, shape=diamond]
postfix_queue_10025[label="Postfix queue", style=filled]
sa_clamav[label="SpamAssassin, ClamAV", style=filled]
mailboxes[label="Mailboxes"]
@ -25,20 +25,20 @@ digraph inbound {
sender_server -> postfix_postscreen[label=" Enter iRedMail Server, Port 25", style=dotted]
postfix_postscreen -> sender_server[label=" REJECT", color=red]
postfix_postscreen -> postfix_smtpd
postfix_smtpd -> iredapd[label=" Greylisting \nWhitelisting \nBlacklisting \nThrottling \n..."]
postfix_smtpd -> iredapd[label=" Greylisting \nWhitelisting \nBlacklisting \nThrottling \n SRS (Recipient Address Rewriting, port 7779) \n..."]
postfix_smtpd -> db[label="User verification"]
iredapd -> postfix_smtpd[label=" DUNNO \nREJECT \n451 (Greylisting) \n...", color=blue]
iredapd -> postfix_smtpd[label=" DUNNO \nREJECT \n451 (Greylisting) \nOK (Whitelisting)...", color=blue]
iredapd -> db[label="User verification"]
postfix_smtpd -> sender_server[label=" REJECT \n451 (Greylisting)", color=red]
postfix_smtpd -> amavisd_10024[label=" Pipe to port 10024 for spam/Virus scanning and more"]
amavisd_10024 -> postfix_smtpd[label=" REJECT, BOUNCE, ... \n(Detected SPAM/VIRUS, ...)", color=blue]
amavisd_10024 -> sa_clamav[label=" Spam/Virus Scanning \nDKIM verification \n..."]
postfix_smtpd -> amavisd_10024[label=" Spam/Virus scanning\nDKIM verification\nand more"]
amavisd_10024 -> postfix_smtpd[label=" DISCARD\nREJECT\nBOUNCE...", color=blue]
amavisd_10024 -> sa_clamav[label=" Spam/Virus Scanning \nDKIM verification \n...", dir="both"]
amavisd_10024 -> db[label=" User verification \nWhite/Blacklisting \nQuarantine Spam/Virus \n..."]
sa_clamav -> postfix_queue
postfix_queue-> dovecot[label=" Pipe"]
amavisd_10024 -> postfix_queue_10025[label="Re-inject scanned message to queue (Port 10025)"]
postfix_queue_10025 -> dovecot[label=" Pipe/LMTP"]
dovecot -> db[label=" User Authentication"]
dovecot -> mailboxes[label=" LDA, LMTP"]
dovecot -> postfix_smtpd[label=" REJECT (mailbox quota exceed)", color=blue]
dovecot -> postfix_smtpd[label=" REJECT (mailbox quota exceeded)", color=blue]
//end_users -> dovecot[label="Retrieve mails via POP3/IMAP"]
//end_users -> postfix[label="Send email (port 587)"]
//Webmail -> dovecot[label="Access mailbox on web browser (IMAP)"]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -9,30 +9,29 @@ digraph outbound {
recipient[label="Recipient"]
rcpt_server[label="Recipient Server"]
postfix_smtpd[label="Postfix (smtpd)", style=filled]
postfix_smtp[label="Postfix (smtp)", style=filled]
postfix_queue[label="Postfix (queue)", style=filled]
postfix_submission[label="Postfix (submission, port 587, TLS)", style=filled]
postfix_queue_10028[label="Postfix queue", style=filled]
//postfix_iredapd[label="Postfix (smtpd)"]
dovecot[label="Dovecot (POP3/IMAP/Sieve/LDA/LMTP/SASL)", style=filled]
iredapd[label="iRedAPD (Postfix Policy Server)", style=filled, shape=diamond]
db[label="OpenLDAP, MySQL/MariaDB/PostgreSQL", style=filled]
//amavisd[label="Amavisd", style=filled]
//amavisd_10024[label="Amavisd (for incoming mails, port 10024)", style=filled]
sa_clamav[label="SpamAssassin, ClamAV", style=filled]
amavisd_10026[label="Amavisd (for submission, port 10026)", style=filled, shape=diamond]
amavisd_10027[label="Amavisd (for MLMMJ mailing list, port 10027)", style=filled, shape=diamond]
//mailboxes[label="Mailboxes"]
sender -> postfix_submission[label=" Enter iRedMail Server", style=dotted]
postfix_submission -> iredapd[label=" White/Blacklisting\n Throttling\n Sender Login Mismatch\n ..."]
sender -> postfix_submission[label=" Connects to iRedMail Server", style=dotted]
postfix_submission -> iredapd[label=" White/Blacklisting\n Throttling\n Sender Address Rewriting (SRS, port 7778)\n ..."]
iredapd -> postfix_submission[label=" DUNNO \nREJECT \n...", color=blue]
postfix_submission -> amavisd_10026[label=" Spam/Virus Scanning"]
amavisd_10026 -> sa_clamav[label=" Spam/Virus Scanning \nDKIM verification \n..."]
sa_clamav -> amavisd_10026
amavisd_10026 -> postfix_queue[label=" Submit to mail queue"]
amavisd_10026 -> sa_clamav[label=" Spam/Virus Scanning \nDKIM verification \n...", dir="both"]
amavisd_10026 -> postfix_queue[label=" Inject scanned message to Postfix queue"]
postfix_queue -> postfix_smtpd
postfix_smtpd -> rcpt_server[label=" Leave iRedMail Server", style=dotted]
postfix_queue -> postfix_smtp
postfix_smtp -> rcpt_server[label=" Leave iRedMail Server", style=dotted]
rcpt_server -> recipient[style=dotted]
amavisd_10026 -> postfix_submission[label=" REJECT, BOUNCE, ... \n(Detected SPAM/VIRUS, ...)", color=blue]
@ -46,24 +45,9 @@ digraph outbound {
//postfix_submission -> sender[label=" REJECT, ...", color=red]
/*
end_users -> postfix_submission[label=" Enter iRedMail Server", style=dotted]
postfix_submission -> iredapd[label=" White/Blacklisting, Throttling"]
postfix_submission -> amavisd_10026[label=" Spam/Virus Scanning"]
postfix_submission -> dovecot[label="User Authentication \n(Dovecot is SASL AUTH server)"]
postfix_submission -> db[label=" User Verification"]
iredapd -> postfix_submission[label=" DUNNO \nREJECT \n...", color=blue]
iredapd -> db[label=" User Verification\n Additional SQL/LDAP queries"]
amavisd_10026 -> sa_clamav[label=" Spam/Virus Scanning \nDKIM verification \n..."]
amavisd_10026 -> postfix_queue[label=" Submit to mail queue"]
amavisd_10026 -> postfix_submission[label=" REJECT, BOUNCE, ... \n(Detected SPAM/VIRUS, ...)", color=blue]
amavisd_10026 -> db[label=" User verification \nWhite/Blacklisting \nQuarantine Spam/Virus \n..."]
dovecot -> db
sa_clamav -> amavisd_10026
*/
// MLMMJ mailing list
postfix_submission -> amavisd_10027[label="Recipient is a mailing list"]
amavisd_10027 -> sa_clamav[label="Spam/Virus scanning\n DKIM signing\n ...", dir="both"]
amavisd_10027 -> postfix_queue_10028[label=" Inject scanned message to Postfix queue (Port 10028)"]
postfix_queue_10028 -> postfix_smtp
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 230 KiB