summaryrefslogtreecommitdiff
path: root/mail/procmail/patches
AgeCommit message (Collapse)AuthorFilesLines
2004-01-11Pass the size to be reallocated to realloc(), not the address of thesimonb1-0/+13
size(!). Fixes "Out of memory as I tried to allocate N bytes" messages that I've been seeing.
2003-01-20Make this use ${CHMOD} rather than 'chmod', which may be in differentjschauma1-5/+15
locations (and thus not even in the PATH), depending on the platform. This partly adresses PR pkg/19804.
2001-11-08Update to 3.22.bouyer1-6/+7
Changes to procmail: - Regression bugs from 3.20: - Broke compilation with K&R compilers - procmail -p -m was overridding PATH - maildir delivery included garbage in filenames - Mismatched HOST in last rcfile didn't discard the message - COMSAT wasn't turned off by an rcfile on the command line - Catch overly long command line variable assignments - If a command expansion is truncated, set PROCMAIL_OVERFLOW and don't trim trailing (really middle) newlines - If the comsat host can't be resolved, set COMSAT to "no" Some fixes to the man pages More paranoia: start to use strlcpy() Generate safe temp and maildir filenames when the hostname contains / or : by mapping them to \ooo I've also seen corrupted From lines (missing F) when I upgraded to 3.21. Someone reported in the Esd-l mailing list (see http://www.spconnect.com/pipermail/esd-l/ for archives) that 3.22 solved the problem for him.
2001-06-29Update to 3.20. Changes since last version (3.15.1):wiz1-4/+4
Changes to procmail: - SECURITY: don't do unsafe things from signal handlers: - ignore TRAP when terminating because of a signal - resolve the host and protocol of COMSAT when it is set - save the absolute path form of $LASTFOLDER for the comsat message when it is set - only use the log buffer if it's safe - Support LMTP for delivery mode (not enabled by default) - Preliminary support for using mmap() for `large' messages (this doesn't work yet) - SWITCHRC=zero-length-file didn't always abort the current rcfile - A race to create the mailspool would bounce one of the messages due to an internal error - LC_ in KEEPENV would preserve only the first LC_foo variable - Strip runtime linker variables (LD_*) from environment on all platforms - Drop duplicate and malformed environment entries - Multiple -a options will now set $2, $3, etc - Command line assignments to INCLUDERC and SWITCHRC no longer have any effect - Worked around AIX 4.3.3 xlc compiler (incorrect file-scope variable initialization) - When delivering to a maildir, don't force the message to end with an empty line - Be more paranoid about leaking information between recipients - Unset LOCKFILE if we can't actually lock it - Set MAILDIR to '.' if the chdir fails - LASTFOLDER was sometimes set by '?' conditions - Buffer the log more efficiently - Use the `standard' format for maildir filenames and retry on name collision - Rename by linking to prevent lossage Changes to lockfile: - Include the system mailbox lockfile path in the -v output - Resist attempts to use a setuid lockfile command - Fix infinite loop on -l, -r, or -s flag with no value. Documented formail's treatment of >From_ lines as continuations of the From_ line and warned of problems caused by non-RFC822 field names like 'Old-From ' Clarified procmail's treatment of $@ and $# Fixed a man page formatting problem Use long, not off_t, with fseek()/ftell() Increase our paranoia: start to use strlcat() The default MAILDIR is now configurable separately from the default rcfile location Include an RPM spec file in the examples directory for automated builds Include and use mkinstalldirs Called nice() when shouldn't have (this time for sure!)
2001-04-13Allow setting TRUSTED_IDS in procmail.kim1-4/+9
2000-08-26Update to procmail-3.15, inspired by D'Arcy J.M. Cain.wiz3-35/+46
Relevant changes: - Rewrite folder type parsing: corrects handling of MH and maildir style spools - v3.14 changed '!' actions too much: revert to v3.13 behavior but continue to split SENDMAILFLAGS - Contents of skipped nested blocks could affect 'E', 'e', 'a', and 'A' flags - Prevent peeking into buffers on "Out of memory" errors - Unquoted $\var expansions could alter the interpretation of the following whitespace - Prevent attempts to set LINEBUF to really huge values - Optimize SWITCHRC = $_ - Use a secure PATH when processing /etc/procmailrc - Use 2^31-1 as the maximum score even when sizeof(long)>4 Changes to formail: - Allow -n with -D and -s again -- corruption couldn't happen after all - Don't strip pre-colon whitespace until header is identified - Properly handle NULs in the body when generating an autoreply that keeps the body (could coredump) General: - Documented that $\var expansions are never split on whitespace - Removed ':' and '@' from list of characters that can appear in tempfile names - Called nice() when shouldn't have
1999-04-06Upgrade procmail to 3.13. Move config dir from PREFIX/pkg/etc to /etc, socjs3-83/+19
that machines sharing /usr do not have to share procmail config file.
1998-08-07Add NetBSD RCS Ids.agc5-0/+10
1998-07-09Adjust manpages to reflect where procmail expects the system widefrueauf1-0/+29
procmailrcs.
1998-07-03Don't hardcode the etc dir to /usr/local/etc.frueauf1-2/+2
Fixes pr 5694 by Mason Loring Bliss.
1998-05-07Perform locking test automatically so that package will compile withouttron1-50/+29
user interaction.
1998-02-27Adapt this package to NetBSD.tron1-1/+1
1998-02-27Initial import of FreeBSD's "procmail" port.tron4-0/+127