# Major open source softwares used in iRedMail

## Used Components

Name | Comment
--- | ---
Postfix | Mail Transfer Agent (MTA)
Dovecot | POP3, IMAP and Managesieve server
Apache, Nginx | Web server
OpenLDAP, ldapd(8) | LDAP server, used for storing mail accounts (optional)
MySQL, MariaDB, PostgreSQL | SQL server used to store application data. Could be used to store mail accounts too.
Amavisd-new | Interface between Postfix and SpamAssassin, ClamAV. it calls SpamAssassin and ClamAV for content-based spam/virus scanning
SpamAssassin | Content-based spam scanner
ClamAV | Virus scanner
Roundcube | Webmail (PHP)
SOGo Groupware | A groupware which provides calendar (CalDAV), contact (CardDAV), tasks and ActiveSync services
Fail2ban | Scans log files and bans IPs that show the malicious signs -- too many password failures, seeking for exploits, etc
Awstats | Apache and Postfix log analyzer
iRedAPD | A postfix policy server developed by iRedMail team
Cluebringer | A postfix policy server. Deprecated since iRedMail-0.9.3.

## The Big Picture

## Mail Flow of Inbound Emails

## Mail Flow of Outbound Emails

## See also

- Locations of configuration and log files of major components
- Which network ports are open by iRedMail