Re: [exim] Exim exiscan ACL woes

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christian Schmidt
Date:  
À: exim-users
Sujet: Re: [exim] Exim exiscan ACL woes
Hello Craig,

Craig Schneider, 16.03.2005 (d.m.y):

> This is the acl:
> ----------------
>
>   # Attachments filtering on per user basis
>   deny  message   = User is unable to receive attachments
>         condition =
> ${lookup{$recipients}lsearch{/etc/mail/extensions}{1}{0}}
>         !senders  = *@localdomain.com
>         demime    = *

>
> In my extensions file I have to put user@??? but it would be nice
> to just put the user because some of my mailservers have mutltiple
> domains in Exim.


Just replace $recipients by $local_part. IMO that should do the trick.

Regards,
Christian
-- 
Gestorbne Freunde sind Ketten, die uns von der Erde ziehen und fester
mit einer bessern Welt verknüpfen.
        -- Jean Paul