Re: [exim] Feature Request

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Perkel
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Feature Request



Christian Schmidt wrote:
> Hello Marc,
>
> Marc Perkel, 21.04.2006 (d.m.y):
>
>
>> Marc Perkel wrote:
>>
>>> Like to have a feature like add_header called perhaps add_unique_header
>>> which will only add the header if that header isn't already there.
>>>
>>>
>>>
>> Also would like to see a replace_header command to delete and existing
>> header if there and replace it with a newer version.
>>
>
> That can be done using a system filter, e.g.:
>
> ### Tag Subject line of recognized Spam Mails:
> if "${if def:header_X-New-Subject: {there}}" is there
> then
> headers remove subject
> headers add "Subject: $h_X-New-Subject:"
> headers remove X-New-Subject
> endif
>
> ...where the X-New-Subject: is created in an ACL.
>
> Regards,
> Christian Schmidt
>


Right - all the suff I'm asking for can already be done, but it takes
several lines to do it. By adding new featues it makes it easier. And
easier is a good thing.