Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    suppress out of office mails for specific mail addresses

    General Discussion
    3
    3
    639
    Loading More Posts
    • 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.
    • freyuh
      freyuh last edited by

      Hello,

      our customer gets newsletter mails from newsletter@… and the out of office mails get back, because they are bounced by the newsletter mailserver. And so our customer gets the non delivery mail from kopano.

      So is it possible to suppress out of office mails for specific sender mail adresses?

      Ulrich.

      1 Reply Last reply Reply Quote 0
      • dw2412
        dw2412 last edited by

        Hi Ulrich,

        quite sure that there are options to achive this. Just have a look at /usr/sbin/kopano-autorespond - it is as man page says really a shell script that can be adapted according your needs. It is called by kopano-dagent everytime a new message arrives for a user having ooo enabled.

        Idea could be to have some mysql db with all addresses that should not being autoreplied and do some mysql query that returns 0 and 1 inside the script and simply exit from script if address check returns something else than 0. You should only check that the script is still being used after some update. Don’t know if it is being overwritten but if and if the script is not executed with a hard path binding, than just place your adapted one in /usr/local/sbin and it will be used even after updating kopano. If it is hard path bound, than you should remember to patch it again after each update or be so kind and give your change to community (via github) so that it could be maybe included in newer kopano versions…

        Best regards

        Andreas

        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano @dw2412 last edited by

          @dw2412 said in suppress out of office mails for specific mail addresses:

          Don’t know if it is being overwritten

          it actually is, but that is no problem since you can specify the out of office tools that is executed by the dagent.

          @dw2412 said in suppress out of office mails for specific mail addresses:

          Idea could be to have some mysql db with all addresses that should not being autoreplied and do some mysql query that returns 0 and 1 inside the script

          A simple array in bash sounds easier, though.

          Regards Felix

          Resources:
          https://kopano.com/blog/how-to-get-kopano/
          https://documentation.kopano.io/
          https://kb.kopano.io/

          Support overview:
          https://kopano.com/support/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post