summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/compress_backend.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use <limits.h> comprehensively. For now try to push <> includes toderaadt2015-01-201-1/+2
| | | | | | each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
* sync with OpenSMTPD 5.3.2eric2013-05-241-49/+16
| | | | ok gilles@
* Sync with our smtpd repo:gilles2013-01-261-13/+48
| | | | | | | | | | | | | | | | | | | | | | * first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. smtpd.conf(5) simplified, it will require adaptations ok eric@
* silent warningschl2012-09-161-3/+3
| | | | | | reported by ajacoutot@ ok gilles@ ajacoutot@
* switch compress_backend to use FILE * instead of file descriptors, likechl2012-08-301-5/+5
| | | | | | crypto_backend ok gilles@
* Introduce the crypto_backend API and provide support for... encrypted queuegilles2012-08-291-7/+1
| | | | | | | | | | | | | | | | using the new API. By default, OpenSMTPD does not provide queue encryption, but it can be enabled with "queue encryption [args]" and will transparently encrypt/decrypt envelopes/messages as they hit the queue. By default, it will use Blowfish in CBC mode with a different random IV for each envelope and message. User provided key is expanded using sha256 but a different cipher and digest may be specified in smtpd.conf Queue encryption is compatible with compression and if both options are set it will do them in correct order and transparently. tested by chl@, a few users and myself ok chl@ and I
* - use the same compression algorithm, gzip, for message file and envelopesgilles2012-08-261-4/+4
| | | | | | - rename compress_zlib.c to compress_gzip.c with this commit it is possible to inspect a compressed queue with gzcat :)
* Add missing RCS Id.chl2012-08-261-0/+2
| | | | | | Reminded by jasper@ ok gilles@ eric@
* Add compress_backend, allowing compression of messages and envelopes in the queue.chl2012-08-251-0/+71
To use it, just add "queue compress" in smtpd.conf. For now, only zlib is used. lots of feedback from eric@ and gilles@ ok eric@ gilles@