LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   MailScanner on Slackware 11.0 (https://www.linuxquestions.org/questions/slackware-14/mailscanner-on-slackware-11-0-a-533686/)

waelaltaqi 03-01-2007 04:05 PM

MailScanner on Slackware 11.0
 
i have successfully installed Postfix, MailScanner, webmin with Mailscanner module, clamav and spamassasin.
everything is working fine. My problem is that is that i have to start each process manually. /opt/MailScanner/etc/MailScanner.conf is setup to use postfix, spamassasin and clamav. but when i execute /opt/MailScanner/bin/check_mailscanner, it doesn't start any of the others. On a Rehat system, MailScanner process should start the others.
when i reboot my server i have to start postfix, MailScanner, clamav and spamassassin manaully. Can anyone help me writting a script to run all process in on shot. what is the order i should start these processes or it doesn't matter?

MS3FGX 03-01-2007 05:26 PM

In Slackware, daemons are started from /etc/rc.d/rc.* files, which are simple Bash scripts.

So to start up all those programs, you might create something like "rc.mailservices", and inside of that start up the programs you need. Technically you should design the script so that it can take start|stop|restart commands, but you don't have to just to get it working.

As this is Slackware-specific, you would probably get a lot more interest if this topic was moved over there.

reddazz 03-01-2007 05:38 PM

Moved: This thread is more suitable in the Slackware forum and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 05:20 AM.