MailScanner not scanning emails.
Lawrence Lam
publicforum at myjaring.net
Thu Jan 10 17:06:29 GMT 2008
None is working after following suggestion from different parties:
$ su -
Password:
# service sendmail stop
sendmail: unrecognized service
# /etc/rc.d/init.d/service sendmail stop
-bash: /etc/rc.d/init.d/service: No such file or directory
# /sbin/service sendmail stop
sendmail: unrecognized service
# /sbin/service sendmail start
sendmail: unrecognized service
# /etc/rc.d/init.d/service sendmail start
-bash: /etc/rc.d/init.d/service: No such file or directory
# service sendmail start
sendmail: unrecognized service
# chkconfig sendmail off
error reading information on service sendmail: No such file or directory
-----Original Message-----
Lawrence Lam wrote:
>
> Problem 1:
>
> =============================
>
> Latest version of ClamAV and MailScanner installed OK but MailScanner
> is not scanning emails.
>
>
>
> This happens for both my RH9 and RHEL5 servers (both with WHM/cPanel).
> I have been searching Google for days but could not solve the
> problem. I believe the solution is something very simple. Can somebody
> please show me the way?
>
You say it is not scanning. Is mail getting through? If so, you need to
do the 4 commands listed in your Problem 2.
>
>
>
> Problem 2:
>
> =============================
>
> At the end of MailScanner installation, it said I should do these:
>
>
>
> service sendmail stop
>
> chkconfig sendmail off
>
> chkconfig MailScanner on
>
> service MailScanner start
>
>
>
> But for all the 4 commands, all I got was "Command not found". I am
> using RHEL5. What to do?
>
Never use "su" on its own, as this will not set up the root environment
($PATH and others) correctly. *Always* type "su -" as this will set up
the $PATH correctly. Then you will find service and chkconfig on your path.
>
>
> Thanks.
>
>
>
> Regards,
>
> Lawrence Lam
>
>
>
>
>
>
>
Jules
- --
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFHhkU7EfZZRxQVtlQRAo7sAJ0V/ELroM0jY2Pl6FWXiEWVYMECHQCfYlpE
WE23MemnALXlciNmxOUep2E=
=m88Y
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list