ISPCONFIG as an SMTP server with quota

Discussion in 'Installation/Configuration' started by Daniel Rouleau, Tuesday at 8:43 PM.

  1. Daniel Rouleau

    Daniel Rouleau New Member HowtoForge Supporter

    Good day I would like to know if it's possible to use ISPCONFIG purely as an SMTP server, I would need to have user authentification, and also be able to set email quotas (for example 100 email per user per hour) so even authenticated people wont be able to use this server to spam and have the whole server on email blacklist
    thank you in advance
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can use ISPConfig just as an email server. But ISPConfig has no per-user email sending quotas. You can implement those manually in the Rspamd configuration, though.
     
  3. Daniel Rouleau

    Daniel Rouleau New Member HowtoForge Supporter

    thanks for the quick answer I will look into Rspamd see what I could because having a quota is really a requirement for us
     
  4. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    This is a good topic to prevent abusers (that obtained someone's password) from turning your machine into a spam-spewer (has happened in the past). I found this too:
    https://github.com/nitmir/policyd-rate-limit
    However, not sure how to apply it to ISPCONFIG. I don't want, gmail, hotmail,etc to be limited too, only the ones originating from local email addresses should be counted.
    Update: You can enable it just for the submission port, that way incoming mail is not affected.
     
    Last edited: Friday at 4:48 AM
  5. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Update: It works very well! I got it enabled a few hours ago. Using Mariadb as database, easy to write exceptions, etc. I tweaked its logging too, so it shows just what I want in the logs.
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    With Rspamd, you already have software installed that can do that. I won't add more software to the stack if it is not needed, as in this case. Using an external policy software would only make sense if you use an old software stack with Amavisd, but in that case, I would recommend updating it to rspamd anyway as rspamd has a way better spam filtering performance.

    But if it works for you like this, that's perfectly fine. I would not do that on my systems though as I try to keep a clean and maintainable software stack.
     
    Turgut Kalfaoglu likes this.
  7. Daniel Rouleau

    Daniel Rouleau New Member HowtoForge Supporter

    Thank you for the fallow up,
    I'm sorry I know I did saw this somewhere else but don't seam to be able to find it anymore, What would be the command to install ISPconfig as mail server only (Just basic web admin interface, no site hosting, no dns or other service), I would used this machine only to manage outgoing mail for authenticate user, and set limit email quota with Rspamd
    I feel better to have different machine doing each only 1 thing when there is a problem there is less service affected...
     
  8. pyte

    pyte Well-Known Member HowtoForge Supporter

    You could install a ISPConfig Multiserver setup.

    Here are the "no"-Options available with the installer script:

     
    till likes this.

Share This Page