![]() |
> This is not quite right. sendmail should always be running as a > background job on the machine, what's called a "daemon". That is started Not necessary, although you risk having mail rejected if the first attempt at delivery fails. > as "root" at boot time. When the UUCP user calls sendmail, he uses it > to submit a mail message with a local invocation of sendmail, which passes > it to the sendmail daemon. Not true. Unless configured to always queue only, the client invocation of sendmail should attempt to complete the delivery itself, only leaving it to the daemon if the first attempt fails (also, "running as a daemon" has the connotation of accepting SMTP connections with sendmail (-bd), not just timed runing of the queue (-q30m)). The client sendmail needs write permission on /usr/spool/mqueue, even if the detached server does the actual forwarding/delivery, as the mail is transferred to the latter by being placed in /usr/spool/mqueue. sendmail, on a normal installation, should be set user root; it should certainly be set user to the same user as /usr/spool/mquue, otherwise.