[Exim] Restricting local senders

Etusivu
Poista viesti
Vastaa
Lähettäjä: Lee Cashmore
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] Restricting local senders
Hi

I am attempting to stop a number of local users from sending emails (at
all) whilst allowing other users to continue as normal. I have been
looking at the acl configuration for this and think i need to use
something similar to:

acl_smtp_mail = acl_checknot_blockeded



begin acl

acl_check_notblocked:

  deny  senders  =
${lookup{$domain}lsearch{/etc/exim/blocked_email_addresses}{$value}fail}
        message = Email Access Is Presently Blocked




blocked_email_addresses    contains:


tcat.ac.uk        user1
tcat.ac.uk        user2


and so on

If anyone can suggest what is wrong with this approach or a better
approach i would be most greatfull

Thanks

Lee



------------------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual
to whom it is addressed. Any views or opinions presented are solely those
of the author and do not necessarily represent those of
Telford College of Arts & Technology. If you are not the intended recipient,
be advised that you have received this email in error and that any use,
dissemination, forwarding, printing, or copying of this email is strictly
prohibited.

If you have received this email in error please notify the
Telford College of Arts & Technology I.T. Helpdesk
by telephone on 44 (0)1952 642284.

Any files attached to this e-mail will have been checked with virus software
before transmission. However, you should carry out your own virus check
before opening any attachment. Telford College of Arts & Technology accepts
no liability for any loss or damage, which may be caused by software
viruses.

This message has been scanned for viruses and content by Mail Marshal.
------------------------------------------------------------------------------