hai, here i come again, sorry for the incovinience....
here is my recipes right now, with era eriksson (era(_at_)iki(_dot_)fi) help:
:0
* ^TO78(_at_)indocities(_dot_)com
* ! ^FROM_DAEMON
* ! ^X-Loop: 78(_at_)indocities(_dot_)com
*^Subject: * <----
{
# If any of the conditions before "{" fails, Procmail
# skips right down to the closing "}" without processing any
# of these recipes
:0fhw # 1. Add X-Loop and Reply-To
| formail -A "X-Loop: 78(_at_)indocities(_dot_)com" \
-A "Reply-To: 78(_at_)indocities(_dot_)com"
---> -I "Subject: [78] $SUBJECT"
:0fbw # 2. Add a .signature
| sed -e '$r'" $HOME/.signature"
:0c: # 3. Save the message to a mailbox, but continue still
IN.tujuhlapan
# hypermail stuff here instead, maybe?
-> :0c:
-> | /usr/local/bin/hypermail -i -u \
-> -d "/archieves/tujuhlapan" \
-> -l "Tujuhlapan Mailing-list" \
-> -b
"http://intranet.sby.rad.net.id/~xela/info/" \
-> -a "NONE"
:0 # 4. Send out the message to our subscribers
! `cat 78.txt`
# That was a delivering recipe without a :c flag, so Procmail
# will stop processing here
}
the sign "<--" and "->" that i add by myself, with reference procmail recipes
that i see in the
net.
but, i have error again in my log
Total Number Folder
----- ------ ------
0 1 ## hypermail: Couldn't create archive directory
"/archieves/tujuhlapan".
0 1 ## hypermail: type "hypermail -z" for options.
0 1 ## procmail: Couldn't determine implicit lockfile from
"/usr/local/bin/hypermail"
0 1 ## procmail: Error while writing to ""
0 1 ## procmail: Skipped "-I "Subject: [78] $SUBJECT""
0 1 ## procmail: Skipped "-a "NONE""
0 1 ## procmail: Skipped "-b
"http://intranet.sby.rad.net.id/~xela/info/" \"
0 1 ## procmail: Skipped "{"
1961 1 /usr/sbin/sendmail hutapeaa(_at_)ucsu(_dot_)colorado(_dot_)edu
evvy7(_at_)centrin(_dot_)net(_dot_)id
what i want to add are:
1. add subject with [78]
2. archieve the mail using hypermail.
thanks for your help
warm regards.