Re: [Exim] Smart Virtual Aliases

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jerry Allen
日付:  
To: Philip Hazel
CC: exim-users
題目: Re: [Exim] Smart Virtual Aliases

Hi Philip,

New to exim,
Dumb question, at what point would I place this rule in
my config file...?


On Wed, 21 Jun 2000, Philip Hazel wrote:

> On Tue, 20 Jun 2000, Jerry Allen wrote:
>
> > Is there a way to configure virtual aliases to be smart?
>
> Not directly.
> > Example:
> > user1@??? sends email to alias1@???,
> > alias1: user1@???, user2@???
> >
> > Goal:
> > user1@??? does not want the message back.
>
> A related goal:
> user1@??? never wants to receive *any* messages sent by herself
>
> This one is quite easy:
>
> discard_self:
> driver = smartuser
> domains = domain.com
> local_parts = user1@???
> condition = ${if eq{$sender_address}{$local_part@$domain}{yes}{no}}
> new_address = :blackhole:
>
> Generalizable with lookups if you have a file of such users. (Probably
> easier to put everything into "condition".) It's harder if user1 only
> doesn't want the message back when it was sent to alias1.
>
>
> -- 
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>