missing message-id GMAIL failures - exim local smtp - which hosts to use

ottdev

Well-Known Member
Oct 1, 2013
139
7
68
cPanel Access Level
Root Administrator
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, <GEN0> 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
 
Last edited by a moderator:
  • Like
Reactions: skithund

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
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?
 

ottdev

Well-Known Member
Oct 1, 2013
139
7
68
cPanel Access Level
Root Administrator
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.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
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.
 

ottdev

Well-Known Member
Oct 1, 2013
139
7
68
cPanel Access Level
Root Administrator
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.