Re: tmda cropping
[email protected] (Jason R. Mastaler)
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <[email protected]> |
Christopher Bachmann <[email protected]> writes: > dornier# cat /home/cbachman/.procmailrc > # Uncomment this for users without valid shells. > VERBOSE=yes > MAILDIR=$TMPDIR/procmail.out > DEFAULT=$MAILDIR/$USER > # Set the necessary environment variables. > EXTENSION="$1" > :0 > * EXTENSION ?? . > { > DELIMITER="+" > } > RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@$HOST" > SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'` Ugh, it looks like the documentation on the wiki had a broken sed string in it. The "<>" are HTML escapes, not sed commands. Try this instead and it should work: SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`