mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 22:02:32 -06:00
[GH-ISSUE #81] Blank Reporting? #64
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/sendmailanalyzer#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeff3d29 on GitHub (Mar 11, 2022).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/81
New to sendmail and sendmailreporting.
I have deploy my first Sendmail MTA now, I want to see the reporting so deploy sendmailanalyzer on separate server as didn't felt right having on the same server as the MTA. I believe I configure everything correctly but being receving no report or chart. What did I miss?
@darold commented on GitHub (Mar 11, 2022):
Hi,
I'm surprised by the blank artound the mail0 server name. Can you please post few line of your log or send then to my private email also give me the command line you are using to execute sendmailanalyzer.
Also are you using rsyslog to send your log to the other server or are you copying the log?
@jeff3d29 commented on GitHub (Mar 11, 2022):
@darold I'm using rsyslog to send the logs from the MTA to sendmailanalyzer. I send a private message, using /usr/local/sendmailanalyzer -f
@pmvo51 commented on GitHub (May 20, 2022):
Friends, I also did my first install of Sendmailanalyzer and the graphs were not generated.
Another error found was when manually executing sa_report.cgi because I had an error "Language file is not readable lang/en_US". I needed to comment out this function to get it to run successfully.
Can you help me?
@darold commented on GitHub (May 20, 2022):
you need to copy the lang/ directory from the sources where the sa_report.cgi is installed. You CGI directory where sa_report.cgi is install should looks to the default:
If this is the case, you should verify the permission, files here probably need to be readable by the www-data user or the one your httpd server is running.
@darold commented on GitHub (May 20, 2022):
@jeff3d29 I don't remember if this issue has been solved and can be closed, can you confirm please?
@pmvo51 commented on GitHub (May 20, 2022):
@darold
Thank you!
Now I can evolve because I really had to give permission on the "lang" folder.
==> The next step is to have the graphics generation. I'm sending the logs via rsyslog (see tree below).
/var/log/remote/
├── auth
│ └── ServerName
│ ├── xxxxx.log
│ ├── xxxxx.log
│ ├── xxxxx.log
│
└── msg
├── ServerName
│ ├── xxxxx.log
│ ├── xxxxx.log
│ ├── xxxxx.log
@pmvo51 commented on GitHub (May 23, 2022):
Hello, anybody help me, please?
@darold commented on GitHub (May 23, 2022):
Hi, I can not help much more on this outside saying that it should works. If you can send to my private email < gilles AT darold DOT net > a tarball of your logs I will try to reproduce your issue.
@pmvo51 commented on GitHub (May 24, 2022):
@darold
Solved!
My friend, just to register that the graphics were not being generated because I needed to change the selinux context of the directory where the caches are stored (here: /var/lib/sendmailanalyzer/) and I used the context: httpd_sys_content_t.
After this change the graphics opened normally.
Thanks!
@jeff3d29 commented on GitHub (Sep 2, 2022):
All,
Apologies for not getting back sooner on this matter. The matter was fixed by updating policies in the reporting server to allow incoming data via rsyslog. Once that was set, it was a matter of updating apache to be able to read it.