summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mailwrapper/mailwrapper.c
Commit message (Collapse)AuthorAgeFilesLines
* add FBSDIDcharnier2003-07-061-1/+3
|
* de-__P()alfred2002-07-111-4/+4
|
* Don't free memory that was never allocated. This fixes a core dump indd2001-08-091-1/+0
| | | | | | | the case where both the config file and the default MTA don't exist. PR: 29521 Submitted by: marius@alchemy.franken.de
* You can't free a string and then use it as the error message topaul2001-06-041-1/+2
| | | | | | | errx. Instead use warn to print the string, then cleanup and exit normally. This fixes a core dump if the executable to be run doesn't exist.
* Do not add progname in err() strings, it will be printed twicecharnier2000-05-281-9/+8
|
* Merge from OpenBSD:imp2000-01-101-9/+30
| | | | | | | | | | | | o Realloc memory leak fixed which won't matter but would trigger purify o Default to sendmail when no mailer.conf exists. Fixed bugs in OpenBSD version: o Add NULL termination in the right place. Also put back the err. free shouldn't touch errno. Pointed out by: theo de raadt (except the NULL bug :-)
* Fix mysterious sendmail coredump on systems where malloc.conf pointed toimp2000-01-101-2/+4
| | | | | | | | | a string containign 'J'. o Properly terminate argv list with a NULL entry. o Use warn() to report the exec failure because free could change errno and err would report the wrong reason. o Don't terminate string to err with ':' since this results in two colons.
* Make mailwrapper buildpeter1999-12-291-2/+3
|
* Import NetBSD's mailwrapper to redirect /usr/sbin/sendmail to the user'speter1999-12-191-0/+165
chosen mailer. Obtained from: NetBSD
OpenPOWER on IntegriCloud