no score in mail.log

airtite76

New Member
Mar 28, 2023
7
0
1
Hi

I have setup a test pmg but I am not seeing any SA score or any of the rules that may have been triggered in the mail.log or the message tracking interface?

Thanks
 
Please share the logs of such a mail.

On a hunch - mails only get scanned for spam if any rule (which applies to the mail - so consider inbound and outbound rules) has a Spam Level What object.
E.g. the default ruleset does not scan outbound mail for spam.
 
this was an inbound email from my gmail account

Mar 28 15:34:07 pmg postfix/smtpd[1357]: connect from mail-wm1-f52.google.com[209.85.128.52]
Mar 28 15:34:07 pmg postfix/smtpd[1357]: DB43E42513: client=mail-wm1-f52.google.com[209.85.128.52]
Mar 28 15:34:07 pmg postfix/cleanup[1361]: DB43E42513: message-id=<b6e0afa2-7836-8ccb-01f2-51c54edcf465@gmail.com>
Mar 28 15:34:08 pmg postfix/qmgr[967]: DB43E42513: from=<mxxxxxxx@gmail.com>, size=3147, nrcpt=1 (queue active)
Mar 28 15:34:08 pmg pmg-smtp-filter[1003]: 606386422ECD098BB1: new mail message-id=<b6e0afa2-7836-8ccb-01f2-51c54edcf465@gmail.com>#012
Mar 28 15:34:08 pmg postfix/smtpd[1367]: connect from localhost.localdomain[127.0.0.1]
Mar 28 15:34:08 pmg postfix/smtpd[1367]: B7CA14259A: client=localhost.localdomain[127.0.0.1], orig_client=mail-wm1-f52.google.com[209.85.128.52]
Mar 28 15:34:08 pmg postfix/cleanup[1361]: B7CA14259A: message-id=<b6e0afa2-7836-8ccb-01f2-51c54edcf465@gmail.com>
Mar 28 15:34:08 pmg postfix/qmgr[967]: B7CA14259A: from=<mxxxxxxxx@gmail.com>, size=3564, nrcpt=1 (queue active)
Mar 28 15:34:08 pmg pmg-smtp-filter[1003]: 606386422ECD098BB1: accept mail to <mxxxxxx@domain> (B7CA14259A) (rule: default-accept)
Mar 28 15:34:08 pmg postfix/smtpd[1367]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Mar 28 15:34:08 pmg pmg-smtp-filter[1003]: 606386422ECD098BB1: processing time: 0.206 seconds (0, 0.074, 0)
Mar 28 15:34:08 pmg postfix/lmtp[1363]: DB43E42513: to=<mxxxxxx@domain>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.99, delays=0.74/0.01/0.01/0.22, dsn=2.5.0, status=sent (250 2.5.0 OK (606386422ECD098BB1))
Mar 28 15:34:08 pmg postfix/qmgr[967]: DB43E42513: removed
Mar 28 15:34:10 pmg postfix/smtp[1368]: B7CA14259A: to=<mxxxxxx@domain>, relay=relay.domain[x.x.x.x]:25, delay=1.3, delays=0.08/0.02/1.1/0.05, dsn=2.0.0, status=sent (250 2.0.0 32SDY8nu174162 Message accepted for delivery)
Mar 28 15:34:10 pmg postfix/qmgr[967]: B7CA14259A: removed
Mar 28 15:34:39 pmg postfix/smtpd[1357]: disconnect from mail-wm1-f52.google.com[209.85.128.52] ehlo=1 mail=1 rcpt=1 bdat=1 quit=1 commands=5
 
my previous email with the logs is awaiting moderator approval, the email was inbound and was from my gmail account to a proxmox user
 
any changes to your ruleset? - do you have a rule with a Spam Level What object in the direction the mail flowed?

To be on the save side - please also check the syslog on the commandline for this mail
 
its a new install with no changes tgo any of the spam rules, just added a domain and a transport to the mail proxy, and yes I have checked syslog/mail.log there is no reference to score in any log file.
 
I have another pmg install thats been running for over 2 years now and I can confirm that I am seeing SA score in both the tracking center and mail.log
 

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!