procmail
[Top] [All Lists]

Re: vacation problems..sigh

2000-10-18 09:56:06
Archive User wrote:
It seems to be inserting the email address into the cache bu thats
as far as it goes. 

The log says so, too.

Can anyone point out where I am going wrong? I even tried a couple

Yes, but I don't know about the fix.  I'll make a few other comments
as well.  Let's skip to the log.


---------- '/home/mjcunnin', '/home/mjcunnin/procmail_vacationmsg'

Good idea to announce the above.

procmail: [11431] Tue Oct 17 16:01:37 2000
procmail: Match on "^To: 
.*(mjcunnin|m(_dot_)cunningham(_at_)xpedite(_dot_)com)"
procmail: Match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: 
Multiple recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From 
)([^>]*[^
***     
((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(o
***     
unce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
         ][^<)]*(\(.*\)
***     .*)?)?$([^>]|$)))"
procmail: Match on ! "^List-"
procmail: Match on ! 
"^(Mailing-List|Approved-By|BestServHost|Resent-(Message-ID|Sender)):"
procmail: Match on ! "^Sender: (.*-errors@|owner-)"
procmail: Match on ! "^X-[^:]*-List:"
procmail: Match on ! 
"^X-(Authentication-Warning|Loop|Sent-To|(Listprocessor|Mailman)-Version):"
procmail: Match on ! "^Precedence: (junk|bulk|list)"

Note the above expansion of ! ^FROM_DAEMON above; you don't need to
explicitly check for (junk|bulk|list).

procmail: Match on ! "^From +mjcunnin(@| |$)"
procmail: Forking "procmail"
procmail: Assigning "VERBOSE="
procmail: Assigning "LOGFILE="
procmail: Opening "/dev/null"
procmail: [11432] Tue Oct 17 16:01:37 2000
procmail: Assigning "ECHO=/usr/ucb/echo"
procmail: Assigning "CACHED=/home/mjcunnin/procmail.vacation.cache"
procmail: Locking "/home/mjcunnin/procmail.vacation.cache.lock"
procmail: Executing 
"/usr/bin/formail,-rD,64536,/home/mjcunnin/procmail.vacation.cache"
procmail: Non-zero exitcode (1) from "/usr/bin/formail"

Preceding 2 lines say that formail was called and the name was NOT in
the cache, so it added the name to cache.

procmail: Assigning "LASTFOLDER=/usr/bin/formail -rD 64536 
/home/mjcunnin/procmail.vacation.cache"
procmail: Unlocking "/home/mjcunnin/procmail.vacation.cache.lock"
procmail: Assigning "CACHED="
procmail: Assigning "MATCH="
procmail: Matched ""
procmail: Score:       1       1 ".*$\/"
procmail: Assigning "MATCH="
procmail: Matched "testing"
procmail: Score:       1       2 "^Subject:[      ]*\/[^  ].*"

So far so good.  Now, note the space between the '"' and the
'/usr/bin/formail' in the next line.  There was no space above, but
there is one here, I think because a character from SHELLMETAS was
found in the command string.  A command without SHELLMETAS executes
fine, but every command line containing SHELLMETAS causes exitcode
255.  Hence it's likely that the 255 has to do with the shell itself
rather than with the command.  

Uh, what is the value of $SHELL in your environment?  Since it seems
to fail regardless of the command, I'm guessing something is wrong
with the $SHELL variable.  Set it as 'SHELL=/bin/sh' (NO FLAGS, and no
quotes!) or if your system's sh is in elsewhere (e.g., in /usr/bin)
then set it accordingly.  Also, what's the value of $SHELLFLAGS? 

procmail: Executing " /usr/bin/formail -r -I"Precedence: junk" \
        -I"Subject: Out of office [$MATCH]" \
        -A"X-Loop: Xpedite Email User out of office""
...

-- 
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.  Sorry.
Collin Park                         Not a statement of my employer.

_______________________________________________
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>