about summary refs log tree commit diff
path: root/mexport.c
Commit message (Collapse)AuthorAgeFilesLines
* mexport: use UTC timestamp in the postmark lineLeah Neukirchen2021-05-091-1/+1
|
* mexport: default timestamp to unix second 0, not -1Leah Neukirchen2021-05-091-1/+1
| | | | This is better recognizable as "no data".
* mexport: ensure mbox entries are separated by an empty lineLeah Neukirchen2021-05-091-0/+3
| | | | | | | | https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml > Each message is immediately prefaced by a separation line and > terminated by an empty line. Bug discovered by skarnet.
* pledge(2) all programsTim Kuijsten2020-09-061-0/+3
| | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr]
* styleLeah Neukirchen2017-08-311-9/+9
|
* mexport: handle return-path without <>Leah Neukirchen2017-06-241-5/+9
|
* mexport: < and > are not part of the addr-spec used in From linesLeah Neukirchen2017-06-191-1/+1
|
* mexport: support reading from pipes, better error reportingLeah Neukirchen2017-06-121-24/+31
|
* clean up whitespaceLeah Neukirchen2017-01-261-4/+4
|
* use getdelim instead of getlineChristian Neukirchen2016-09-051-1/+1
| | | | Avoids weird macros to build on FreeBSD.
* add mexportChristian Neukirchen2016-08-191-0/+139