I have a strange procmail problem. I'm researching this, if off hand you
know the solution, please let me know.
The problem is - After I filter and format message using procmail and
formail, I execute a script "send_all_mail.pl" which sends the mesages to
mailing_lists. It used to work fine.
We just changed "From" Address( line is bigger now). It filters the mail
and save that in a file, BUT it DOES NOT EXECUTE THE
SCRIPT(send_al_mail.pl). If I execute the script on command line mail
delivery works fine. I could not find and hints in procmail log. Following
ts the recepie. What went wrong? Is there a limitation on size of From
Field? Any other way(recepie) I can execute the script?
Please advice.
Thanks in advance, please respond to
"tapas(_dot_)banerjee(_at_)gs(_dot_)com"
-Tapas
---------------------------------- procmail recipie-------------------------
SENDER=`formail -rzx To:`
:0
* ? fgrep -xis "$SENDER" /home/ess/.procmail/sender_list
* !^Subject:.*\<RE:
* B ?? ^\/.*_list
{
# Remove line containing subject(<name>_list), from body
:0 fbw
| grep -v $MATCH
# Change BCC and save in a file,
# attach :; tag to To: field to prevent mail bounce
# empty_To_list group with NO members should be present in
/etc/aliases(_hdr) file
:0:
| formail -A"Bcc: $MATCH" \
-I"To: =?iso-2022-jp?B?GyRCJDQ5WEZJJE4zJyQ1JF4kWBsoQg==?=
<empty_To_list>" \
-I Cc: \
-I Received: \
-i"Reply-To: ess_bin(_at_)gs(_dot_)com" \
-I"From: =?iso-2022-jp?B?GyRCJTQhPCVrJUklXiVzISYlNSVDJS8lOUVqPy4bKEI=?=
:; <Investment_Trust_Management(_at_)gs(_dot_)com>" >> "$MATCH"_mails
}
:0 A
|/home/ess/scripts/send_all_mail.pl 2>&1 >> /home/ess/scripts/send.log
#(NOT WORKING)
Tapas Banerjee
Asset Management Division
Goldman Sachs, New York
(212)-357-0390
tapas(_dot_)banerjee(_at_)gs(_dot_)com