RE: [EXIM] save /dev/null in a system filter (old version of…

Góra strony
Delete this message
Reply to this message
Autor: Foster, C.
Data:  
Dla: 'Bruno Vuillemin', Exim Users List (E-mail)
Temat: RE: [EXIM] save /dev/null in a system filter (old version of exim )

> -----Original Message-----
> From: Bruno Vuillemin [mailto:Bruno.Vuillemin@unifr.ch]
> Sent: 16 June 1999 10:25
> To: exim-users@???
> Cc: Bruno.Vuillemin@???; postmaster@???
> Subject: [EXIM] save /dev/null in a system filter (old
> version of exim)
>
>
> Hello Everybody
>
> We are using a rather old version of Exim :1.82 on our MX
> boxes (sun Sol2.6)
> but it works !
>
> If the question is not "version independant" , please just
> let me know.
>
> Yesterday I tried to modify our existing system filter
> (reason why below)
>
> system filter file :
> ---
> if $h_to: contains  "invest1@???" or
>    $h_to: contains  "stocknewsn0w@???" 
> then
>    save /dev/null
> endif
> ---

>



I tried to use "save /dev/null" in a system filter once,
and also came up with problems (can't recall if they were the
same as yours). However, I think you can get around the
problem by using "seen finish" instead of "save /dev/null":

---
> if $h_to: contains  "invest1@???" or
>    $h_to: contains  "stocknewsn0w@???" 
> then
>    seen finish
> endif
> ---


The message is then simply ignored, rather than being saved
(whether or not to /dev/null).

Hope it works for you too.

Craig
___________________________________________________________
Dr C Foster                                    cf2@???
Systems Management                            0116 252 2245
University of Leicester Computer Centre   Leicester LE1 7RH


--
*** Exim information can be found at http://www.exim.org/ ***