summaryrefslogtreecommitdiff
path: root/usr.bin/mail/main.c
AgeCommit message (Expand)Author
2015-11-24missing pledge "getpw"Theo de Raadt
2015-11-16pledge "stdio rpath wpath cpath tmppath fattr tty flock proc exec"Theo de Raadt
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
2015-01-24Fix getopt string; the -N flag doesn't take an argument.Todd C. Miller
2015-01-22Only allow the -r flag when sending a message; from Martin BrandenburgTodd C. Miller
2015-01-20Add support for the "-r fromaddr" flag now that we don't supportTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-16Don't pass options after the to address to sendmail. The onlyTodd C. Miller
2014-11-24The handling of the -f option is a hack. Instead of fooling aroundTodd C. Miller
2014-11-24Remove undocumented and obsolete -T option. It was intended forTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-10-09- add -d to usageJason McIntyre
2008-07-16add -E flag and 'skipempty' option to skip sending messages withMartynas Venckus
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
2004-04-19- sort SYNOPSISJason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2001-11-21Fix extern decl of version missed in previous commit.Todd C. Miller
2001-11-21o ANSIfyTodd C. Miller
2001-11-20Major signal overhaul. We no longer longjmp all over the place.Todd C. Miller
2001-10-11missing arg to errxTodd C. Miller
2001-09-07Sanity check length of -u argument to avoid truncation later on.Todd C. Miller
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1998-09-27Use new username option to lockspool for 'mail -u'.Todd C. Miller
1997-11-14NetBSD changes (mostly comsmetic):Todd C. Miller
1997-07-30Fix one possible oflow (not exploitable) and do a wee bit of KNF.Todd C. Miller
1997-07-14Convert remaining sigsetmask() -> sigprocmask() (POSIX style)Todd C. Miller
1997-07-14NOSTR -> NULLTodd C. Miller
1997-07-13bcopy() -> memcpy() and fix some casts.Todd C. Miller
1997-07-13Merge in NetBSD and 4.4BSD-lite2 changes as well as some of my own.Todd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-09-16_PATH_TMP -> _PATH_TMPFILE; avoid /tmp//fooXXXX where possible tooTheo de Raadt
1996-06-11from christos;Theo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt