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

    How can I send a mail to everyone via dagent?

    Development
    3
    6
    700
    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.
    • mdoehle
      mdoehle last edited by

      Hi

      I want to pipe a mail into dagent and deliver it to everyone - like this:

      cat "msg.txt" | kopano-dagent <USER>
      

      I know that I work for normal users, but did it work also for “everyone”? Sure, I can try it - but I don’t want to annoy 500 User with my experiments.

      thanks
      Mathias

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

        Okay, I tried it - but as expected, it didn’t work. It seems there is no way to do it with dagent.

        But maybe someone knows how to do it with python. So if the message is in a postbox, how can I send the message as new mail to everyone or to a given recipient?? Btw. the subject has to be changed as well.

        The reason for all of this, is that I want to send some reminder in a regular manner with a cron job.

        thanks
        Mathias

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

          Okay, if it does not work with dagent - how about python? is there a way to send to everyone without generating hundreds of mails?

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

            I cannot really see a way how this can be achieved. in the end you have to deliver a mail to an amount of x users. If its about generating the mail I would create a group in the mta that expands to all you users and deliver the mail once to your mta.

            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
            • externa1
              externa1 @mdoehle last edited by

              @mdoehle

              what about creating a dummy mailbox and create a rule to forward to everyone group in kopano ?

              0_1544542454912_Auswahl_070.jpg

              rg
              Christian

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

                @externa1 said in How can I send a mail to everyone via dagent?:

                dummy mailbox and create a rule to forward to everyone

                would still go through the mta, but could indeed work.

                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