"Bert Hiddink" <hiddink(_at_)sipromicro(_dot_)com> writes:
I do not know what to do anymore. Now is seems that nothing happens anymore,
despite that I put everything back to the old situation (which was ok before).
When I look in my Procmail.log, nothing is added anymore, although I sent out
several testmessages to be converted by Mhonarc. The latest procmail.log says:
...
I can not figure out where the problem is: Procmail, Smartlist or Mhonarc?
As far as I can see, Smartlist is ok because all messages sent to the list,
were resent to the subscribers. So than it is Procmail or Mhonarc.
However, if I send a message directly to a fake subscriber on the list f.e.
dummy(_at_)sipromicro(_dot_)com and change the Procmail receipt to:
# Invoques Mhonarch to convert all mail send to 'microfinanza-list' into
# html-files and store them into ../microfinanza
:0: microfinanza.lock
* ^TOdummy(_at_)sipromicro(_dot_)com
| /usr/www/users/galileo/cgi-local/mha/mhonarc -add -umask 022 \
-rcfile /usr/www/users/galileo/cgi-local/mha/rcfile5 -nolock -nodoc \
-outdir /usr/www/users/galileo/intercam/listas-html/microfinantemp \
... then the message is correctly converted by Mhonarch into html.
So my conclusion is, but I may be mistaken: there must be something incorrect
in my Procmail receipt.
If mhonarc isn't be executed at all (according to the procmail log),
then the problem can't be with mhonarc and therfore must be with the
recipe. The messages that aren't being archived, how were they
addressed to the list? If they didn't include the listname in the To:
or Cc: header then ^TO won't match them. Perhaps the recipe should
instead match on the "From ", Return-Path:, Resent-From:, or
X-Mailing-List: header. The first two of those will catch any
administrative messages that are sent to you, while the last two should
only catch actual postings (I think. This is from memory, and it was a
_long_ day at work, so check it yourself before depending on either
behavior).
:0: microfinanza.lock
* ^Resent-From: microfinanza-list-request(_at_)sipromicro(_dot_)com
| /usr/www/users/galileo/cgi-local/mha/mhonarc ...
Philip Guenther