[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] ACL condition to block a user from sending out mail
From:       vynt nt <vynt1090 () gmail ! com>
Date:       2013-09-17 11:52:44
Message-ID: CAJ2n3vBQ4uYZtVffJdRddbp4MiSzDcD-UkwO2BvQ9te08vyYvA () mail ! gmail ! com
[Download RAW message or body]

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@domain.com"
)
then
        seen finish
endif


On Tue, Sep 10, 2013 at 5:33 PM, Jeremy Harris <jgh@wizmail.org> 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@domain.com
> > -------------------
> > 
> > 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/
> 
-- 
## List details at 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/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic