5. Frequently Asked Questions
Two questions occur often.
- 5.1. Why does sendmail give the error, sh: wrapper not available for sendmail programs?
- 5.2. Why will Red Hat not process my mc file?
smrsh will only allow sendmail to execute certain files. See Section 2.2.4.
For some reason, Red Hat does not include the necessary files to process mc files. According to /etc/mail/sendmail.mc, these files should be in the sendmail-cf package; however, I was unable to find this package on the CD. To fix this problem, install Red Hat's sendmail SRPM, uncompress the sendmail tarball, and copy the necessary macro files.
[root@kes root]# rpm -i sendmail-8.11.0-8.src.rpm [root@kes root]# cd /usr/src/redhat/SOURCES/ [root@kes SOURCES]# tar zxvf sendmail-8.11.0.tar.gz [root@kes SOURCES]# cd sendmail-8.11.0 [root@kes sendmail-8.11.0]# cp -R cf /usr/lib/sendmail-cf [root@kes sendmail-8.11.0]# cd .. [root@kes SOURCES]# rm -rf sendmail-8.11.0 |
define('ALIAS_FILE','/etc/aliases')dnl |
define(`ALIAS_FILE',`/etc/aliases')dnl |