Re: [exim] ACL to stop an account to send email

Góra strony
Delete this message
Reply to this message
Autor: Luciano Rinetti
Data:  
Dla: Exim-users
Temat: Re: [exim] ACL to stop an account to send email
Thank you Marius,
i think the b) option is the one i choose with acl_check_out:
Let suppose the account is:
xyz.abc@???
how should be wrote the acl in the ACL configuration section of exim.conf ?


On 2018-02-03 10:44, Cyborg wrote:
> Am 03.02.2018 um 00:10 schrieb Jasen Betts:
> > On 2018-02-02, Luciano Rinetti <l.rinetti@???> wrote:
> >> How can i write an ACL to stop an account to send email ?
> >> And continue to use IMAP server to read email ?
> >> The mail server (Ubuntu server) uses Exim4 4.74 and Courier-imap 4.8.0.
> >
>
> a) your courier server has nothing to do with exim, so : yes, you can.
>
> b)
>
> I your case, these acls seems to be the best attempts:
>
> acl_check_auth:
> acl_check_mail:
> acl_check_rcpt:
>
> If the account uses smtp-auth , just deny it there.
> If the account uses a fixed sender address, use check_mail
> and you guessed it, if you need to stop mails to specific recipients,
> use check_rcpt
>
> Any of these acls has unique variables that might come handy. Check with
> the Exim-Docs
>
> hint:
>
> deny condition ${if eq{$..........}{"sender@???"}{yes}{no}}
>
>
> Marius
>
>
>


--
Cordiali Saluti / Best Regards

Luciano Rinetti
l.rinetti@???
Mob. 335.7878.602

Movimatica S.r.l.
www.movimatica.com - info@???
______________________________________________
sede Operativa:
Centro Pier della Francesca
Fabbricato 4, Scala P, 2° Piano
C.so Svizzera, 185 - 10149 Torino - Italy
Tel. +39 011 7767694 - Fax +39 011 746179
______________________________________________