Re: [Exim] Restricting Aliases for Majordomo Lists

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Greg Ward
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Restricting Aliases for Majordomo Lists
On 14 June 2002, Cory Daehn said:
> After being the embarassed one to have a user's infection with the HaHa
> virus finding the <1023882439@???> in the header and manage to
> send 2 or 3 copies of the HaHa virus to the entire mailing list (14,500
> e-mail addresses) I would like to restrict the outbound alias (now
> renamed to txcoooking-list-outgoing & possibly moving all the outbound
> aliases into their own alias files) so that only majordomo can send a
> message to them. (not sure if user = would be majordom or
> majordomo@localhost)


Doesn't majordomo let you specify that only certain people (err,
addresses) are allowed to post to a list? Or that list posts must be
approved by a moderator/admin?

If it doesn't, you should probably slap a host-based ACL condition on at
RCPT time. Err, you *are* using Exim 4, aren't you? Anyways, something
like this, assuming your RCPT ACL is called check_recipient:

check_recipient:
  deny    hosts      = !127.0.0.1     # or some other "local" IP
          recipients = txcoooking-list-outgoing@???
          message    = non-local senders not allowed to send to this address
  [... rest of ACL to handle relaying ...]


Untested, YMMV of course.

        Greg
--
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org