Uploaded image for project: 'Kopano Groupware Core'
  1. Kopano Groupware Core
  2. KC-1792

spooler: groups should not be expanded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.0.9, 8.7.25
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Kopano 8.7.12

      Description

      When sending mail to a group kopano-spooler already expand the group to its members

      kopano-spooler.log for a mail sent to "sales@farmer.lan"

      Thu Jun 18 17:01:09 2020: [=======] Starting kopano-spooler version 8.7.12 (pid 21544 uid 0)
      Thu Jun 18 17:01:09 2020: [debug  ] PYTHONPATH = /usr/share/kopano-spooler/python
      Thu Jun 18 17:01:09 2020: [info   ] Coredump status left at system default.
      Thu Jun 18 17:01:09 2020: [debug  ] Reexecing /usr/sbin/kopano-spooler
      Thu Jun 18 17:01:09 2020: [=======] Starting kopano-spooler version 8.7.12 (pid 21544 uid 999)
      Thu Jun 18 17:01:09 2020: [debug  ] PYTHONPATH = /usr/share/kopano-spooler/python:/usr/share/kopano-spooler/python
      Thu Jun 18 17:01:09 2020: [info   ] Coredump status left at system default.
      Thu Jun 18 17:01:09 2020: [info   ] Logger process started on pid 21547
      Thu Jun 18 17:01:09 2020: [debug  ] [21544] Using SMTP server: localhost, port 25
      Thu Jun 18 17:01:09 2020: [debug  ] [21544] Initializing provider "Kopano Directory Service"
      Thu Jun 18 17:01:09 2020: [debug  ] [21544] Initializing provider "Private Folders"
      Thu Jun 18 17:01:09 2020: [debug  ] [21544] Initializing provider "Public Folders"
      Thu Jun 18 17:01:09 2020: [debug  ] [21544] Connection to storage server succeeded
      Thu Jun 18 17:01:43 2020: [debug  ] [21544] Number of messages in the queue: 1
      Thu Jun 18 17:01:43 2020: [debug  ] [21544] Executing "/usr/sbin/kopano-spooler" "kopano-spooler" "--send-message-entryid" "000000002EC8D6F294EB4B66BB84532AABD45FAA01000000050000007D7B83D06FC24DACB2F0ABCDDFEDB89D00000000" "--send-username-enc" "user1" "--log-fd" "6" "--host" "default:" "--foreground" "localhost" "--port" "25" "--do-sentmail"
      Thu Jun 18 17:01:43 2020: [info   ] [21544] Spooler process started on PID 21559
      Thu Jun 18 17:01:43 2020: [debug  ] [21544] Messages with delayed delivery: 0
      Thu Jun 18 17:01:43 2020: [debug  ] Starting kopano-spooler worker
      Thu Jun 18 17:01:43 2020: [debug  ] PYTHONPATH = /usr/share/kopano-spooler/python:/usr/share/kopano-spooler/python:/usr/share/kopano-spooler/python
      Thu Jun 18 17:01:43 2020: [info   ] Coredump status left at system default.
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Kopano Directory Service"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Private Folders"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Public Folders"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Kopano Directory Service"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Private Folders"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Initializing provider "Public Folders"
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] PYTHONPATH = /usr/share/kopano-spooler/python:/usr/share/kopano-spooler/python:/usr/share/kopano-spooler/python
      Thu Jun 18 17:01:43 2020: [info   ] [21559] * Loading plugins started
      Thu Jun 18 17:01:43 2020: [info   ] [21559] ** Checking plugins in /var/lib/kopano/spooler/plugins
      Thu Jun 18 17:01:43 2020: [info   ] [21559] * Loading plugins done
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] Sending e-mail for user user1, subject: "Test1", size: 3526
      Thu Jun 18 17:01:43 2020: [info   ] [21559] * PreSending processing started
      Thu Jun 18 17:01:43 2020: [info   ] [21559] * PreSending processing done
      Thu Jun 18 17:01:43 2020: [debug  ] [21559] K-1253: Generated Message-Id "kcEE.fXuD0G/CTayy8KvN3+24nQ.gGW7YIFF1gE@hostname" for the RFC5322 mail
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user5@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user1@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user3@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user6@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user2@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] RCPT TO: user4@farmer.lan
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] SMTP connecting to localhost:25
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] SMTP server connected.
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 220 hostname.lxd.kopano.lan ESMTP Postfix (Ubuntu)
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < EHLO hostname
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 hostname.lxd.kopano.lan
      PIPELINING
      SIZE 10240000
      VRFY
      ETRN
      STARTTLS
      ENHANCEDSTATUSCODES
      8BITMIME
      DSN
      SMTPUTF8
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < MAIL FROM: <user1@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.0 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user5@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user1@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user3@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user6@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user2@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < RCPT TO: <user4@farmer.lan>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.1.5 Ok
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < DATA
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 354 End data with <CR><LF>.<CR><LF>
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] > 250 2.0.0 Ok: queued as 62E5211D02
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] SMTP: 2.0.0 Ok: queued as 62E5211D02
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] < QUIT
      Thu Jun 18 17:01:44 2020: [debug  ] [21559] E-mail for user user1 was accepted by SMTP server
      Thu Jun 18 17:02:43 2020: [debug  ] [21544] Cleaning 1 subprocesses from queue
      Thu Jun 18 17:02:43 2020: [info   ] [21544] Processed message for user user1

       

      Expected: kopano-spooler should not expand the group but give the e-mail with group mailaddress to postfix.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mkuemmerle Mathias Kümmerle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: