ezmlm a uprava hlavicek

Mira Tempir mira-list na cekit.cz
Čtvrtek Červenec 18 12:16:46 CEST 2002


On Thu, 18 Jul 2002 08:04:07 +0200, Ladislav Vaiz wrote:

> Dobry den,
> chtel bych nastavi ezmlm tak, aby na zacatek subjektu kazdeho mailu
> pridal nejaky text (jmeno konference). Je nejaka jina moznost, nez si
> napsat svuj skript, kterym se "prozene" kazdy mail? Podle dokumentace mi
> pripadne, ze je mozne subjekt odstranit a nejaky pridat, ale to neni to,
> ceho chci dosahnout.
> 

To by me zajimalo, jak jste to hledal. Ja vidim v kapitole 9 Customizing outgoing
messages dokumentu ezfaq:
9.2 Adding a subject prefix to outgoing messages.

Put the exact text in DIR/prefix. You can include the message number assigned to the
post in the list archive by adding the ``#'' character in the text in DIR/prefix
(example: put ``lsqb;listname-#rsqb;'' in DIR/prefix). ezmlm does not modify the
subject other than by prefixing it with the prefix. ezmlm knows about rfc2047
encoded subject and can detect a prefix within an encoded word. However, ezmlm
will not modify the subject itself. It will add a prefix only of none has been
added before. A consequence of this is that a message will have the message
number prefix of the first message in the thread rather than a prefix with
the number of the message itself. The entire thread can always be retrieved
with a message to list-thread-x na host, where ``x'' is the number in the prefix.

We recommend against using the prefix feature and strongly against the message
number prefix. If you use it, make sure you understand the drawbacks, of
message modification and subjects that change between message and reply. ezmlm can
deal with this, but other programs may not be able to.

Sublists ignore DIR/prefix.

If you add a prefix, especially if you previously added it by other means
(procmail, etc.), use ezmlm-idx to re-index the archive. Due to the way ezmlm-get(1)
does threading from the subject, it works best if you use exactly the same prefix as you did before.


mira tempir
cekit s.r.o.


Další informace o konferenci Sendmail