KOPANO-DAGENT(8) | Kopano Core user reference | KOPANO-DAGENT(8) |
NAME¶
kopano-dagent - Deliver mails to Kopano.
SYNOPSIS¶
kopano-dagent [OPTION...] RECIPIENT...
DESCRIPTION¶
With kopano-dagent, mail messages can be imported from Internet Mail format to Kopano. The message is read from standard input and delivered to the storage server in the mailbox of one or more RECIPIENTs. You can alter source and destination of this mail with various options.
The RECIPIENT values are resolved by kopano-dagent prior to delivery, and therefore accepts any unique identifier for the recipient. In practice, it is most useful to pass the emailaddress of the user as the RECIPIENT parameter, since it is always unique. (Note that login names are sometimes not unique since group names may overlap).
The delivery agent will accept and deliver the message piped through it or specified by -f and exit immediately.
The delivery agent can also run as LMTP daemon.
OPTIONS¶
Various options are possible. None of these options are required.
--config, -c file
Default: /etc/kopano/dagent.cfg
--deamonize, -d
--dump-config
--junk, -j
--file, -f file
--host, -h path
--listen, -l
-q
-s
-v
When given a second time, more debugging output will be printed.
-e
-R
In practice, the resolve will only fail if kopano-dagent is not running in a trusted account and is therefore only really here for backward-compatibility of earlier kopano-dagent versions.
-n
--do-not-notify, -N
--folder, -F path\to\folder
--public, -P path\to\folder
-p <path separator>
--create, -C
--read, -r
-a autoresponder
from
to
subject
kopano-username
messagefile
The following environment variables are present:
MESSAGE_TO_ME
MESSAGE_CC_ME
MAILHEADERS
Default: /usr/sbin/kopano-autorespond.
USAGE¶
To deliver an e-mail to a Kopano user's mailbox:
kopano-dagent username < mailfile
This passes the input to the dagent via the standard input interface.
CONFIG¶
Normally, no configuration file is used or required. The following options can be set in the configuration file:
server_socket
Default: file:///var/run/kopano/server.sock
sslkey_file
Default: value not set.
sslkey_pass
Default: value not set.
EXITCODES¶
The following exitcodes can be returned:
0
64
70, 100
75, 111
AUTHOR¶
Written by Kopano.
SEE ALSO¶
kopano-server(8), kopano-dagent.cfg(5)
November 2016 | Kopano 8 |