gpg-lacre/gpg-mailgate.conf.sample

81 lines
2.7 KiB
Plaintext
Raw Normal View History

2010-01-20 20:53:25 +00:00
[default]
# whether gpg-mailgate should add a header after it has processed an email
# this may be useful for debugging purposes
2010-01-20 20:53:25 +00:00
add_header = yes
# whether we should only sign emails if they are explicitly defined in
# the key mappings below ([keymap] section)
# this means gpg-mailgate won't automatically detect PGP recipients
keymap_only = no
# Convert encrypted text/plain email to MIME-attached encrypt style.
# (Default is to use older inline-style PGP encoding.)
mime_conversion = yes
# RFC 2821 defines that the user part (User@domain.tld) of a mail address should be treated case sensitive.
# However, in the real world this is ignored very often. This option disables the RFC 2821
# compatibility so both the user part and the domain part are treated case insensitive.
# Disabling the compatibility is more convenient to users. So if you know that your
# recipients all ignore the RFC you could this to yes.
mail_case_insensensitive = no
2010-01-20 20:53:25 +00:00
[gpg]
# the directory where gpg-mailgate public keys are stored
# (see INSTALL for details)
2010-01-20 20:53:25 +00:00
keyhome = /var/gpg/.gnupg
2014-02-26 00:54:24 +00:00
[smime]
# the directory for the S/MIME certificate files
cert_path = /var/smime/certs
[mailregister]
# settings for the register-handler
2014-02-26 00:54:24 +00:00
register_email = register@yourdomain.tld
mail_templates = /var/gpgmailgate/register_templates
# URL to webpanel. The server should be able to reach it
webpanel_url = http://yourdomain.tld
[cron]
# settings for the gpgmw cron job
send_email = yes
notification_email = gpg-mailgate@yourdomain.tld
mail_templates = /var/gpgmailgate/cron_templates
2014-02-26 00:54:24 +00:00
2010-01-20 20:53:25 +00:00
[logging]
# For logging to syslog. 'file = syslog', otherwise use path to the file.
2014-02-26 00:54:24 +00:00
file = syslog
verbose = yes
2010-01-20 20:53:25 +00:00
[relay]
# the relay settings to use for Postfix
# gpg-mailgate will submit email to this relay after it is done processing
# unless you alter the default Postfix configuration, you won't have to modify this
2010-01-20 20:53:25 +00:00
host = 127.0.0.1
port = 10028
[database]
# uncomment the settings below if you want
# to read keys from a gpg-mailgate-web database
2014-02-26 00:54:24 +00:00
enabled = yes
name = gpgmw
host = localhost
username = gpgmw
2014-03-02 13:07:08 +00:00
password = password
2010-01-20 20:53:25 +00:00
[keymap]
# You can find these by running the following command:
# gpg --list-keys --keyid-format long user@example.com
# Which will return output similar to:
# pub 1024D/AAAAAAAAAAAAAAAA 2007-10-22
# uid Joe User <user@example.com>
# sub 2048g/BBBBBBBBBBBBBBBB 2007-10-22
# You want the AAAAAAAAAAAAAAAA not BBBBBBBBBBBBBBBB.
2014-03-02 13:09:19 +00:00
#you@domain.tld = 12345678
[pgp_style]
# Here a PGP style (inline or PGP/MIME) could be defined for recipients.
# This overwrites the setting mime_conversion for the defined recipients.
# Valid entries are inline and mime
# If an entry is not valid, the setting mime_conversion is used as fallback.
#you@domian.tld = mime