On Tue, Feb 10, 2004 at 04:39:12PM +0100, Julian Mehnle wrote:

> Anand Buddhdev [EMAIL PROTECTED] wrote:
> > Sam once suggested that your filter could mark the current message as
> > "done" ie. mark all recipients as delivered, and instead inject a new
> > message into the queue, with the headers you want added in. This is
> > still a kind of hack, but saves you from having to create additional
> > directories, and having to add headers later with maildrop.
> 
> IIRC, a courierfilter can't "mark all recipients as delivered", only
> a delivery instruction (in a dot-courier file) can.

I think you're wrong. A filter *can* modify a control file.

> So, what significant difference is there between marking all
> recipients as delivered plus resubmitting the message *in a delivery
> instruction* (e.g. in a maildrop script) and just modifying the
> message *in a delivery instruction* (e.g. in a maildrop script)?

Maildrop cannot modify the control file. And adding headers to a copy
of a message being delivered to multiple users uses more resources
than doing it once at message reception time.

It would be so nice if courier allowed adding,removing or modifying
message headers at filter-time.

-- 
Anand Buddhdev


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to