While investigating why postgrey wasn't running on our fedora box, I checked to see what run levels it was set to run at, and indeed it wasn't set up to run at any. Then, since there wasn't any useful information in the /etc/init.d/postgrey file about what run levels it should start at, I checked dovecot and postfix and they were different.

r...@s2# chkconfig --list dovecot
dovecot            0:off    1:off    2:on    3:on    4:off    5:on    6:off
r...@s2# chkconfig --list postfix
postfix            0:off    1:off    2:on    3:on    4:on    5:on    6:off

Shouldn't they be the same? I know that 4 is not used, but still it looks strange. For now I've set postgrey the same as dovecot.

I also noticed that in the file /etc/init.d/postfix (nor postgrey, nor dovecot), there were no start levels specified in the chkconfig line:

chkconfig: - 80 30

nor in the INIT INFO section is there a Default-Start:

### BEGIN INIT INFO
# Provides: postfix MTA
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Short-Description: start and stop postfix
# Description: Postfix is a Mail Transport Agent, which is the program that
#              moves mail from one machine to another.
### END INIT INFO

Should these be set up? If they (and the ones for dovecot and postgrey) were right then a chkconfig --add would make everything happy.

N.B. postfix, dovecot and postgrey all added from default fedora packages.

Reply via email to