drlight17 / mta-log-parser

A fast Python log parser for the most popular mail transfer agent's log files, with a simple WebUI for analyzing the logs
Other
20 stars 3 forks source link

not working for me #5

Closed antonh2o closed 1 year ago

antonh2o commented 1 year ago

Ubuntu 22.04.2 LTS postfix/jammy-updates,now 3.6.4-1ubuntu1.1 amd64 Docker version 24.0.4, build 3713ee1

cat /var/log/mail.log

Aug 17 04:41:35 ovz2 postfix/smtpd[580612]: EB01EE0FD7: client=mail-vs1-f47.google.com[209.85.217.47] Aug 17 04:41:35 ovz2 postfix/cleanup[580617]: EB01EE0FD7: message-id=CAE5w+BWxyZ2ikMPkOOqBJ22WStbx9foOOV0WmeyyDNDuoiwiYA@mail.gmail.com Aug 17 04:41:35 ovz2 postfix/qmgr[310970]: EB01EE0FD7: from=sender@gmail.com, size=3382, nrcpt=1 (queue active) Aug 17 04:41:35 ovz2 postfix/local[580618]: EB01EE0FD7: to=recipient@domain.ru, relay=local, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Aug 17 04:41:35 ovz2 postfix/qmgr[310970]: EB01EE0FD7: removed

docker exec -t mta-log-parser flock /tmp/lck_mlp /app/run.sh cron

Loading .env environment variables... 2023-08-17 11:14:30,542 mlp.main INFO Housekeeping is not configured so there will be no deletion of old data! Pay attention to the disk space! 2023-08-17 11:14:30,542 mlp.main INFO Importing postfix log file 2023-08-17 11:14:30,543 mlp.main INFO Opening log file /var/log/mail.log 2023-08-17 11:14:30,546 mlp.main INFO Finished parsing log file /var/log/mail.log 2023-08-17 11:14:30,546 mlp.main INFO Converting postfix log data into list 2023-08-17 11:14:30,546 mlp.main INFO Total of 0 message entries

drlight17 commented 1 year ago

Hello! Check updated version 1.1.7.3

antonh2o commented 1 year ago

Thank you, now working!!!