17Jan/080
Sendmail premissions error stopping mail from sending on CentOS 5.1
Really stupid issue with permissions on CentOS 5.1 and real easy fix, since there were improper permissions on the mqueue and clientmqueue directories.
The Error message:
Tried to send mail via command line using 'mail' command, and it returned this error:
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
The fix:
The fix is to set permissions on this directory to that of the submission user (smmsp) on CentOS.
chown smmsp:smmsp /var/spool/mqueue/
chown smmsp:smmsp /var/spool/clientmqueue/
Now it works. Hoorah.
VN:F [1.8.4_1055]
Tagged as: centos, permission denied, sendmail
No Comments
Categories
- apache (3)
- freebsd (4)
- general (1)
- linux & freebsd (10)
- php (1)
- plesk (2)
- sendmail (1)
- uncategorized (1)
- vmware (1)
Recent
- VMWare 2.0.x and CentOS 5.4 glibc crashes and instabilities – a workaround solution
- Moving wordpress from a subdirectory – and generation of 301 redirects from a google sitemap
- Yum update check script – runs via crontab and emails when new updates are available
- logrotate tweaks to enhance rsync backups
- OpenVZ cache update script
Topics
apache
apache ddos spam
apache referrer ddos
apache referrer spam
awk
bash
centos
cli
client_pref
cron
dell 1650
djpeg
freebsd
freebsd 6.x
gocr
grep
httpd.conf
image text recognition
ipmi
ipmitool
linux
linux & freebsd
lm_sensors
mailscanner
mod_rewrite
mod_rewrite blocking of spam
ntpdate
ocr
OpenIPMI
optical character recognition
permission denied
php
php4
php5
plesk
plesk 8.0.x
rpm
sendmail
sort
spam
spamassassin
suspend
tesseract
time
yum