getting postfix tyo start automatically

Postfix has an initscript just like sendmail did so while logged in as root, simply type: ntsysv and select postfix.

The message above is from the Redhat postifx FAQ. I tried running ntsysv and postfix is not listed as a selection. I can start postfix manually without any problems, but I need it to start on boot. What other way is there to get this setup?

Thanks

When you increase the number of Postfix processes into the hundreds, the kernel will eventually run out of file handles; after that it is likely to run out of process slots.
The following information is kernel version dependent.

To set parameters at boot time on Linux systems that have /etc/sysctl.conf, add the following lines:

fs.file-max = 16384
kernel.threads-max = 2048

To set kernel parameters at run time, execute the following commands as root:

# echo 16384 > /proc/sys/fs/file-max
# echo 2048 > /proc/sys/kernel/threads-max

Hope this helps.

Well, just using ntsysv on a Redhat system won't allow you to add new scripts to the init.d / rc*.d areas. It allows you to turn on / off existing scripts.

If you installed from an RPM, it should have added startup scripts for you, which you could turn off and on.

The easiest way would probably be to simply add some lines to the rc.local file, instead of writing a large new script to handle stop / restart / start / status conditions...

I don't remember exactly where it lie, but it's below the /etc directory somewhere... maybe in /etc/rc.d ?