Bug#421424: exim4/dc_postmaster should default to the user created at installation time

Andreas Metzler ametzler at downhill.at.eu.org
Wed May 2 17:46:04 UTC 2007


On 2007-04-29 Josh Triplett <josh at freedesktop.org> wrote:
> Package: exim4
> Version: 4.67-1
> Severity: wishlist

> If the user installing the system takes the advice about not working
> as root, and creates an account for themselves as part of the
> installation process, that account gets various group privileges,
> and generally seems to get treated as a local admin.  How about
> making exim4/dc_postmaster default to that user?  You can find out
> the name of the user created at installation time by reading
> passwd/username, and default to it if it exists.
[...]


Actually that is already supposed to happen:

if [ ! -e /etc/aliases ] || \
        ! grep -q '^root:[[:space:]]*[[:alnum:]]' /etc/aliases ; then
        db_get exim4/dc_postmaster
        if [ -z "$RET" ] && db_get passwd/username; then
                db_set exim4/dc_postmaster "${RET}"
        fi
[...]

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Pkg-exim4-maintainers mailing list