MailScanner not scanning emails.
Brendan Pirie
bpirie at rma.edu
Thu Jan 10 17:50:40 GMT 2008
"rpm -q sendmail" will tell you if sendmail is installed.
If you're using postfix, exim or any MTA other than sendmail, the
commands will obviously not work.
If sendmail was installed from source/tarball instead of the RHL/RHEL
packages, the commands will likely fail as well.
Brendan
Lawrence Lam wrote:
> 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-----
>
More information about the MailScanner
mailing list