Error in Log /var/log/mail.log

emcarpanezi

Member
Apr 15, 2020
2
0
21
29
pmgpolicy[1785]: rbl update error: command 'journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000 '--since=@1661889626'' failed: open3: exec of journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000 --since=@1661889626 failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 455.
 
does the command:
`journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000`
produce output?
 
does the command:
`journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000`
produce output?
yes..
quite a result follows some


{"__CURSOR":"s=f3d842b178c24026973fc90256ab6088;i=16acdec;b=f20da9d7a54449bfaec619a82eb4bc56;m=b1db22ab90;t=5e78883866539;x=9927f6c5de54822a","_BOOT_ID":"f20da9d7a54449bfaec619a82eb4bc56","MESSAGE":"PASS OLD [135.84.81.80]:33941","__REALTIME_TIMESTAMP":"1661948391744825","__MONOTONIC_TIMESTAMP":"763885693840"}
{"__CURSOR":"s=f3d842b178c24026973fc90256ab6088;i=16acdee;b=f20da9d7a54449bfaec619a82eb4bc56;m=b1db25c65e;t=5e78883898007;x=a9b6dd6ef5cd5c0b","_BOOT_ID":"f20da9d7a54449bfaec619a82eb4bc56","MESSAGE":"PREGREET 15 after 0.32 from [103.151.125.175]:57672: EHLO 0XJp1p6e\\r\\n","__REALTIME_TIMESTAMP":"1661948391948295","__MONOTONIC_TIMESTAMP":"763885897310"}
 
hm - strange - does the error from pmgpolicy occur more often than once?
in any case - I'd say please try rebooting the pmg machine and see if the situation reoccurs
 
Hi,

I have the same situation here:

Code:
antyspam pmgpolicy[718]: rbl update error: command 'journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000 '--since=@1716699602'' failed: open3: exec of journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000 --since=@1716699602 failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 494.
2024-05-26T07:40:55.790438+02:00 antyspam pmgpolicy[718]: end policy database maintenance (6 ms, 3 ms)


But output of the command is:

Code:
root@antyspam:~# journalctl -o json --output-fields __CURSOR,MESSAGE --no-pager --identifier postfix/postscreen -n 5000 '--since=@1716699602'
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"PASS NEW [135.125.153.243]:48992","__REALTIME_TIMESTAMP":"1716699606845738","__MONOTONIC_TIMESTAMP":"28117137064","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16a0;b=5c16435ca98f4c018cc41315f1c31a50;m=68be976a8;t=619544640892a;x=30cf7cf508140a1b"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [94.152.185.213]:48162 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699607219495","__MONOTONIC_TIMESTAMP":"28117510821","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16a3;b=5c16435ca98f4c018cc41315f1c31a50;m=68bef2aa5;t=6195446463d27;x=269be28f5f0106bb"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"PASS OLD [94.152.185.213]:48162","__REALTIME_TIMESTAMP":"1716699613753843","__MONOTONIC_TIMESTAMP":"28124045169","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16ac;b=5c16435ca98f4c018cc41315f1c31a50;m=68c52df71;t=6195446a9f1f3;x=ef7ba5b1d6eafa63"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [193.32.162.77]:63931 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699788781218","__MONOTONIC_TIMESTAMP":"28299072544","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16db;b=5c16435ca98f4c018cc41315f1c31a50;m=696c19420;t=619545118a6a2;x=b6abdada9024a52f"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"PASS OLD [193.32.162.77]:63931","__REALTIME_TIMESTAMP":"1716699790901674","__MONOTONIC_TIMESTAMP":"28301193000","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16e0;b=5c16435ca98f4c018cc41315f1c31a50;m=696e1ef28;t=61954513901aa;x=3322621d2c4eaf11"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [193.32.162.77]:63834 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699802100259","__MONOTONIC_TIMESTAMP":"28312391585","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16e4;b=5c16435ca98f4c018cc41315f1c31a50;m=6978ccfa1;t=6195451e3e223;x=ba54fdd36144833"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"PASS OLD [193.32.162.77]:63834","__REALTIME_TIMESTAMP":"1716699802101058","__MONOTONIC_TIMESTAMP":"28312392383","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16e5;b=5c16435ca98f4c018cc41315f1c31a50;m=6978cd2bf;t=6195451e3e542;x=59435afd621423c"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [5.26.249.220]:41164 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699857155264","__MONOTONIC_TIMESTAMP":"28367446589","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16ec;b=5c16435ca98f4c018cc41315f1c31a50;m=69ad4e23d;t=61954552bf4c0;x=3aca8b400f472e84"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"HANGUP after 0.35 from [5.26.249.220]:41164 in tests before SMTP handshake","__REALTIME_TIMESTAMP":"1716699857505082","__MONOTONIC_TIMESTAMP":"28367796407","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16f0;b=5c16435ca98f4c018cc41315f1c31a50;m=69ada38b7;t=6195455314b3a;x=1a4eb36e3288964"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"DISCONNECT [5.26.249.220]:41164","__REALTIME_TIMESTAMP":"1716699857505299","__MONOTONIC_TIMESTAMP":"28367796624","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16f1;b=5c16435ca98f4c018cc41315f1c31a50;m=69ada3990;t=6195455314c13;x=c2cb0121c962b456"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [5.26.249.220]:41168 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699857716655","__MONOTONIC_TIMESTAMP":"28368007981","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16f2;b=5c16435ca98f4c018cc41315f1c31a50;m=69add732d;t=61954553485af;x=719ce20302911f2d"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"HANGUP after 3.2 from [5.26.249.220]:41168 in tests before SMTP handshake","__REALTIME_TIMESTAMP":"1716699860902406","__MONOTONIC_TIMESTAMP":"28371193732","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16f8;b=5c16435ca98f4c018cc41315f1c31a50;m=69b0e0f84;t=6195455652206;x=de54f0dbdd04d399"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"DISCONNECT [5.26.249.220]:41168","__REALTIME_TIMESTAMP":"1716699860903137","__MONOTONIC_TIMESTAMP":"28371194462","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16f9;b=5c16435ca98f4c018cc41315f1c31a50;m=69b0e125e;t=61954556524e1;x=fc59a396aef79ca8"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"CONNECT from [197.255.200.177]:43467 to [192.168.10.2]:26","__REALTIME_TIMESTAMP":"1716699862455488","__MONOTONIC_TIMESTAMP":"28372746814","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d16fa;b=5c16435ca98f4c018cc41315f1c31a50;m=69b25c23e;t=61954557cd4c0;x=44650d2c04296f5d"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"HANGUP after 0.62 from [197.255.200.177]:43467 in tests before SMTP handshake","__REALTIME_TIMESTAMP":"1716699863074314","__MONOTONIC_TIMESTAMP":"28373365640","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d1700;b=5c16435ca98f4c018cc41315f1c31a50;m=69b2f3388;t=619545586460a;x=a54d4ed5f3c53b60"}
{"_BOOT_ID":"5c16435ca98f4c018cc41315f1c31a50","MESSAGE":"DISCONNECT [197.255.200.177]:43467","__REALTIME_TIMESTAMP":"1716699863074622","__MONOTONIC_TIMESTAMP":"28373365948","__CURSOR":"s=1cf576863ed94b9a82aa008c1f16597c;i=7d1701;b=5c16435ca98f4c018cc41315f1c31a50;m=69b2f34bc;t=619545586473e;x=eff8ac73541ff4a8"}


(...)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!