You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christoph Rissner b9de28e910 dovecot: use rspamd X-Spamd-Result percentage to evaluate spam
- configures dovecot to use the spamtest sieve plugins
- configures sieve to read the score from X-Spamd-Result: headers
- before.sieve applies the ${spam_threshold} to the spamtest percentage
- freeposte.db stores a percentage for ${spam_threshold}
- migrate freeposte.db spam_threshold from X/15 to percentages

the filter investigates the overall ratio of the `rspamd` header
`X-Spamd-Result` that looks something like this:

X-Spamd-Result: default: True [12.36 / 15.00]
 RBL_SPAMHAUS_XBL(4.00)[]
 BAYES_SPAM(3.06)[92.67%]
 RBL_SPAMHAUS_XBL_ANY(4.00)[]
 ONCE_RECEIVED_STRICT(4.00)[]
 HFILTER_HELO_BAREIP(3.00)[]
 RBL_SORBS_DUL(2.00)[]
 HFILTER_HOSTNAME_UNKNOWN(2.50)[]
 RBL_SPAMHAUS_PBL(2.00)[]
 RBL_SORBS_RECENT(1.50)[]
 MIME_UNKNOWN(0.10)[application/x-rar-compressed]
 RDNS_NONE(1.00)[]
 RBL_SORBS(0.00)[]
 R_SPF_NEUTRAL(0.00)[?all]
 ONCE_RECEIVED(0.10)[]
 RBL_SEM(1.00)[]
 MIME_HTML_ONLY(0.20)[]
 RBL_UCEPROTECT_LEVEL1(1.00)[]
 MIME_GOOD(-0.10)[multipart/mixed]

the sieve `spamtest :percent :value` in this case would be
   100*12.36/15 = 82.4%
8 years ago
admin dovecot: use rspamd X-Spamd-Result percentage to evaluate spam 8 years ago
clamav Force temporary files to /tmp, related to #54 8 years ago
dovecot dovecot: use rspamd X-Spamd-Result percentage to evaluate spam 8 years ago
fetchmail Display fetchmail errors to the user, fixes #23 8 years ago
nginx Do not expose the Web admin interface by default, fixes #40 8 years ago
none Add a dynamic Webmail option with a 'none' container 8 years ago
postfix Default message_size_limit to 50MB 8 years ago
rainloop Add a rainloop Webmail image, fixes #58 8 years ago
rmilter Remove deprecated awl settings 8 years ago
roundcube Upgrade to Roundcube 1.2.1 8 years ago
rspamd Run the rspamd controller 9 years ago
.env Default message_size_limit to 50MB 8 years ago
.gitignore Added mac docker-compose yml to .gitignore 8 years ago
AUTHORS.md Format the authors file properly 8 years ago
CHANGELOG.md Add a changelog 8 years ago
LICENSE.md Update the license file 8 years ago
README.md Add a rainloop Webmail image, fixes #58 8 years ago
docker-compose.yml Buld the proper http image 8 years ago
logo.png Add a PNG logo for rendering 8 years ago
logo.svg Add a draft logo 8 years ago

README.md

Logo

Freeposte.io

Simple yet full-featured mail server as a set of Docker images. The idea behing Freeposte.io is identical to motivations that led to poste.io: providing a simple and maintainable mail server that is painless to manage and does not require more resources than necessary.

People from poste.io did an amazing job at accomplishing this ; any company looking for a serious yet simple mail server with professional support should turn to them.

This project is meant for free software supporters and hackers to reach the same level of functionality and still be able to host a complete mail server at little cost while running only FOSS, applying the KISS principle and being able to fine-tune some details if needed.

Try it out on our demo server.

Features

Main features include:

  • Standard email server, IMAP and IMAP+, SMTP and Submission
  • Web access, multiple Webmails and adminitration interface
  • User features, aliases, auto-reply, auto-forward, fetched accounts
  • Admin features, global admins, per-domain delegation, quotas
  • Security, enforced TLS, outgoing DKIM, anti-virus scanner
  • Antispam, auto-learn, greylisting, DMARC and SPF
  • Freedom, all FOSS components, no tracker included

Creating a new user

Running a mail server

Freeposte.io runs on top of Docker for easy packaging and upgrades. All you need is a proper system with Docker and Compose installed, then simply download the docker-compose.yml and sample .env, tune them to your needs and fire up the mail server:

docker-compose up -d

For a detailed walktrough, see the Setup Guide.

Contributing

Freeposte.io is free software, open to suggestions and contributions. All components are free software and compatible with the MIT license. All specific configuration files, Dockerfiles and code are placed under the MIT license.

For details, see the Contributor Guide.