procmail
[Top] [All Lists]

bouncing a message not working..

1996-09-05 22:33:26
Can you use here documents in rules?

This isn't working.

TO=`formail -xTo:`
:0
{
 
    :0fh
    | formail -rt -I"From: Mail Delivery Subsystem 
<Mailer-Daemon(_at_)elastica(_dot_)com>"
 
    :0fb
    | cat <<EOF
----- Transcript of session follows -----
Connected to justine.elastica.com:
RCPT To:<$TO>
<<< 550 <$TO>... User unknown
550 $TO... User unknown
 
----- Unsent message follows -----
EOF
      cat -
 
    :0
    ! -oi -t
}


-- 
Art is prostitution of the mind.

<Prev in Thread] Current Thread [Next in Thread>
  • bouncing a message not working.., robert <=