procmail
[Top] [All Lists]

No email and no errors

2003-06-25 09:16:26
Hi,
I am having a problem; I am trying to setup an autoresponder using
procmail. But it just doesn't work! But the big trouble is that I have
no error messages at all so I am lost!!  I already tried all syntaxes I
found on internet on my .procmailrc and nothing happens. 
Here is what my .procmailrc looks alike:
 
########## .procmailrc STARTS HERE############
 
VERBOSE=on
LOGFILE=/home/beto1/procmail.log
SENDMAIL=/usr/sbin/sendmail
MAILDIR=/var/mail
SHELL=/bin/bash
 
:0 c
* !^FROM_DAEMON
* !^X-Loop: beto1(_at_)barclaygrp(_dot_)com
* ^TO.*beto1
| (formail -r -I "From: beto1(_at_)barclaygrp(_dot_)com" \
        -I"Subject: I am away" \
        -A "X-Loop: beto1(_at_)barclaygrp(_dot_)com"; \
  cat /home/beto1/message.txt) | $SENDMAIL -oi -t
 
########### .procmailrc ENDS HERE############
 
 
Here is the log file:
 
################ LOGFILE STARTS#####################
 
procmail: Assigning "SENDMAIL=/usr/sbin/sendmail"
procmail: Assigning "MAILDIR=/var/mail"
procmail: Assigning "SHELL=/bin/bash"
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)?|dae
mon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|
sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|y
stem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Match on ! "^X-Loop: beto1(_at_)barclaygrp(_dot_)com"
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-
To):(.*[^a-zA-Z])?).*beto1"
procmail: Assigning "LASTFOLDER= (formail -r -I "From:
beto1(_at_)barclaygrp(_dot_)com" \
        -I"Subject: I am away" \
        -A "X-Loop: beto1(_at_)barclaygrp(_dot_)com"; \
  cat /home/beto1/message.txt) | $SENDMAIL -oi -t"
procmail: Locking "/var/spool/mail/beto1.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/beto1"
procmail: Executing " (formail -r -I "From: beto1(_at_)barclaygrp(_dot_)com" \
        -I"Subject: I am away" \
        -A "X-Loop: beto1(_at_)barclaygrp(_dot_)com"; \
  cat /home/beto1/message.txt) | $SENDMAIL -oi -t"
procmail: Opening "/var/spool/mail/beto1"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/beto1.lock"
procmail: Notified comsat: "beto1(_at_)0:/var/spool/mail/beto1"
From betocarminhato(_at_)hotmail(_dot_)com  Wed Jun 25 10:30:14 2003
 Subject: TEST
  Folder: /var/spool/mail/beto1                               
################END OF LOGFILE#####################
 
I did the following commands to make sure sendmail was calling the
correct procmail:
 
which sendmail
/usr/sbin/sendmail
 
which procmail
/usr/bin/procmail
 
echo =M | sendmail -bt | grep \(local\)
mailer 9 (local): P=/usr/bin/procmail S=EnvFromL/HdrFromL
R=EnvToL/HdrToL M=0 U=0:0 F=/59:@ADFMPSfhlnqsw| L=0 E=\n
T=DNS/RFC822/X-Unix r=100 A=procmail -t -Y -a $h -d $u
 
As you can see they Mach!
If anyone could help I would appreciate a lot.
Thanks
 
Beto Carminhato
Barclay Trading Group, Ltd.
2094 185 th Street, Suite 1B
Fairfield, IA 52556
Ph:  641.472.3456
email:   beto(_at_)barclaygrp(_dot_)com
website: www.barclaygrp.com
 
 
 
Beto Carminhato
Barclay Trading Group, Ltd.
2094 185 th Street, Suite 1B
Fairfield, IA 52556
Ph:  641.472.3456
email:   beto(_at_)barclaygrp(_dot_)com
website: www.barclaygrp.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>