Commit Graph

12 Commits (master)

Author SHA1 Message Date
Leah Neukirchen 4f1f0ea2b3 maddr: decode only display part of address
RFC 2047.6.2:
   NOTE: Decoding and display of encoded-words occurs *after* a
   structured field body is parsed into tokens.
3 years ago
Tim Kuijsten 4763032430 pledge(2) all programs
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]
4 years ago
Leah Neukirchen d50bb5772a maddr: add -d to only print display name. 4 years ago
Leah Neukirchen 8a095775d0 maddr: addr: fix leak 5 years ago
Leah Neukirchen 2e742622ab whitespace fixes 6 years ago
Leah Neukirchen bcd258a8c8 maddr, mhdr: requote display names when needed 6 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Leah Neukirchen 53f8a7e49a maddr: bump decode buffer to allow a few hundred mail adresses 7 years ago
Leah Neukirchen 55ded86ad5 maddr: addr: first decode RFC2047, then parse address 7 years ago
Christian Neukirchen edf4458016 maddr: -a to only print address part 8 years ago
Christian Neukirchen a6c5af2a72 maddr: add usage 8 years ago
Christian Neukirchen 70df63df73 add maddr: show mail addresses in messages 8 years ago