procmail
[Top] [All Lists]

can't get 'From' field : "This account is currently not available."

2000-11-05 22:01:43
Please forgive me if the answer to my problem is posted somewhere I've
missed.

I've installed procmail on one machine and it is working beautifully!

I have tried to install it on another box and it seems to work fine with one
glaring exception. I am trying to set up autoresponders. My .procmailrc
seems to work fine (as well) except for this exception. The other aspects of
the .procmailrc are being carried out as evidenced by the log file

Problem:
I cannot seem to get the "From" field from the incoming email. I have tried
to get it two ways:

1.   FROM_=`formail | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
2.   FROM=`^(From[   ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?`

Both entries gets me (in my logfile) a response of:
procmail: Assigning "FROM_=This account is currently not available."
or
procmail: Assigning "FROM=This account is currently not available."

My .procmailrc is:
LOGFILE=/usr/home/icomm/procmail.log
VERBOSE=yes
LOGABSTRACT=all

#FROM_=`formail | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
FROM=`^(From[   ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?`

:0hc
* ^TO_sales*
|  run this program (or send this response)

:0hc
* ^TO_info*
|  run this program (or send this response)

My logfile shows:
procmail: [1242] Sun Nov  5 20:47:53 2000
procmail: Assigning "LOGABSTRACT=all"
procmail: Executing
From[    ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?"
procmail: Assigning "FROM=This account is currently not available."
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^-a-zA-Z0-9_.])?)sales*"
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^-a-zA-Z0-9_.])?)info*"
procmail: Assigning "LASTFOLDER=/usr/home/icomm/proc.pl This account is
currently not available. info /home/icomm"
From mike(_at_)coloradosurf  Sun Nov  5 20:47:53 2000
 Subject: iiii
  Folder: /usr/home/icomm/proc.pl This account is currently not availab
1032
procmail: Bypassed locking "/var/mail/icommerc.lock"
procmail: Assigning "LASTFOLDER=/var/mail/icommerc"
procmail: Opening "/var/mail/icommerc"
procmail: Acquiring kernel-lock
From mike(_at_)coloradosurf(_dot_)com  Sun Nov  5 20:47:53 2000
 Subject: iiii
  Folder: /var/mail/icommerc

I appreciate any help/suggestions anyone might be able to offer.

TIA,
mike





_______________________________________________
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>
  • can't get 'From' field : "This account is currently not available.", mike <=