Configure 'transport_default' to 'lmtp:unix:private/dovecot-lmtp'
This commit is contained in:
parent
f772a57c1a
commit
edc6ed4a8f
@ -1726,6 +1726,8 @@ _failed=false
|
|||||||
> $log_file
|
> $log_file
|
||||||
perl -i -n -p -e "s#^(\s*\\\$CONF\['transport_options'\]\s*=.*)#//\n//! \"transport_options\" will be overridden - see end of configfile\n//\n\1#" \
|
perl -i -n -p -e "s#^(\s*\\\$CONF\['transport_options'\]\s*=.*)#//\n//! \"transport_options\" will be overridden - see end of configfile\n//\n\1#" \
|
||||||
$pfa_conf_file >> $log_file 2>&1 || _failed=true
|
$pfa_conf_file >> $log_file 2>&1 || _failed=true
|
||||||
|
perl -i -n -p -e "s#^(\s*\\\$CONF\['transport_default'\]\s*=.*)#//\n//! \"transport_default\" will be overridden - see end of configfile\n//\n\1#" \
|
||||||
|
$pfa_conf_file >> $log_file 2>&1 || _failed=true
|
||||||
|
|
||||||
cat <<EOF >> $pfa_conf_file 2> $log_file
|
cat <<EOF >> $pfa_conf_file 2> $log_file
|
||||||
|
|
||||||
@ -1737,6 +1739,9 @@ cat <<EOF >> $pfa_conf_file 2> $log_file
|
|||||||
'local', // for system accounts
|
'local', // for system accounts
|
||||||
'relay' // for backup mx
|
'relay' // for backup mx
|
||||||
);
|
);
|
||||||
|
// Transport default
|
||||||
|
// You should define default transport. It must be in array above.
|
||||||
|
\$CONF['transport_default'] = 'lmtp:unix:private/dovecot-lmtp';
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
perl -i -n -p -e "s#^(\s*\\\$CONF\['vacation'\]\s*=.*)#//!\1\n\\\$CONF['vacation'] = 'YES';#" \
|
perl -i -n -p -e "s#^(\s*\\\$CONF\['vacation'\]\s*=.*)#//!\1\n\\\$CONF['vacation'] = 'YES';#" \
|
||||||
|
Loading…
Reference in New Issue
Block a user