Postfix: Difference between revisions
solution to local lack-of-aliasing problem |
|||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<hide> | |||
[[page type::article]] | |||
[[thing type::software]] | |||
[[software type::mail transfer agent]] | |||
[[architecture::server]] | |||
[[license::open source]] | |||
[[category:software]] | |||
</hide> | |||
==About== | ==About== | ||
[[Postfix]] is an [[open source]] [[mail transfer agent]] (MTA) for [[POSIX]] systems. It is fully supported by [[Webmin]]/[[VirtualMin]] and is part of the [[Dovecot]] stack. | |||
== | ===Pages=== | ||
* [[/aliasing]]: managing email redirects/aliases | |||
* [[/fixing]]: diagnosis of installations that aren't working right | |||
* see also: [[DKIM]], [[DMARC]], [[Sender Policy Framework]] (SPF) | |||
* [[/chroot]]: running Postfix in a [[chroot]]ed environment | |||
: [[ | ===Files=== | ||
* [[/main.cf]] | |||
* [[/master.cf]]: formatted list of transport helper applications | |||
* [[/mail.log]] (typically found in /var/log) | |||
===Internal Apps=== | |||
* [[/aliases]] ([http://www.postfix.org/aliases.5.html reference]) | |||
* [[/cleanup]] ([http://postfix.org/cleanup.8.html reference]) | |||
* [[/lmtp]] ([http://postfix.org/lmtp.8.html reference]) | |||
* [[/local]] ([http://postfix.org/local.8.html reference]) | |||
* [[/pickup]] ([http://postfix.org/pickup.8.html reference]) | |||
* [[/qmgr]] ([http://postfix.org/qmgr.8.html reference]) | |||
* [[/smtpd]] ([http://postfix.org/smtpd.8.html reference]) | |||
* [[/transport]] ([http://www.postfix.org/transport.5.html reference]) | |||
* [[/trivial-rewrite]] ([http://postfix.org/trivial-rewrite.8.html reference])) | |||
===User Applets=== | |||
* [[/newaliases]] | |||
===Other Applets=== | |||
These are installed as part of the postfix package; not sure how they should be classified: | |||
{| | |||
|- | |||
| valign=top | | |||
* '''/usr/bin''': | |||
** [[/mailq]] | |||
** [[/newaliases]] - user utility | |||
** [[/rmail]] | |||
* '''/usr/lib''': | |||
** [[/postfix_groups.pl]] | |||
** [[/sendmail]] | |||
| valign=top | | |||
* '''/usr/lib/postfix''': | |||
** [[/anvil]] | |||
** [[/bounce]] | |||
** [[/cleanup]] | |||
** [[/discard]] | |||
** [[/error]] | |||
** [[/flush]] | |||
** [[/fsstone]] | |||
** [[/lmtp]] | |||
** [[/local]] | |||
** [[/master]] | |||
** [[/oqmgr]] | |||
** [[/pickup]] | |||
** [[/pipe]] | |||
** [[/post-install]] | |||
** [[/postfix-files]] | |||
** [[/postfix-script]] | |||
** [[/postfix-wrapper]] | |||
** [[/postmulti-script]] | |||
** [[/proxymap]] | |||
** [[/qmgr]] | |||
** [[/qmqpd]] | |||
** [[/scache]] | |||
** [[/showq]] | |||
** [[/smtp]] | |||
** [[/smtpd]] | |||
** [[/spawn]] | |||
** [[/tlsmgr]] | |||
** [[/trivial-rewrite]] | |||
** [[/verify]] | |||
** [[/virtual]] | |||
| valign=top | | |||
* '''/usr/sbin''': | |||
** [[/postalias]] | |||
** [[/postcat]] | |||
** [[/postconf]] | |||
** [[/postdrop]] | |||
** [[/postfix]] - core binary | |||
** [[/postfix-add-filter]] | |||
** [[/postfix-add-policy]] | |||
** [[/postkick]] | |||
** [[/postlock]] | |||
** [[/postlog]] | |||
** [[/postmap]] | |||
** [[/postmulti]] | |||
** [[/postqueue]] | |||
** [[/postsuper]] | |||
** [[/qmqp-sink]] | |||
** [[/qmqp-source]] | |||
** [[/qshape]] | |||
** [[/rmail]] | |||
** [[/sendmail]] | |||
** [[/smtp-sink]] | |||
** [[/smtp-source]] | |||
|} | |||
===Error Messages=== | |||
* [[503 5.5.1 Error: authentication not enabled]] | |||
* [[Connect to private/dovecot-auth failed: No such file or directory]] | |||
===Other Subpages=== | |||
* [[/flow]]: the flow of messages across the various helper programs that make up Postfix | |||
* [[/SSL]]: Postfix and SSL | |||
[ | |||
==Notes== | |||
After making changes to the Postfix configuration files, you don't actually have to stop and restart Postfix to load the changes; you can just type (as root) "postfix reload". | |||
===automatic BCC=== | ===automatic BCC=== | ||
To automatically [[blind carbon copy|BCC]] outgoing mail ''from'' any given set of users, set [[/main.cf/sender_bcc_maps|sender_bcc_maps]] in [[/main.cf]] to <u>hash:/etc/postfix/sender_bcc</u>. (In [[Webmin]]: BCC Mapping: Sender BCC mapping lookup tables) | To automatically [[blind carbon copy|BCC]] outgoing mail ''from'' any given set of users, set [[/main.cf/sender_bcc_maps|sender_bcc_maps]] in [[/main.cf]] to <u>hash:/etc/postfix/sender_bcc</u>. (In [[Webmin]]: BCC Mapping: Sender BCC mapping lookup tables) | ||
| Line 102: | Line 116: | ||
Each line in the [[/sender_bcc]] file will contain the ''sender'' (which can be user@domain, user, or @domain), one or more blanks, then the ''recipient'' (which can be one address or multiple addresses separated by commas). | Each line in the [[/sender_bcc]] file will contain the ''sender'' (which can be user@domain, user, or @domain), one or more blanks, then the ''recipient'' (which can be one address or multiple addresses separated by commas). | ||
Example -- BCCs all mail sent by | Example -- BCCs all mail sent by vbz.com users to an archive address: | ||
@vbz.com archive{{CURRENTYEAR}}@vbz.com | @vbz.com archive{{CURRENTYEAR}}@vbz.com | ||
===pages to index=== | ===pages to index=== | ||
Possibly useful pages: | |||
* [https://www.howtoforge.com/postfix_backup_mx Setting Up Postfix As A Backup MX] | |||
* [http://www.postfix.org/ADDRESS_REWRITING_README.html Postfix Address Rewriting] | * [http://www.postfix.org/ADDRESS_REWRITING_README.html Postfix Address Rewriting] | ||
* [http://www.postfix.org/trivial-rewrite.8.html trivial-rewrite] (manpage) | * [http://www.postfix.org/trivial-rewrite.8.html trivial-rewrite] (manpage) | ||
* [http://www.postfix.org/postconf.5.html Postfix Configuration Parameters] (includes [[/main.cf]] parameters) | * [http://www.postfix.org/postconf.5.html Postfix Configuration Parameters] (includes [[/main.cf]] parameters) | ||
* [http://www.postfix.org/FILTER_README.html Postfix After-Queue Content Filter] | |||
* [http://www.group-office.com/wiki/Mailserver Group-Office Mailserver] plugin: helps administer Postfix | |||
* [http://en.gentoo-wiki.com/wiki/Mail_server_using_Postfix_and_Dovecot Mail server using Postfix and Dovecot] on [[Gentoo Linux]] | |||
==Links== | ==Links== | ||
===Official=== | ===Official=== | ||
* [http://www.postfix.org/ | * [http://www.postfix.org/ home page] | ||
* {{link/manpage/only|Postfix|manpage}} | |||
===Reference=== | ===Reference=== | ||
* {{wikipedia|Postfix (software)}} | * {{wikipedia|Postfix (software)}} | ||
Latest revision as of 16:00, 17 September 2021
<hide> page type::article thing type::software software type::mail transfer agent architecture::server license::open source </hide>
About
Postfix is an open source mail transfer agent (MTA) for POSIX systems. It is fully supported by Webmin/VirtualMin and is part of the Dovecot stack.
Pages
- /aliasing: managing email redirects/aliases
- /fixing: diagnosis of installations that aren't working right
- see also: DKIM, DMARC, Sender Policy Framework (SPF)
- /chroot: running Postfix in a chrooted environment
Files
- /main.cf
- /master.cf: formatted list of transport helper applications
- /mail.log (typically found in /var/log)
Internal Apps
- /aliases (reference)
- /cleanup (reference)
- /lmtp (reference)
- /local (reference)
- /pickup (reference)
- /qmgr (reference)
- /smtpd (reference)
- /transport (reference)
- /trivial-rewrite (reference))
User Applets
Other Applets
These are installed as part of the postfix package; not sure how they should be classified:
|
Error Messages
- 503 5.5.1 Error: authentication not enabled
- Connect to private/dovecot-auth failed: No such file or directory
Other Subpages
- /flow: the flow of messages across the various helper programs that make up Postfix
- /SSL: Postfix and SSL
Notes
After making changes to the Postfix configuration files, you don't actually have to stop and restart Postfix to load the changes; you can just type (as root) "postfix reload".
automatic BCC
To automatically BCC outgoing mail from any given set of users, set sender_bcc_maps in /main.cf to hash:/etc/postfix/sender_bcc. (In Webmin: BCC Mapping: Sender BCC mapping lookup tables)
Each line in the /sender_bcc file will contain the sender (which can be user@domain, user, or @domain), one or more blanks, then the recipient (which can be one address or multiple addresses separated by commas).
Example -- BCCs all mail sent by vbz.com users to an archive address:
@vbz.com archive2026@vbz.com
pages to index
Possibly useful pages:
- Setting Up Postfix As A Backup MX
- Postfix Address Rewriting
- trivial-rewrite (manpage)
- Postfix Configuration Parameters (includes /main.cf parameters)
- Postfix After-Queue Content Filter
- Group-Office Mailserver plugin: helps administer Postfix
- Mail server using Postfix and Dovecot on Gentoo Linux
Links
Official
Reference
- Wikipedia (Postfix (software))
