procmail
[Top] [All Lists]

Re: Altering From: in autoresponders

1999-08-16 09:00:10
Philip Guenther wrote:
One comment: since the sender should be expecting a reply, you should
be using the -t flag with formail when generating the reply, so I would
suggest you change the action to start:

        | (formail -rt \
                -A 'X-Loop: ......

Thanks, but I still don't get the result that I want. When I set verbose=on
procmail started to generate bounces, and the following appared in the log:

-A 'X-Loop: loop-control(_at_)spambuster(_dot_)dhs(_dot_)org' \
-I 'Reply-To: "Spambusters pgp server" 
<pgp(_at_)spambuster(_dot_)dhs(_dot_)org>' \
-I 'From: "Spambusters pgp server" <pgp(_at_)spambuster(_dot_)dhs(_dot_)org>' \
-I 'Subject: Autoresponder: Spambusters public pgp key' -X 'Subject:' \
-I 'X-Mailer: Another Moronic Autoresponder' \
echo "";\
cat $HOME/pgp.asc) | $SENDMAIL -oi -t"
Usage: formail [-bczfrktqY] [-D nnn idcache] [-p prefix] [-l folder]
        [-xXaAiIuU field] [-R ofield nfield]
   Or: formail [+nnn] [-nnn] [-bczfrktedqBY] [-D nnn idcache] [-p prefix]
        [-n [nnn]] [-m nnn] [-l folder] [-xXaAiIuU field] [-R ofield nfield]
        -s [prg [arg ...]]
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "DEFAULT=/home/spambust/mail/IN.box"
procmail: Assigning "SENDMAIL=/usr/sbin/sendmail"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)pgp@"
procmail: Locking "IN.box.lock"
procmail: Assigning "LASTFOLDER=IN.box"
procmail: Opening "IN.box"
procmail: Unlocking "IN.box.lock"
From MAILER-DAEMON Mon Aug 16 16:32:14 1999
 Subject: Mail failure - no recipient addresses
  Folder: IN.box                                                           3293
procmail: Notified comsat: "spambust(_at_)3293:/home/spambust/mail/IN.box"

Thanks in advance.

May you live long and spamless,

Andreas Bergstrøm

-- 
HTTP://home.halden.net/abergstr/
Fight Spam! Join EuroCAUCE! == http://www.euro.cauce.org/
Y2K bug? free software at: http://bcordero.home.sprynet.com/y2kwa.htm
Statistics are like bikinis. What they conceal is more important than what they 
reveal.


<Prev in Thread] Current Thread [Next in Thread>