[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] how many emails a day are processed



OK the command below does not specify the conf file and that is why the output 
goes to the Default ASCII:

>[root src]# sma /var/log/maillog >
>/home/sites/www.my-domain.co.uk/web/sma.html
>sma: cannot open configuration file, using defaults
>sma: opening file /var/log/maillog

Instead do this command:

[root src]# sma -f /usr/local/src/sma-1.3.2/sma.conf /var/log/maillog >
/home/sites/www.my-domain.co.uk/web/sma.html

-or-

If you issue the same command you showed in your message from directory 
/usr/local/src/sma-1.3.2/ It will work.

See my previous messages.

Regards
aljuhani@xxxxxxxxx


>===== Original Message From cobalt-users@xxxxxxxxxxxxxxx =====
>>You will need to install SMA (Sendmail Log Analyser).
>>It is very simple to install, here is the steps below:
>>ssh and su to your server
>
>>cd /usr/local/src
>>wget http://www.klake.org/sma/dl/sma-1.3.2.tar.gz
>>tar -zxvf sma-1.3.1.tar.gz
>>cd sma-1.3.2/
>>make
>>make install
>
>Ok - No problems so far :)
>
>>Then run the command below to make the maillog translated to
>>a web readable html page
>>sma /var/log/maillog >
>/home/sites/www.AnyDomainYouWant.com/web/sma.html
>
>Ok - This produced a nicely formatted web page, so I'm still happy :)
>
>Ah - I do...
>
>'sma /var/log/maillog >
>/home/sites/www.AnyDomainYouWant.com/web/sma.html'
>
>Again and it produces a badly formatted web page.
>
>Here is a copy and paste from shell :(
>
><shell>
>[root src]# sma /var/log/maillog >
>/home/sites/www.my-domain.co.uk/web/sma.html
>sma: cannot open configuration file, using defaults
>sma: opening file /var/log/maillog
></shell>
>
>Anyone give me any help :)
>
>Cheers
>
>Paul
>
>
>_____________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users