I had a long running discussion on the MS ML about an oddity in the init
script. 'start' would return nothing.
[root@smtp2 spool]# /etc/init.d/mailscanner start
[root@smtp2 spool]# /etc/init.d/mailscanner start
The only way I can get ms to start, is by using 'restart'. This means it does
not start when the box reboots, i have to manually start it; using 'restart'. I
told them the repo was from baruwa, and it looks like something just is not
right.
rh_status_q() {
rh_status
was echoing to /dev/null so i removed it. Now i get
[root@smtp2 init.d]# /etc/init.d/mailscanner start
Checking MailScanner daemons:
MailScanner: stopped
after looking at rh_status() i do not see a $mta = postfix
I have postfix disabled in chkconfig.. i don't know much bash, but i see its
doing a restart, then start command .. but not sure why just the start doesnt
work.
[root@smtp2 init.d]# service mailscanner status
Checking MailScanner daemons:
MailScanner: stopped
[root@smtp2 init.d]# service mailscanner start
Checking MailScanner daemons:
MailScanner: stopped
[root@smtp2 init.d]# service mailscanner status
Checking MailScanner daemons:
MailScanner: stopped
[root@smtp2 init.d]# service mailscanner restart
Shutting down MailScanner daemons:
MailScanner: [FAILED]
incoming postfix: [ OK ]
outgoing postfix: [ OK ]
Waiting for MailScanner to die gracefully dead.
Starting MailScanner daemons:
outgoing postfix: [ OK ]
MailScanner: [ OK ]
[root@smtp2 init.d]# service mailscanner status
Checking MailScanner daemons:
MailScanner: running
--
Jeremy McSpadden
Flux Labs, Inc
http://www.fluxlabs.net<http://www.fluxlabs.net/>
Endless Solutions
Office : 850-588-4626
Cell : 850-890-2543
Fax : 850-254-2955
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056