Use the latest reply_enabled and forward_enabled variables

master
Pierre Jaury 9 years ago
parent b0a1848bb7
commit e3afa469e3

@ -3,8 +3,8 @@
############### ###############
log_path = /dev/stderr log_path = /dev/stderr
protocols = imap lmtp sieve protocols = imap lmtp sieve
postmaster_address = %{env:POSTMASTER}@%{env:DOMAIN} postmaster_address = {{ POSTMASTER }}@{{ DOMAIN }}
hostname = %{env:HOSTNAME} hostname = {{ HOSTNAME }}
mail_plugins = $mail_plugins quota mail_plugins = $mail_plugins quota
submission_host = smtp submission_host = smtp

@ -1,5 +1,12 @@
connect = /data/freeposte.db connect = /data/freeposte.db
map {
pattern = priv/reply_enabled
table = user
username_field = email
value_field = reply_enabled
}
map { map {
pattern = priv/reply_subject pattern = priv/reply_subject
table = user table = user
@ -15,8 +22,15 @@ map {
} }
map { map {
pattern = priv/forward pattern = priv/forward_enabled
table = user table = user
username_field = email username_field = email
value_field = forward value_field = forward_enabled
}
map {
pattern = priv/forward_destination
table = user
username_field = email
value_field = forward_destination
} }

Loading…
Cancel
Save