Good morning,

with the current snapshot 3.11-20251218 I receive the following "error" message from my 
"mailq check script":

Ubuntu 24.04, bash. Run via crontab as
@hourly                 /usr/local/sbin/pf_check_mq_for_stale >> /tmp/pf_debug.log 
2>&1 &

And the "offending" cmd is
$CMD > $STALEFILEtmp

root@butterfly:/tmp# tail -f pf_debug.log
+ RECIPIENT=root
+ CMD=mailq
+ CLEAN='Mail queue is empty'
++ basename /usr/local/sbin/pf_check_mq_for_stale
+ STALEFILE=/tmp/pf_check_mq_for_stale.stales
++ basename /usr/local/sbin/pf_check_mq_for_stale
+ STALEFILEtmp=/tmp/pf_check_mq_for_stale.stales.tmp
+ mailq
postqueue: warning: unexpected attribute reason from public/showq socket 
(expecting: log_class)
postqueue: fatal: malformed showq server response
++ cat /tmp/pf_check_mq_for_stale.stales.tmp
...

Run manually, I get no issues
root@butterfly:~# mailq
-Queue ID-  --Size-- ----Arrival Time---- -Sender/Recipient-------
0FE0DF80385  126298 Mon Dec 15 10:10:26  [email protected]
(host cluster5.eu.messagelabs.com[85.158.142.210] said: 453-you are trying to 
use me [server-12.tower-834.messagelab 453-s.com] as a relay, but I have not 
been configured to 453-let you [81.169.217.236, butterfly.post-peine.de] do 
453-this. Please visit https://knowledge.broadcom.com/extern 
453-al/article?legacyId=TECH246726 for more details about 453-this error 
message and instructions to resolve this 453 issue. (#4.7.1) (in reply to RCPT 
TO command))
                                         [email protected]

EC373F80251  294800 Tue Dec 16 15:05:42  [email protected]
      (connect to redacted[111.222.333.444]:25: Connection refused)
                                         [email protected]

-- 411 Kbytes in 2 Requests.
root@butterfly:~#

Regarding class definitions
root@butterfly:/etc/postfix# grep class main.cf
smtpd_restriction_classes = verify_sender, local_only
masquerade_classes = envelope_sender, header_sender, header_recipient
notify_classes = bounce, resource, software, delay, policy

Nothing regarding log_class in main.cf.

Any clues?

Florian


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to