Re: [Exim] \dev\null

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Simon Alman
Ημερομηνία:  
Προς: Nigel Metheringham
Υ/ο: Exim-Users (E-mail)
Αντικείμενο: Re: [Exim] \dev\null
Mmmm looks like I've been doing things wrong.
I'm glad I responded, at least I can now go and fix my config *sighs*

Ta for the heads up folks.

Simon

>On Mon, 2003-06-02 at 10:23, Simon Alman wrote:
>
>
>>I'd just use a system filter to drop any addresses I don't want
>>delivered i.e create a system filter file with the following:
>>
>>
>
>In general if you are doing routing in a system filter you are doing
>something wrong (same as for doing routing in the rewrite rules).
>
>The best way of doing this depends on how you have the the list of those
>that have left - ie is it something like an LDAP directory attribute, or
>a list of leavers, or a manual list.
>
>If you have a manual list then you could use a normal alias file
>configuration and make the aliases look something like this:-
>
>    jbloggs:    :fail: J Bloggs no longer works here.\
>            His business functions are now handled by fred@domain

>
>Or you could have a router which takes a file with a list of leavers:-
>
>  leavers:
>    driver = redirect
>    domains = +local_domains
>    condition = ${lookup{$local_part}lsearch{/etc/aliases}}
>    data = :fail: $local_part no longer works here

>
>Use :blackhole: in place of :fail: if you really want to silently
>discard mail - however this is pretty silly in normal circumstances.
>
>    Nigel.

>
>