Package: postfix Version: 2.4.5-1 The postfix.postinst script creates two postmaster entries in /etc/aliases if the debconf variable postfix/root_address is used.
add_root_alias() { db_get postfix/root_address && root_addr="$RET" ret=$(echo $RET | tr '[A-Z]' '[a-z]') if [ "$ret" != "none" ] && [ -n "$ret" ] ; then echo "adding root: $RET alias" echo "root: $RET" >> /etc/aliases echo "adding postmaster: $RET alias" echo "postmaster: $RET" >> /etc/aliases fi } ...... if [ ! -f /etc/aliases ]; then # no /etc/aliases [ echo "/etc/aliases does not exist, creating it." cat << EOF > /etc/aliases # See man 5 aliases for format postmaster: root EOF if [ "$mailer" != "No configuration" ]; then # [ db_fget postfix/root_address changed if [ "$RET" = "true" ]; then add_root_alias NEWALIASES=y fi fi # not 'No configuration' ] resulting in a /etc/aliases containing: # See man 5 aliases for format postmaster: root root: $RET postmaster: $RET -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]