mailwatch / MailWatch

MailWatch for MailScanner is a web-based front-end to MailScanner
http://mailwatch.org/
GNU General Public License v2.0
117 stars 66 forks source link

MailWatch: Could not extract Message-ID for xxxxxx #1305

Open ahshek999 opened 3 weeks ago

ahshek999 commented 3 weeks ago

Issue summary

After the setup, a MailWatch: Could not extract Message-ID for XXXX is reported which didn't happen before.

Steps to reproduce

2024-08-22T08:12:59.100443+00:00 localhost postfix/cleanup[91758]: C419A8267A: message-id=<> 2024-08-22T08:13:00.420055+00:00 localhost postfix/smtpd[91749]: warning: non-SMTP command from xxx.xxx.xxx[xx.xx.xx.xx]: . 2024-08-22T08:13:00.420480+00:00 localhost postfix/smtpd[91749]: disconnect from xxx.xxx.xxx[xx.xx.xx.xx] helo=1 mail=1 rcpt=1 data=1 unknown=0/1 commands=4/5 2024-08-22T08:13:00.913419+00:00 localhost MailScanner[91678]: New Batch: Scanning 1 messages, 1011 bytes 2024-08-22T08:13:01.075276+00:00 localhost MailScanner[91678]: Virus and Content Scanning: Starting 2024-08-22T08:13:04.998615+00:00 localhost MailScanner[91678]: Spam Checks: Found 1 spam messages 2024-08-22T08:13:05.261799+00:00 localhost MailScanner[91678]: Requeue: C419A8267A.A5A4C to DC718876AD 2024-08-22T08:13:05.263062+00:00 localhost MailScanner[91678]: Uninfected: Delivered 1 messages 2024-08-22T08:13:05.265641+00:00 localhost postfix/qmgr[91001]: DC718876AD: from=xxx@xxxx.com, size=218, nrcpt=1 (queue active) 2024-08-22T08:13:05.268075+00:00 localhost MailScanner[91678]: Deleted 1 messages from processing-database

2024-08-22T08:13:05.270113+00:00 localhost MailScanner[91678]: MailWatch: Could not extract Message-ID for C419A8267A.A5A4C

2024-08-22T08:13:05.270307+00:00 localhost MailScanner[91678]: MailWatch: Logging message C419A8267A.A5A4C to SQL 2024-08-22T08:13:05.278015+00:00 localhost MailWatch SQL[91631]: C419A8267A.A5A4C: Logged to MailWatch SQL 2024-08-22T08:13:05.487888+00:00 localhost postfix/smtp[91772]: DC718876AD: to=yyy@yyy.com, relay=[xx.xx.xx.yy]:25, delay=20, delays=20/0.03/0.02/0.17, dsn=2.6.0, status=sent (250 2.6.0 b1e8118e-51dd-4bbf-8443-c83e06ba8ef6@zzz.zzz.com [InternalId=143816979906579, Hostname=zzz.zzz.com] 2734 bytes in 0.149, 17.860 KB/sec Queued mail for delivery) 2024-08-22T08:13:05.489290+00:00 localhost postfix/qmgr[91001]: DC718876AD: removed

Installation

Version and method

Server configuration

Skywalker-11 commented 3 weeks ago

The Message-ID header should be set by the sending client or sending mail server. If a mail doesn't have a message id header it cancause sending loops or other issues. That's why the warning is logged. Is that mail coming from a regular mail server?