Difference between status "accepted/accepted" and "accepted/delivered"

laurensb

Member
Mar 9, 2020
15
2
8
Almost all mails have the status "accepted/delivered" (in Tracking Center), but mail sometimes gets status "accepted/accepted". I can't figure out the difference between those statuses. The latter one isn't included in the help (https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_tracking_center) and I found nothing useful via Google.

Mail with both status is received OK on the backend mail server, and the log messages from both statuses seem identical, except for the last part, where the order of delivery to the mail server and the PMG filter (port 10024) is switched. But I can't figure out why that order is switched.

Below are the log messages of each status. These are from mails downloaded via Fetchmail, from different senders, to the same recipient. But I also have these same log messages for mails incoming via normal mx delivery on port 25. Had 2 messages today from the same sender, to the same recipient, delivered via mx from the same external mail server, within 1 minute. One got status "accepted/delivered" and the other "accepted/accepted". Same log messages as the ones below:

Code:
Jan 21 07:33:24
    
redacted:returnpath@domain.tld
    
redacted:recipient@mydomain.tld
    
accepted/accepted

Jan 21 07:33:20 pmghost postfix/smtpd[29361]: connect from pmghost.mydomain.tld[192.168.1.001]
Jan 21 07:33:20 pmghost postfix/smtpd[29361]: DEF2520A69: client=pmghost.mydomain.tld[192.168.1.001]
Jan 21 07:33:20 pmghost postfix/cleanup[29364]: DEF2520A69: message-id=<redacted:msgid>
Jan 21 07:33:20 pmghost postfix/qmgr[529]: DEF2520A69: from=<redacted:returnpath@domain.tld>, size=161138, nrcpt=1 (queue active)
Jan 21 07:33:21 pmghost pmg-smtp-filter[28437]: 20A9560092030F3374: new mail message-id=<redacted:msgid>#012
Jan 21 07:33:21 pmghost postfix/smtpd[29361]: 1855220A70: client=pmghost.mydomain.tld[192.168.1.001]
Jan 21 07:33:21 pmghost postfix/smtpd[29361]: disconnect from pmghost.mydomain.tld[192.168.1.001] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jan 21 07:33:24 pmghost pmg-smtp-filter[28437]: 20A9560092030F3374: SA score=1/5 time=3.500 bayes=undefined autolearn=no autolearn_force=no hits=AWL(0.270),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DKIM_VALID_AU(-0.1),HTML_EMBEDS(0.001),HTML_FONT_LOW_CONTRAST(0.001),HTML_IMAGE_RATIO_02(0.001),HTML_MESSAGE(0.001),KAM_LOTSOFHASH(0.25),MPART_ALT_DIFF_COUNT(1.483),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
Jan 21 07:33:24 pmghost postfix/smtpd[29375]: connect from localhost[127.0.0.1]
Jan 21 07:33:24 pmghost postfix/smtpd[29375]: A673520AB5: client=localhost[127.0.0.1], orig_client=pmghost.mydomain.tld[192.168.1.001]
Jan 21 07:33:24 pmghost postfix/cleanup[29364]: A673520AB5: message-id=<redacted:msgid>
Jan 21 07:33:24 pmghost postfix/smtpd[29375]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Jan 21 07:33:24 pmghost pmg-smtp-filter[28437]: 20A9560092030F3374: accept mail to <redacted:recipient@mydomain.tld> (A673520AB5) (rule: default-accept)
Jan 21 07:33:24 pmghost postfix/qmgr[529]: A673520AB5: from=<redacted:returnpath@domain.tld>, size=162287, nrcpt=1 (queue active)
Jan 21 07:33:24 pmghost postfix/smtp[29376]: A673520AB5: to=<redacted:recipient@mydomain.tld>, relay=192.168.1.002[192.168.1.002]:25, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B6B682E547)
Jan 21 07:33:24 pmghost postfix/qmgr[529]: A673520AB5: removed
Jan 21 07:33:24 pmghost pmg-smtp-filter[28437]: 20A9560092030F3374: processing time: 3.748 seconds (3.5, 0.137, 0)
Jan 21 07:33:24 pmghost postfix/lmtp[29365]: DEF2520A69: to=<redacted:recipient@mydomain.tld>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.05/0.04/0.01/3.8, dsn=2.5.0, status=sent (250 2.5.0 OK (20A9560092030F3374))
Jan 21 07:33:24 pmghost postfix/qmgr[529]: DEF2520A69: removed

Code:
Jan 21 08:19:43
    
redacted:returnpath@domain.tld
    
redacted:recipient@mydomain.tld
    
accepted/delivered

Jan 21 08:19:41 pmghost postfix/smtpd[29561]: connect from pmghost.mydomain.tld[192.168.1.001]
Jan 21 08:19:41 pmghost postfix/smtpd[29561]: 38FCB20B04: client=pmghost.mydomain.tld[192.168.1.001]
Jan 21 08:19:41 pmghost postfix/cleanup[29564]: 38FCB20B04: message-id=<redacted:msgid>
Jan 21 08:19:41 pmghost postfix/qmgr[529]: 38FCB20B04: from=<redacted:returnpath@domain.tld>, size=78395, nrcpt=1 (queue active)
Jan 21 08:19:41 pmghost pmg-smtp-filter[29370]: 20ABF60092B0D47F39: new mail message-id=<redacted:msgid>#012
Jan 21 08:19:41 pmghost postfix/smtpd[29561]: disconnect from pmghost.mydomain.tld[192.168.1.001] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 21 08:19:43 pmghost pmg-smtp-filter[29370]: 20ABF60092B0D47F39: SA score=0/5 time=2.105 bayes=undefined autolearn=no autolearn_force=no hits=AWL(0.023),DKIM_SIGNED(0.1),DKIM_VALID(-0.1),HEADER_FROM_DIFFERENT_DOMAINS(0.248),HTML_MESSAGE(0.001),KAM_HUGEIMGSRC(0.2),SPF_HELO_PASS(-0.001),SPF_PASS(-0.001),T_KAM_HTML_FONT_INVALID(0.01)
Jan 21 08:19:43 pmghost postfix/smtpd[29569]: connect from localhost[127.0.0.1]
Jan 21 08:19:43 pmghost postfix/smtpd[29569]: 81C3720B0C: client=localhost[127.0.0.1], orig_client=pmghost.mydomain.tld[192.168.1.001]
Jan 21 08:19:43 pmghost postfix/cleanup[29564]: 81C3720B0C: message-id=<redacted:msgid>
Jan 21 08:19:43 pmghost postfix/smtpd[29569]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Jan 21 08:19:43 pmghost postfix/qmgr[529]: 81C3720B0C: from=<redacted:returnpath@domain.tld>, size=79346, nrcpt=1 (queue active)
Jan 21 08:19:43 pmghost pmg-smtp-filter[29370]: 20ABF60092B0D47F39: accept mail to <redacted:recipient@mydomain.tld> (81C3720B0C) (rule: default-accept)
Jan 21 08:19:43 pmghost pmg-smtp-filter[29370]: 20ABF60092B0D47F39: processing time: 2.255 seconds (2.105, 0.066, 0)
Jan 21 08:19:43 pmghost postfix/lmtp[29565]: 38FCB20B04: to=<redacted:recipient@mydomain.tld>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.3, delays=0.03/0.04/0.01/2.3, dsn=2.5.0, status=sent (250 2.5.0 OK (20ABF60092B0D47F39))
Jan 21 08:19:43 pmghost postfix/qmgr[529]: 38FCB20B04: removed
Jan 21 08:19:43 pmghost postfix/smtp[29570]: 81C3720B0C: to=<redacted:recipient@mydomain.tld>, relay=192.168.1.002[192.168.1.002]:25, delay=0.15, delays=0.01/0.05/0.03/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A2A6E2E5D3)
Jan 21 08:19:43 pmghost postfix/qmgr[529]: 81C3720B0C: removed
 
Last edited:
accepted/accepted should not happen. I will take a look.
Thanks for the logs, these will help a lot.
 
No problem, glad I can contribute a small bit.

Please let me know if you need additional info.
 

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!