Menu

#4 No output created. Does it do anything?

v1.0_(example)
open
nobody
5
2006-06-23
2006-06-23
Nigel Horne
No

[root@ns1 lma]# echo /var/log/maillog |
/usr/local/bin/lma.pl -o foo 2006
[root@ns1 lma]# more foo
############################################
#Created by LMA on Fri 23 Jun 2006 11:44:53 #
############################################
# Timestamp|Nome Client|IP Client|IP
Server|From|To|Status|Size
[root@ns1 lma]# ls -l /var/log/maillog
-rw------- 1 root root 145840221 Jun 23
12:45 /var/log/maillog
[root@ns1 lma]#

Discussion

  • Gianluca Papaleo

    Logged In: YES
    user_id=1298065

    it's very strange. You use POSTFIX? in /etc/lma/conf.txt
    there is $mailservertype="POSTFIX";

    after you run lma.pl a file called mail_DB was created?
    if you run /usr/local/bin/stampaDB.pl -b mail_DB, what
    happened?

     
  • Nigel Horne

    Nigel Horne - 2006-06-23

    Logged In: YES
    user_id=227421

    No, it is sendmail.

    [root@ns1 lma]# /usr/local/bin/stampa_DB.pl -b mail_DB
    mail_DB
    [root@ns1 lma]# ls -l mail_DB
    -rw-r--r-- 1 root root 8192 Jun 23 13:26 mail_DB
    [root@ns1 lma]#

     
  • Gianluca Papaleo

    Logged In: YES
    user_id=1298065

    go in /etc/lma/conf.txt

    and change $mailservertype="POSTFIX"; in
    $mailservertype="SENDMAIL";

     
  • Anonymous

    Anonymous - 2009-11-05

    I am also having the same problem.

    After i executing this
    [root@ns1 lma]# /usr/local/bin/stampa_DB.pl -b mail_DB
    output: mail_DB

    Nothing else i see
    can anybody help m e

     

Log in to post a comment.