@@ -36,100 +36,6 @@ This page describes the common settings required to make LDA work.
3636
3737## Parameters
3838
39- ::: tip
40- See also:
41- * [[ man,dovecot-lda]] .
42- :::
43-
44- Parameters accepted by dovecot-lda binary:
45-
46- ### ` -d <username> `
47-
48- Destination username.
49-
50- If given, the user information is looked up from dovecot-auth.
51-
52- Typically used with virtual users, but not necessarily with system users.
53-
54- ### ` -a <address> `
55-
56- Original envelope recipient address (e.g. user+ext@domain), typically the
57- same as SMTP's RCPT TO: value.
58-
59- If not specified, it's taken from header specified by
60- [[ setting,lda_original_recipient_header]] .
61-
62- If the header doesn't exist either, defaults to same as username.
63-
64- ### ` -r <address> `
65-
66- Final envelope recipient address.
67-
68- Defaults to ` -a ` address, but may differ if, e.g., aliases are used or
69- when dropping the +ext part.
70-
71- ### ` -f <address> `
72-
73- Envelope sender address. If not specified and message data begins with
74- a valid mbox-style "From " line, the address is taken from it.
75-
76- ### ` -c <path> `
77-
78- Alternative configuration file path.
79-
80- ### ` -m <mailbox> `
81-
82- Destination mailbox (default is INBOX).
83-
84- If the mailbox doesn't exist, it will not be created (unless
85- [[ setting,lda_mailbox_autocreate,yes]] ).
86-
87- If message couldn't be saved to the mailbox for any reason, it's delivered
88- to INBOX instead.
89-
90- - If Sieve plugin is used, this mailbox is used as the "keep"
91- action's mailbox. It's also used if there is no Sieve script or if
92- the script fails for some reason.
93-
94- - Deliveries to namespace prefix will result in saving the mail to
95- INBOX instead. For example if you have "Mail/" namespace, this
96- allows you to specify ` dovecot-lda -m Mail/$mailbox ` where mail
97- is stored to Mail/$mailbox or to INBOX if $mailbox is empty.
98-
99- - The mailbox name is specified the same as it's visible in IMAP
100- client. For example if you've a Maildir with ` .box.sub/ `
101- directory and your namespace configuration is ` prefix=INBOX/ ` ,
102- ` separator=/ ` , the correct way to deliver mail there is to use
103- ` -m INBOX/box/sub `
104-
105- ### ` -e `
106-
107- If mail gets rejected, write the rejection reason to stderr and exit with
108- EX_NOPERM.
109-
110- The default is to send a rejection mail ourself.
111-
112- ### ` -k `
113-
114- Don't clear all environment at startup.
115-
116- ### ` -p <path> `
117-
118- Path to the mail to be delivered instead of reading
119- from stdin. If using maildir, the file is hard linked to the
120- if possible. This allows a single mail to be delivered to
121- multiple users using hard links, but currently it also prevents
122- dovecot-lda from updating cache file so it shouldn't be used unless
123- really necessary.
124-
125- ### ` -o name=value `
126-
127- Override a setting from ` dovecot.conf ` .
128-
129- You can give this parameter multiple times.
130-
131- ## Return Values
132-
13339See [[ man,dovecot-lda]] .
13440
13541## System Users
0 commit comments