Sent system mail via postfix/kopano



  • Hi,

    I am running a few services on my system that I would like to be able to send system mail from. For example, consider I am running a Gitea instance that should be able to send mails to collaborators via SMTP. I am having trouble thinking through how to go about achieving the following:

    1. the service sends mail via SMTP (postfix)
    2. the mail is stored in the kopano mailbox of the system user (<-- no idea how to achieve this)

    I am not entirely clear on how mail is placed in a user’s mailbox in kopano at all. I am assuming that usually the spooler tells postfix to deliver something so that postfix itself doesn’t know about the “sent items” folder of a user’s mailbox, right?
    Are there any kopano services that help me place mail in the box that have not been sent via the spooler?

    EDIT says: it’s dagent that’s responsible for handling incoming email. When software like gitea offers configuration only of an SMTP but not an LDA, is there a standard way to “inject” dagent into this so that mail that’s being sent via SMTP automatically gets moved into a user’s sent items folder?

    Any help you can provide is appreciated!


  • Kopano

    @irreleph4nt said in Sent system mail via postfix/kopano:

    it’s dagent that’s responsible for handling incoming email. When software like gitea offers configuration only of an SMTP but not an LDA, is there a standard way to “inject” dagent into this so that mail that’s being sent via SMTP automatically gets moved into a user’s sent items folder?

    You actually had it already right the first time. dagent handles incoming mail and spooler outgoing. therefore when a message has been sent by spooler, the spooler process itself takes care of moving the message from the outbox to the sent items.

    @irreleph4nt said in Sent system mail via postfix/kopano:

    Are there any kopano services that help me place mail in the box that have not been sent via the spooler?

    No, something like that does not exist.


Log in to reply