Re: tmda cropping

Christopher Bachmann <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
That did it. Thank you!

Jason R. Mastaler wrote:
> 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/[&lt;&gt;]//g;s/^[ ]*//'`
>>     
>
> Ugh, it looks like the documentation on the wiki had a broken sed
> string in it.  The "&lt;&gt;" are HTML escapes, not sed commands.  
> Try this instead and it should work:
>
> SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.