On 13 Mar 2000, Torsten Curdt wrote:
> Hm.. is there any time where I can compare the sender with
> the receipent?
Any time you like!
${if eq{$sender_address}{$local_part@$domain}{yes}{no}}
> Will the alias director spawn the message
> into several messages, one for each receipent?
No, it spawns several recipients, not several messages.
> So I
> could do compore after the alias lookup has taken place and
> only one receipent is left?
I don't think you quite understand how aliasing works. It adds a new set
of recipients to those that are already there, and then marks the
original recpient 'done'. Each new recipient is then processed
independently. You could easily have
trash:
driver = smartuser
new_address = :blackhole:
condition = ${if eq{$sender_address}{$local_part@$domain}{yes}{no}}
but that would thrown away any message from a user to her/himself - not
just those that came via an alias.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.