procmail
[Top] [All Lists]

Question on Autoresponse

2000-12-14 18:04:00
I now have procmail running on my old mail server.  The only part not working 
is in generating an autoresponse telling the sender my email address has 
changed.  I have the following in .procmailrc:

-----------------------------------------------------
SENDMAIL = "/usr/lib/sendmail"
########################################################################
#Tell people address has changed
:0 c
*!$MY_XLOOP
| (echo "From: mcmaster(_at_)jcm(_dot_)stortek(_dot_)com" ;                     
       \
   $FORMAIL -rt -A"Precedence: junk"                                  \
   -A"X-Loop: $MY_XLOOP" -A"Subject: My email address has changed";   \
   echo " My email address has changed\n"                             \
        "Please send future correspondence to:\n"                     \
        "mcmaster(_at_)falcon(_dot_)stortek(_dot_)com\n"                        
       \
        "\n"                                                          \
        "The email you just sent has been automatically forwarded.\n" \
        "--\n"                                                        \
        "Jim McMaster\n"                                              \
        "this has been an automated response\n"                       \
             ) | $SENDMAIL
-----------------------------------------------------

Here is what gets put into the log:

-----------------------------------------------------
procmail: Match on ! "MY_XLOOP"
procmail: Executing " (echo "From: mcmaster(_at_)jcm(_dot_)stortek(_dot_)com" ; 
               

          \
   $FORMAIL -rt -A"Precedence: junk"                                  \
   -A"X-Loop: $MY_XLOOP" -A"Subject: My email address has changed";   \
   echo " My email address has changed\n"                             \
        "Please send future correspondence to:\n"                     \
        "mcmaster(_at_)falcon(_dot_)stortek(_dot_)com\n"                        
       \
        "\n"                                                          \
        "The email you just sent has been automatically forwarded.\n" \
        "--\n"                                                        \
        "Jim McMaster\n"                                              \
        "this has been an automated response\n"                       \
             ) | $SENDMAIL"
procmail: Assigning "LASTFOLDER= (echo "From: 
mcmaster(_at_)jcm(_dot_)stortek(_dot_)com" ;     

                     \
   $FORMAIL -rt -A"Precedence: junk"                                  \
   -A"X-Loop: $MY_XLOOP" -A"Subject: My email address has changed";   \
   echo " My email address has changed\n"                             \
        "Please send future correspondence to:\n"                     \
        "mcmaster(_at_)falcon(_dot_)stortek(_dot_)com\n"                        
       \
        "\n"                                                          \
        "The email you just sent has been automatically forwarded.\n" \
        "--\n"                                                        \
        "Jim McMaster\n"                                              \
        "this has been an automated response\n"                       \
             ) | $SENDMAIL"
procmail: [28866] Thu Dec 14 16:28:46 2000
procmail: Executing 
"/usr/lib/sendmail,-oi,mcmaster(_at_)falcon(_dot_)stortek(_dot_)com"
procmail: [28866] Thu Dec 14 16:28:46 2000
procmail: Assigning "LASTFOLDER=/usr/lib/sendmail -oi 
mcmaster(_at_)falcon(_dot_)stortek(_dot_)co
m"
 Subject: test
  Folder: /usr/lib/sendmail -oi mcmaster(_at_)falcon(_dot_)stortek(_dot_)com    
             
978
procmail: Notified comsat: "mcmaster@:/usr/lib/sendmail -oi 
mcmaster(_at_)falcon(_dot_)stor
tek.com"
-----------------------------------------------------

The autoresponse gets put into dead.letter as follows:

-----------------------------------------------------
From mcmaster  Thu Dec 14 16:28:46 2000
Return-Path: mcmaster
Received: (from mcmaster(_at_)localhost) by swmail-atm6.StorTek.COM 
(8.7.6/8.7.3) 
id
QAA28870; Thu, 14 Dec 2000 16:28:46 -0700 (MST)
Date: Thu, 14 Dec 2000 16:28:46 -0700 (MST)
Message-Id: 
<200012142328(_dot_)QAA28870(_at_)swmail-atm6(_dot_)StorTek(_dot_)COM>
From: mcmaster(_at_)jcm(_dot_)stortek(_dot_)com
To: mcmaster(_at_)falcon(_dot_)stortek(_dot_)com
Subject: Re: test
References: <17833(_dot_)976836499(_at_)tatanka>
In-Reply-To: <17833(_dot_)976836499(_at_)tatanka>
Precedence: junk
X-Loop: xl_mcmaster(_at_)jcmxl
Subject: My email address has changed

 My email address has changed
 Please send future correspondence to:
 mcmaster(_at_)falcon(_dot_)stortek(_dot_)com
 
 The email you just sent has been automatically forwarded.
 --
 Jim McMaster
 this has been an automated response
-----------------------------------------------------

Can anyone tell me what I am doing wrong?
-- 
Jim McMaster
mailto:mcmaster(_at_)falcon(_dot_)stortek(_dot_)com


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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