mirror of
https://github.com/darold/sendmailanalyzer.git
synced 2026-05-15 22:02:32 -06:00
[GH-ISSUE #55] How to Parse Maillog From Another Host (SMTP relay) #48
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#48
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 @ajihandoko on GitHub (Oct 5, 2017).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/55
I have one more question.
How to parse maillog from another host (smtp server) to sendmailanalyzer ? Do I have to install certain application on my smtp server to send maillog to sendmailanalyzer ? like i have to install and start the service of snmp in my server to send syslog to cacti server.
Thanks Darold
@cantlep commented on GitHub (Oct 5, 2017):
Because sendmailanalyzer utilises a web server and I didn't want to install one on my MTA, I just NFS mount the log directory from the MTA to the web server and point the sendmailanalyzer config to that directory.
@ajihandoko commented on GitHub (Oct 5, 2017):
Ok cantlep, so if I want to create maillog graph of 2 server, I just add configuration LOG_FILE /dst/nfs/dir/server1 for server1 and LOG_FILE /dst/nfs/server2 for server2 in file /etc/sendmailanalyzer.conf. Is it like that ?
@cantlep commented on GitHub (Oct 5, 2017):
I'm not entirely sure if you can parse more than one log file, the --help flag would indicate not. I only have one MTA so I don't have the same issue you have in this regard. I suppose a workaround would be a central syslog server that contains the logs for both MTAs and then reference that as one file. @darold will know if more than 1 file can be parsed in the config, I expect.
@darold commented on GitHub (Oct 6, 2017):
Hi,
Yes the only solution is to use a central syslog server with one single log file to parse. This is possible to add the feature of multiple files parsing but it might take one or two weeks to develop and unfortunately I do not have this spare time.
Regards,
@darold commented on GitHub (Oct 6, 2017):
Note that you can have multiple reports corresponding to each maillog on a single SendmailAnalyzer host. You just have to use different configuration file with different location for the following directives:
Of course you must also have a dedicated sa_report CGI entry dedicated to each report.
@ajihandoko commented on GitHub (Oct 9, 2017):
Sorry I'm late to response your answer.
Oke darold, I will try to my server.
Thanks darold, for your reply.
@ajihandoko commented on GitHub (Jan 4, 2018):
hai darold,
I have fix this issue with merge maillog-of-smtp1 and maillog-of-smtp2 to be one file "maillog".