missing message-id GMAIL failures - exim local smtp - which hosts to use
In the acl_smtp_predata:
custom_begin_smtp_predata
to compensate for missing message-id when a website's program doesn't send one, I wish to use:
control = submission/sender_retain
(Gmail for one are rightfully rejecting them: Messages missing a valid messageId header are not\n550 5.7.1 accepted)
Can you help me determine the appropriate accept hosts and/or warn hosts lines ?
I've looked at the previous discussions here - not one confirms they got it to work or the code samples given generate an error for me:
Application Error
An error has occurred in the program
SMTP command [DATA] gave response [550 Administrative prohibition ] at (eval 22) line 178, line 8.
2022-07-13 07:05:59 SMTP connection from [x.x.x.x]:53308 (TCP/IP connection count = 1)
2022-07-13 07:05:59 socket: Protocol not supported at /etc/exim.pl.local line 3431.
...caught at /etc/exim.pl.local line 3670.
2022-07-13 07:05:59 SMTP connection identification H=localhost A=A=x.x.x.x P=53308 U=XuserX ID=1029 S=XuserX B=identify_local_connection
2022-07-13 07:06:09 Xdomain.X [x.x.x.x]:53308 rejected DATA
2022-07-13 07:06:09 unexpected disconnection while reading SMTP command from Xdomain.X [x.x.x.x]:53308 D=10s
-
Hey there! I guess I don't completely understand the question. I know we're looking into Exim customizations, so our support is a bit limited to begin with, but can you rephrase that or be more specific for me? Which lines are we trying to isolate? 0 -
Hey there! I guess I don't completely understand the question. I know we're looking into Exim customizations, so our support is a bit limited to begin with, but can you rephrase that or be more specific for me? Which lines are we trying to isolate?
Search in these forums for the term " control = submission " The suggested replies usually contain preceding lines of accept hosts and/or warn hosts Look for instances of accept and warn in the Exim advanced editor in other blocks. One or more of these accept or warn chunks allows local SMTP to happen - enables exim to determine who is permitted. But the Message-ID header may be missing if the user program didn't include one. Per exim docs, custom_begin_smtp_predata is the correct ACL block in which to place control = submission/sender_retain in order to compensate for the missing header by adding it, just as it does for other non-SMTP local email. Need to figure which accept and/or warn code found elsewhere in the advanced editor should be replicated in this ACL to cover the local SMTP users.0 -
Thanks for that clarification. In general, if there isn't an option in the WHM interface for what you're looking for, it has to be done manually through the Exim configuration, which isn't something we provide support for on our end. If you'd like to see support added to the user interface for a specific task, please open a feature request and I'll make sure the development team reviews that. 0 -
Thanks for that clarification. In general, if there isn't an option in the WHM interface for what you're looking for, it has to be done manually through the Exim configuration, which isn't something we provide support for on our end. If you'd like to see support added to the user interface for a specific task, please open a feature request and I'll make sure the development team reviews that.
Well, I think you are about to get hit with a lot of complaints because it appears there is a recent change at Google.0 -
Oh yeah? Are there more specific details about this setting they changed? 0 -
As always with Google they often don't publish policy changes. There are other reports, for example here: Does gmail/google now demand a messageId? For me all emails sent from the system for the CloudLinux WMT report get returned due to missing message id. 0 -
I've let our email team know about this so they can decide if these changes will affect how cPanel handles email. Thanks for pointing this out! 0
Please sign in to leave a comment.
Comments
7 comments