Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Spam ACL whitelist in API but not in GUI?

Spam ACL whitelist in API but not in GUI?

Scheduled Pinned Locked Moved Discuss
apiemail
7 Posts 4 Posters 91 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • imc67I Offline
    imc67I Offline
    imc67
    translator
    wrote last edited by girish
    #1

    I'm building an external (multi) Cloudron Security Monitoring app and I am very exited about all the API possibilities!

    One thing I noticed in https://docs.cloudron.io/api/get-spam-acl

    APPLICATION/JSON
    Schema
    Example (auto)
    SCHEMA
    whitelist
    string[]
    List of email addresses that are allowed (whitelisted).
    Example: ["no-spam@mail.de"]
    blacklist
    string[]
    List of email addresses that are blocked (blacklisted).
    Example: ["spam@mail.de"]
    

    However I can't find the whitelisted email addresses in the Cloudron GUI, or am I wrong?

    1 Reply Last reply
    1
    • T Offline
      T Offline
      tobiasb
      wrote last edited by tobiasb
      #2

      This is configured in https://example.org/#/email-settings.

      Doc https://docs.cloudron.io/email#address-blocklist

      Fyi: The frontend uses the same API, so you should see a request to this endpoint.

      imc67I 1 Reply Last reply
      1
      • T tobiasb

        This is configured in https://example.org/#/email-settings.

        Doc https://docs.cloudron.io/email#address-blocklist

        Fyi: The frontend uses the same API, so you should see a request to this endpoint.

        imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote last edited by
        #3

        @tobiasb I know about the “blacklist” but I was looking for the “whitelist” with email addresses 😉

        1 Reply Last reply
        1
        • T Offline
          T Offline
          tobiasb
          wrote last edited by tobiasb
          #4

          Oh sorry. 😄

          The doc is even not up2date. In latest version (9.1.5) the response is (unconfigured):

          {"allowlist":[],"blocklist":[]}
          
          1 Reply Last reply
          3
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote last edited by
            #5

            @imc67 for the moment, it's best not to use allowlist. It's not exposed in UI because it's not really tested or working well. Currently, all it does it add anything in allowlist to SpamAssassin's whitelist_auth - https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html .

            imc67I 1 Reply Last reply
            0
            • girishG girish marked this topic as a regular topic
            • girishG girish moved this topic from Support
            • girishG girish

              @imc67 for the moment, it's best not to use allowlist. It's not exposed in UI because it's not really tested or working well. Currently, all it does it add anything in allowlist to SpamAssassin's whitelist_auth - https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html .

              imc67I Offline
              imc67I Offline
              imc67
              translator
              wrote last edited by
              #6

              @girish said:

              @imc67 for the moment, it's best not to use allowlist. It's not exposed in UI because it's not really tested or working well. Currently, all it does it add anything in allowlist to SpamAssassin's whitelist_auth - https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html .

              Thanks for sharing this information, though I really would like to see this working officially because currently there is no way to “force allow” emails that gets into spam unneeded.

              1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote last edited by
                #7

                Is there a way through the CLI?

                Conscious tech

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search