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

Re: mail.local vs. Smail3



Todd C. Miller wrote:

> Because mail.local is generally not run with the same uid as the
> recepient.  Also you can't make lock files then...

What I was meaning is that the check is not necessary for
anything.  You need some abilities (like write access to
the spool dir and write access to the mailbox) but you can't
know if you actually have these privs without just trying
it out.

If the code would not contain any checks that are not necessary
people would be able to make their MTAs happy more easily
without replacing the default mail.local.

(Some MTAs may choose to never start external programs as root,
so the uid==0 check only spoils things for them without any benefits.)