Benchmark-Perl-Formance-Cargo
view release on metacpan or search on metacpan
share/SpamAssassin/easy_ham_2/00724.c5a687a60e45b7e78ec560a3eadffdee view on Meta::CPAN
To: exmh-users@spamassassin.taint.org
Subject: Re: Folder computed replcomps (and replgroupcomps
In-Reply-To: Message from Hal DeVore <haldevore@acm.org> of
"Sun, 21 Jul 2002 16:37:21 CDT."
<23937.1027287441@dimebox>
References: <8128.1027129899@kanga.nu> <23937.1027287441@dimebox>
X-Face: ?<YUs-cNP1\Oc-H>^_yw@fA`CEX&}--=*&XqXbF-oePvxaT4(kyt\nwM9]{]N!>b^K}-Mb9
YH%saz^>nq5usBlD"s{(.h'_w|U^3ldUq7wVZz$`u>MB(-4$f\a6Eu8.e=Pf\
X-Image-Url: http://www.kanga.nu/~claw/kanga.face.tiff
X-Url: http://www.kanga.nu/~claw/
Message-Id: <29965.1027569302@kanga.nu>
X-Envelope-To: exmh-users@spamassassin.taint.org
From: J C Lawrence <claw@kanga.nu>
X-Delivery-Agent: TMDA/0.58
X-Tmda-Fingerprint: oJzZDgI21vxV1zq2tpKX4srUoJs
X-Loop: exmh-users@spamassassin.taint.org
Sender: exmh-users-admin@spamassassin.taint.org
Errors-To: exmh-users-admin@spamassassin.taint.org
X-Beenthere: exmh-users@spamassassin.taint.org
X-Mailman-Version: 2.0.1
Precedence: bulk
Reply-To: exmh-users@spamassassin.taint.org
List-Help: <mailto:exmh-users-request@spamassassin.taint.org?subject=help>
List-Post: <mailto:exmh-users@spamassassin.taint.org>
List-Subscribe: <https://listman.spamassassin.taint.org/mailman/listinfo/exmh-users>,
<mailto:exmh-users-request@redhat.com?subject=subscribe>
List-Id: Discussion list for EXMH users <exmh-users.spamassassin.taint.org>
List-Unsubscribe: <https://listman.spamassassin.taint.org/mailman/listinfo/exmh-users>,
<mailto:exmh-users-request@redhat.com?subject=unsubscribe>
List-Archive: <https://listman.spamassassin.taint.org/mailman/private/exmh-users/>
Date: Wed, 24 Jul 2002 20:55:02 -0700
On Sun, 21 Jul 2002 16:37:21 -0500
Hal DeVore <haldevore@acm.org> wrote:
>>>>>> On Fri, 19 Jul 2002, "J" == J C Lawrence wrote:
J> What would be great is if I could build the relevant comp file
J> dynamically at runtime.
> Sure. Use the "folder change" hooks. Create a proc named
> Hook_FolderChangeSomething (where "Something" is meaningful and likely
> to be unique in the universe just in case you distribute this to
> others). Put the proc in a file in your ~/.tk/exmh directory,
> regenerate the tclIndex, restart exmh.
> In that proc you can do anything you want, like rewrite your
> ~/Mail/comp file.
Yeah, that would work, tho there are race conditions and likely/possible
ugly side effects (eg unintentionally left-over comp files). I've ended
up taking a very different route: TMDA (http://www.tmda.net). In
particular I use TMDA outbound filters to add custom plus addresses to
the messages I send to specific lists.
For example, for the tmda-users list I want a From: address of
claw+tmda@kanga.nu, so the relevant outbound filter is:
to tmda-users@libertine.org ext=tmda
which rewrites my From: header transparently. When I get next month's
batch of password reminders from Mailman lists I'll be running about
resubscribing to each list either with a standard plus address or a
TMDA-based sender address (ie an address which only the list in question
is able to send mail to).
-+-
Getting TMDA fully happy with nmh was a minor pain.
Reasons:
nmh, like MH, by default delivers outbound mail via SMTP to port 25 on
a defined host. The port number cannot be configured (it calls
getservbyname() which does a lookup against "smtp" in /etc/services).
Ergo, you are constrained to use tell nmh to use tmda-sendmail instead
of SMTP.
Using sendmail as the delivery method under MH instead of SMTP is not
recommended as is loses a number of useful bits of robustness in mail
delivery failure modes. Further, when nmh is configured to use
sendmail instead of SMTP nmh's whom tool calls sendmail as follows:
.../sendmail/ -m -t -i -bv
which creates problems:
Postfix does not support "-bv" and returns in error
Exim does not support "-t" with "-bv" and returns in error
Don't mention Qmail. I won't use it.
"whom" is far too useful as a component tool in MH to lose.
It would be nice if someone gave the new crew working on nmh a shout
about this. The "-bv" option to sendmail is pretty damned close to
being Allman sendmail specific and thus unfriendly to other MTAs.
Further there are many cases where it would be useful to configure a
non-standard port to deliver outbound mail to via SMTP. nmh's
current insistence on only using port 25 (or as specified in
/etc/services) is a pain.
I've worked out a hack to use TMDA with Exim while retaining nmh's
"whom" support using Exim's system filter:
0) Make sure that the following options are set in ~/.tmda/config:
DATADIR
ALLOW_MODE_640
CRYPT_KEY_FILE
FINGERPRINT
1) chgrp everything in and under ~/.tmda to group "mail".
2) Configure Exim as per the current TMDA HOW-TO.
3) Set the following options in exim.conf:
message_filter = "/etc/exim/filter"
message_filter_pipe_transport = address_pipe
( run in 0.607 second using v1.01-cache-2.11-cpan-e1769b4cff6 )