Hi,

I'm managing an exim4 installation which has mailing lists managed by mailman...

What I'd like to do, is have a list of closed mailing lists, say

   /etc/exim4/closed_lists_deny_rcpt

which contains say, [EMAIL PROTECTED]

I'd like an ACL which denies based on RCPT the following addresses:

   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   ...

At the moment, I have:

acl_check_rcpt:
   deny
      recipients = ${if exists{CONFDIR/closed_lists_deny_rcpt}\
                              {CONFDIR/closed_lists_deny_rcpt}\
                              {}}
      message = list is closed

This works, but only on [EMAIL PROTECTED], not all the others associated with the mailman list.
I tried various combinations of using

condition = ${if eq {$local_part_suffix}{\N^.*-(subscribe|owner...} {yes}{no}}

But I guess since the subscribe/owner/... addresses aren't in the closed_lists_deny_rcpt, then the acl is failing at the recipients bit.

Can anyone help me with the correct way to accomplish this?

--
Regards,
Etienne Le Sueur

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-- 
## List details at http://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/

Reply via email to