Re: [exim] ACL condition to block a user from sending out ma…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: vynt nt
Data:  
Para: Jeremy Harris
CC: exim-users
Asunto: Re: [exim] ACL condition to block a user from sending out mail
Hi,

You can do this with custom ACL, here is example:
if (
       $received_protocol is "local" or
       $received_protocol is "esmtpa"
) and (
       $header_from contains "user1@???"
)
then
        seen finish
endif



On Tue, Sep 10, 2013 at 5:33 PM, Jeremy Harris <jgh@???> wrote:

> On 10/09/13 08:58, soumya tr wrote:
>
>> -------------------
>> 2013-09-10 07:46:56 1VJIf2-001qEs-6n <= user1@hostname U=user1 P=local
>> S=3773 T="Vakante Stellenangebote" for email@???
>> -------------------
>>
>> Is there any way I can suspend the email functionality for user "user1".
>> For example, if a user is trying to send out mail as user1, the mails
>> should be discarded.
>>
>
>
> You may need to use $originator_uid and translate it into (or from)
> a user name...
> --
> Cheers,
>     Jeremy

>
>
>
> --
> ## List details at https://lists.exim.org/**mailman/listinfo/exim-users<https://lists.exim.org/mailman/listinfo/exim-users>
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>