0 List of optional config files & directories
fred727-temp edited this page 2021-03-13 20:16:27 +01:00

This is a list of all configuration files and directories which are optional or automatically generated in your config directory.

Directories:

  • sieve-filter: directory for sieve filter scripts. See wiki
  • sieve-pipe: directory for sieve pipe scripts. See wiki
  • opendkim: DKIM directory. Autoconfigurable via setup.sh config dkim. See wiki for further info
  • ssl: SSL Certificate directory. Autoconfigurable via setup.sh config ssl. Make sure to read the wiki as well to get a working mail server.

Files:

  • {user_email_address}.dovecot.sieve: User specific Sieve filter file. See wiki
  • before.dovecot.sieve: Global Sieve filter file, applied prior to the ${login}.dovecot.sieve filter. See wiki
  • after.dovecot.sieve: Global Sieve filter file, applied after the ${login}.dovecot.sieve filter. See wiki
  • postfix-main.cf: Every line will be added to the postfix main configuration. See wiki
  • postfix-master.cf: Every line will be added to the postfix master configuration. See wiki
  • postfix-accounts.cf: User accounts file. Modify via the setup.sh email script.
  • postfix-send-access.cf: List of users denied sending. Modify via setup.sh email restrict
  • postfix-receive-access.cf: List of users denied receiving. Modify via setup.sh email restrict
  • postfix-virtual.cf: Alias configuration file. Modify via setup.sh alias
  • postfix-sasl-password.cf: listing of relayed domains with their respective username:password. Modify via setup.sh relay add-auth <domain> <username> [<password>]. See wiki
  • postfix-relaymap.cf: domain-specific relays and exclusions Modify via setup.sh relay add-domain and setup.sh relay exclude-domain. See wiki
  • postfix-regexp.cf: Regular expression alias file. See wiki
  • ldap-users.cf: Configuration for the virtual user mapping (virtual_mailbox_maps). See the start-mailserver.sh script
  • ldap-groups.cf: Configuration for the virtual alias mapping (virtual_alias_maps). See the start-mailserver.sh script
  • ldap-aliases.cf: Configuration for the virtual alias mapping (virtual_alias_maps). See the start-mailserver.sh script
  • ldap-domains.cf: Configuration for the virtual domain mapping (virtual_mailbox_domains). See the start-mailserver.sh script
  • whitelist_clients.local: Whitelisted domains, not considered by postgrey. Enter one host or domain per line.
  • spamassassin-rules.cf: Antispam rules for Spamassassin. See wiki
  • fail2ban-fail2ban.cf: Additional config options for fail2ban.cf. See wiki
  • fail2ban-jail.cf: Additional config options for fail2ban's jail behaviour. See wiki
  • amavis.cf: replaces the /etc/amavis/conf.d/50-user file
  • dovecot.cf: replaces /etc/dovecot/local.conf. See wiki
  • dovecot-quotas.cf: list of custom quotas per mailbox. See wiki
  • user-patches.sh: this file will be run after all configuration files are set up, but before the postfix, amavis and other daemons are started. See wiki