Postfix relay with authentication by specific users only

Discussion in 'Installation/Configuration' started by egirard, Aug 29, 2016.

  1. egirard

    egirard New Member

    Hi,
    Our postfix is set up to authenticate users. We need to restrict relay to a limited number of users. It is possible?.
    Thanks for your help !!
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Postfix has some very basic rate limiting based on the client ip address, eg.
    Code:
    # postconf | grep rate_limit
    smtpd_client_connection_rate_limit = 100
    smtpd_client_message_rate_limit = 100
    smtpd_client_new_tls_session_rate_limit = 0
    smtpd_client_recipient_rate_limit = 600
    
    More flexible limiting would require an external program, eg. postfwd can apply rate limits, as can policyd.
     
  3. egirard

    egirard New Member

    Thanks Jesse for your reply.
    I am looking a solution to only allow smtp authentication for a few mail users.
    Thanks for your help.
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Ispconfig 3.1 (coming soon) has a 'Disable SMTP (sending)' checkbox in mailboxes, probably just what you need.
     
  5. egirard

    egirard New Member

    Thanks Jesse !
    It exactly what I am looking. I will wait to this release. Do you know when this will be available?
     
  6. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    No, there's no clear timeframe. It seems to be quite close, and the number and severity of bugs is fairly small, but most guesses at a timeframe don't hold, so as always, it'll be available when it's ready. :)
     

Share This Page