Loading ...
Sorry, an error occurred while loading the content.

Re: Allowing users to send mail only to their domain

Expand Messages
  • mouss
    ... yes. the alternative is to write a policy daemon.
    Message 1 of 2 , Oct 31 10:50 AM
    • 0 Attachment
      Mateusz Kijowski wrote:
      > Hi list,
      > Let's say I have following virtual users:
      > john@...
      > janet@...
      > jane@...
      > joe@...
      > jack@....
      > I want to restrict users from subdomains to send only to their subdomain and
      > the base domain. In other words I want jane to be able to send to john, janet
      > and joe, but not to jack.
      > Reading http://www.postfix.org/RESTRICTION_CLASS_README.html#external gave me
      > some insight, but the config described there doesn't seem valid for me. I
      > keep all the information about the virtual users in OpenLDAP. I am most
      > propably wrong, but to get the desired behaviour I would have to specify a
      > smtpd_restriction_class for each subdomain either manually or somehow
      > auto-generate it.


      the alternative is to write a policy daemon.

      > Maybe there is a much simpler approach I don't see. Thanks in adance for any
      > suggestions.
      > Mateusz Kijowski
    Your message has been successfully submitted and would be delivered to recipients shortly.