From e108e23c02619f7df719b4b45c64230eab320010 Mon Sep 17 00:00:00 2001
From: Wietse Venema
/etc/postfix/main.cf: smtp_tls_dcert_file = /etc/postfix/client-dsa.pem - smtp_tls_dkey_file = $smtp_tls_cert_file + smtp_tls_dkey_file = $smtp_tls_dcert_filediff --git a/postfix/html/TLS_README.html b/postfix/html/TLS_README.html index 338d553e2..aea6c7c42 100644 --- a/postfix/html/TLS_README.html +++ b/postfix/html/TLS_README.html @@ -969,7 +969,7 @@ is correctly configured to supply its intermediate CA certificate).
/etc/postfix/main.cf: smtp_tls_dcert_file = /etc/postfix/client-dsa.pem - smtp_tls_dkey_file = $smtp_tls_cert_file + smtp_tls_dkey_file = $smtp_tls_dcert_filediff --git a/postfix/html/VIRTUAL_README.html b/postfix/html/VIRTUAL_README.html index 81bf4d90a..6b0d3abc0 100644 --- a/postfix/html/VIRTUAL_README.html +++ b/postfix/html/VIRTUAL_README.html @@ -129,7 +129,7 @@ being hosted on the local Postfix machine.
@@ -163,11 +163,11 @@ below shows how to use this mechanism for the example.com domain.-/etc/postfix/main.cf: +/etc/postfix/main.cf: mydestination = $myhostname localhost.$mydomain ... example.com
- 1 /etc/postfix/main.cf: + 1 /etc/postfix/main.cf: 2 virtual_alias_domains = example.com ...other hosted domains... 3 virtual_alias_maps = hash:/etc/postfix/virtual 4 - 5 /etc/postfix/virtual: + 5 /etc/postfix/virtual: 6 postmaster@example.com postmaster 7 info@example.com joe 8 sales@example.com jane @@ -210,7 +210,7 @@ for spam messages that were sent in the name of anything@example.com.Execute the command "postmap /etc/postfix/virtual" after changing the virtual file, and execute the command "postfix -reload" after changing the main.cf file.
+reload" after changing the main.cf file.Note: virtual aliases can resolve to a local address or to a remote address, or both. They don't have to resolve to UNIX system @@ -255,7 +255,7 @@ section at the top of this document.
@@ -329,7 +329,7 @@ mail for example.com's postmaster address to the local postmaster. You can use the same mechanism to redirect an address to a remote address. -- 1 /etc/postfix/main.cf: + 1 /etc/postfix/main.cf: 2 virtual_mailbox_domains = example.com ...more domains... 3 virtual_mailbox_base = /var/mail/vhosts 4 virtual_mailbox_maps = hash:/etc/postfix/vmailbox @@ -271,7 +271,7 @@ section at the top of this document. 14 # @example.com example.com/catchall 15 ...virtual mailboxes for more domains... 16 -17 /etc/postfix/virtual: +17 /etc/postfix/virtual: 18 postmaster@example.com postmasterLine 18: This example assumes that in main.cf, $myorigin +
Line 18: This example assumes that in main.cf, $myorigin is listed under the mydestination parameter setting. If that is not the case, specify an explicit domain name on the right-hand side of the virtual alias table entries or else mail will go to @@ -340,7 +340,7 @@ the wrong domain.
Execute the command "postmap /etc/postfix/virtual" after changing the virtual file, execute "postmap /etc/postfix/vmailbox" after changing the vmailbox file, and execute the command "postfix -reload" after changing the main.cf file.
+reload" after changing the main.cf file.Note: mail delivery happens with the recipient's UID/GID privileges specified with virtual_uid_maps and virtual_gid_maps. @@ -375,7 +375,7 @@ to a non-Postfix delivery agent:
@@ -400,7 +400,7 @@ to a non-Postfix delivery agent:- 1 /etc/postfix/main.cf: + 1 /etc/postfix/main.cf: 2 virtual_transport = ...see below... 3 virtual_mailbox_domains = example.com ...more domains... 4 virtual_mailbox_maps = hash:/etc/postfix/vmailbox @@ -389,7 +389,7 @@ to a non-Postfix delivery agent: 12 # @example.com whatever 13 ...virtual mailboxes for more domains... 14 -15 /etc/postfix/virtual: +15 /etc/postfix/virtual: 16 postmaster@example.com postmasterLine 2: With delivery to a non-Postfix mailbox store for hosted domains, the virtual_transport parameter usually specifies -the Postfix LMTP client, or the name of a master.cf entry that +the Postfix LMTP client, or the name of a master.cf entry that executes non-Postfix software via the pipe delivery agent. Typical examples (use only one):
@@ -414,7 +414,7 @@ examples (use only one):Postfix comes ready with support for LMTP. And an example maildrop delivery method is already defined in the default Postfix -master.cf file. See the MAILDROP_README document for more details. +master.cf file. See the MAILDROP_README document for more details.
Line 3: The virtual_mailbox_domains setting tells Postfix @@ -432,9 +432,13 @@ domain!
Lines 4, 7-13: The virtual_mailbox_maps parameter specifies the lookup table with all valid recipient addresses. The lookup -result is ignored by Postfix. In the above example, info@example.com -and sales@example.com are listed as valid addresses, and mail for -anything else is rejected with "User unknown". If you intend to +result value is ignored by Postfix. In the above example, +info@example.com +and sales@example.com are listed as valid addresses; other mail for +example.com is rejected with "User unknown" by the Postfix SMTP +server. It's left up to the non-Postfix delivery agent to reject +non-existent recipients from local submission or from local alias +expansion. If you intend to use LDAP, MySQL or PgSQL instead of local files, be sure to review the "local files versus databases" section at the top of this document!
@@ -456,7 +460,7 @@ redirect mail for example.com's postmaster address to the local postmaster. You can use the same mechanism to redirect any addresses to a local or remote address. -Line 16: This example assumes that in main.cf, $myorigin +
Line 16: This example assumes that in main.cf, $myorigin is listed under the mydestination parameter setting. If that is not the case, specify an explicit domain name on the right-hand side of the virtual alias table entries or else mail will go to @@ -467,7 +471,7 @@ the wrong domain.
Execute the command "postmap /etc/postfix/virtual" after changing the virtual file, execute "postmap /etc/postfix/vmailbox" after changing the vmailbox file, and execute the command "postfix -reload" after changing the main.cf file.
+reload" after changing the main.cf file.Mail forwarding domains
@@ -478,11 +482,11 @@ as a mail forwarding domain:- 1 /etc/postfix/main.cf: + 1 /etc/postfix/main.cf: 2 virtual_alias_domains = example.com ...other hosted domains... 3 virtual_alias_maps = hash:/etc/postfix/virtual 4 - 5 /etc/postfix/virtual: + 5 /etc/postfix/virtual: 6 postmaster@example.com postmaster 7 joe@example.com joe@somewhere 8 jane@example.com jane@somewhere-else @@ -526,7 +530,7 @@ for spam messages that were sent in the name of anything@example.com.Execute the command "postmap /etc/postfix/virtual" after changing the virtual file, and execute the command "postfix -reload" after changing the main.cf file.
+reload" after changing the main.cf file.More details about the virtual alias file are given in the virtual(5) manual page, including multiple addresses on the right-hand @@ -546,10 +550,10 @@ virtual addresses to the local delivery agent:
--/etc/postfix/main.cf: +/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual -/etc/postfix/virtual: +/etc/postfix/virtual: listname-request@example.com listname-request listname@example.com listname owner-listname@example.com owner-listname @@ -561,7 +565,7 @@ virtual addresses to the local delivery agent:This example assumes that in main.cf, $myorigin is listed under +
This example assumes that in main.cf, $myorigin is listed under the mydestination parameter setting. If that is not the case, specify an explicit domain name on the right-hand side of the virtual alias table entries or else mail will go to the wrong @@ -594,10 +598,10 @@ table:
@@ -613,13 +617,13 @@ reply back to the sender.-/etc/postfix/main.cf: +/etc/postfix/main.cf: virtual_alias_maps = hash:/etc/postfix/virtual -/etc/postfix/virtual: +/etc/postfix/virtual: user@domain.tld user@domain.tld, user@domain.tld@autoreply.mydomain.tld-/etc/postfix/main.cf: +/etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: autoreply.mydomain.tld autoreply: -/etc/postfix/master.cf: +/etc/postfix/master.cf: # ============================================================= # service type private unpriv chroot wakeup maxproc command # (yes) (yes) (yes) (never) (100) @@ -633,7 +637,7 @@ reply back to the sender. the user@domain.tld recipient address on the command line.For more information, see the pipe(8) manual page, and the -comments in the Postfix master.cf file.
+comments in the Postfix master.cf file.