diff options
Diffstat (limited to 'conf.d/040_transports.conf')
-rw-r--r-- | conf.d/040_transports.conf | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/conf.d/040_transports.conf b/conf.d/040_transports.conf index 3a885d4..af605d5 100644 --- a/conf.d/040_transports.conf +++ b/conf.d/040_transports.conf | |||
@@ -17,8 +17,13 @@ begin transports | |||
17 | # enforce this is a red herring. | 17 | # enforce this is a red herring. |
18 | 18 | ||
19 | remote_smtp: | 19 | remote_smtp: |
20 | driver = smtp | 20 | driver = smtp |
21 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} | 21 | message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}} |
22 | dkim_domain = $sender_address_domain | ||
23 | dkim_selector = SHORT_HOSTNAME | ||
24 | dkim_private_key = DKIMDIR/$dkim_selector._domainkey.$dkim_domain.pem | ||
25 | dkim_canon = relaxed | ||
26 | dkim_strict = yes | ||
22 | 27 | ||
23 | 28 | ||
24 | # This transport is used for local delivery to user mailboxes in traditional | 29 | # This transport is used for local delivery to user mailboxes in traditional |
@@ -28,16 +33,22 @@ remote_smtp: | |||
28 | # particular group instead of using the sticky bit. The commented options below | 33 | # particular group instead of using the sticky bit. The commented options below |
29 | # show how this can be done. | 34 | # show how this can be done. |
30 | 35 | ||
31 | local_delivery: | 36 | #local_delivery: |
32 | driver = appendfile | 37 | # driver = appendfile |
33 | file = /var/mail/$local_part | 38 | # file = /var/mail/$local_part |
34 | delivery_date_add | 39 | # delivery_date_add |
35 | envelope_to_add | 40 | # envelope_to_add |
36 | return_path_add | 41 | # return_path_add |
37 | # group = mail | 42 | # group = mail |
38 | # mode = 0660 | 43 | # mode = 0660 |
39 | 44 | ||
40 | 45 | ||
46 | dovecot_lmtp: | ||
47 | driver = smtp | ||
48 | protocol = lmtp | ||
49 | port = 24 | ||
50 | |||
51 | |||
41 | # This transport is used for handling pipe deliveries generated by alias or | 52 | # This transport is used for handling pipe deliveries generated by alias or |
42 | # .forward files. If the pipe generates any standard output, it is returned | 53 | # .forward files. If the pipe generates any standard output, it is returned |
43 | # to the sender of the message as a delivery error. Set return_fail_output | 54 | # to the sender of the message as a delivery error. Set return_fail_output |
@@ -47,7 +58,7 @@ local_delivery: | |||
47 | # section above. | 58 | # section above. |
48 | 59 | ||
49 | address_pipe: | 60 | address_pipe: |
50 | driver = pipe | 61 | driver = pipe |
51 | return_output | 62 | return_output |
52 | 63 | ||
53 | 64 | ||
@@ -55,7 +66,7 @@ address_pipe: | |||
55 | # generated by aliasing or forwarding. | 66 | # generated by aliasing or forwarding. |
56 | 67 | ||
57 | address_file: | 68 | address_file: |
58 | driver = appendfile | 69 | driver = appendfile |
59 | delivery_date_add | 70 | delivery_date_add |
60 | envelope_to_add | 71 | envelope_to_add |
61 | return_path_add | 72 | return_path_add |
@@ -64,5 +75,5 @@ address_file: | |||
64 | # This transport is used for handling autoreplies generated by the filtering | 75 | # This transport is used for handling autoreplies generated by the filtering |
65 | # option of the userforward router. | 76 | # option of the userforward router. |
66 | 77 | ||
67 | address_reply: | 78 | #address_reply: |
68 | driver = autoreply | 79 | # driver = autoreply |