On 09/10/2010 09:58 PM, Raymond Fagnon wrote:
I am having issues with my postfix install. When I telnet to port 25
and try to do any smtp commands the system doesn't respond. I see in
my logs /var/lib/postfix/smtpd_tls_session_cache.db: Permission
denied. I have chown of the /var/lib/postfix/ directory to postfix
user and group postfix. I also see in my logs
/usr/libexec/postfix/tlsmgr: bad command startup. How do you find out
what the offending command is?
Sep 10 15:54:07 alfmta01 sendmail[21143]: alias database /etc/aliases
rebuilt by root
Sep 10 15:54:07 alfmta01 sendmail[21143]: /etc/aliases: 76 aliases,
longest 10 bytes, 765 bytes total
Sendmail is still installed.
Just stopping sendmail may not be sufficient, since the postfix
"sendmail" command should replace "sendmail".
Sep 10 15:54:07 alfmta01 postfix/postfix-script: starting the Postfix
mail system
Sep 10 15:54:07 alfmta01 postfix/master[21189]: daemon started --
version 2.3.3, configuration /etc/postfix
That's quite old.
Sep 10 15:54:09 alfmta01 postfix/tlsmgr[21195]: fatal: open database
/var/lib/postfix/smtpd_tls_session_cache.db: Permission denied
A "FATAL" message means one or more postfix components absolutely could
not start.
Sep 10 15:54:10 alfmta01 postfix/master[21189]: warning: process
/usr/libexec/postfix/tlsmgr pid 21195 exit status 1
Sep 10 15:54:10 alfmta01 postfix/master[21189]: warning:
/usr/libexec/postfix/tlsmgr: bad command startup -- throttling
Is your distro running postfix chrooted into /var/spool/postfix ?
If so, trickery may be needed to be able to write to /var/lib.
--
J.