[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: System users that receive mail in /var/mail/systemuser?

Christoph Berg <myon@debian.org> wrote:
> Re: Andreas Metzler 2006-04-09 <[🔎] e14ng3-dq7.ln1@argenau.downhill.at.eu.org>
>> #1 sane packages redirect mail via /etc/aliases
>> #2 un-aliased mail to systemusers (e.g. spam) is not accepted and
>> dumped into /var/mail/systemuser but rejected immediately (at SMTP
>> time).

> I'm not aware of any package inserting its system users into
> /etc/aliases, and in fact, my sid chroot doesn't even have that file.

They shouldn't, unless they want to receive mail for the system-user

> So unless I'm wrong here, a general mechanism to redirect/reject mail
> to such users should be invented. Maybe adduser could do that?

Policy 11.6. "/etc/aliases is the source file for the system mail
aliases (e.g., postmaster, usenet, etc.), it is the one which the
sysadmin and postinst scripts may edit."

And indeed e.g. clamav or inn2 will add itself to it (if it exists.)
               cu andreas

The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde

Reply to: