Non-root users recieve a "collect: Cannot write" error when sending mail

Solution Verified - Updated -

Issue

Normal users can't send mail via sendmail but root user can send mails.

mail -v user@domain.com < t1.txt

collect: Cannot write ./dfpABHhoMu026994 (bfcommit, uid=606, gid=51): Permission denied
queueup: cannot create queue file ./qfpABHhoMu026994, euid=606, fd=-1, fp=0x0: Permission denied

Environment

  • Red Hat Enterprise Linux 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content