Postfix/fixing

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Postfix
Revision as of 14:45, 29 October 2020 by Woozle (talk | contribs) (Created page with "==How to== * '''Find where the config files are''': ** '''<code>postconf {{arg|setting_name}}</code>''', where {{arg|setting_name}} is one of the following: *** '''<code>alias...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to

  • Find where the config files are:
    • postconf <setting_name>, where <setting_name> is one of the following:
      • alias_database filespec for the main alias database ("hash:" just means a text file)
      • alias_maps seems to be the same thing?
      • config_directory: main folder where config files are stored (typically /etc/postfix)
      • mydomain: not sure what this specifically does, but it seems significant
      • myhostname: internet domain name for the server
      • myorigin: I think this sets the "from" address in outgoing mail (typically /etc/mailname)
      • virtual_alias_maps: alias maps for virtual domains, same format as alias_maps (typically hash:/etc/postfix/virtual)
    • postconf -n will show any settings which have been changed from their defaults
    • postconf will show a (long) list of all settings, which can either be dumped to a file for searching or viewed in a scrollable way with postconf | less

Links