Skip to main content

Message-Id header not added in submission mode

Comments

6 comments

  • cPanelMichael
    [quote="markusa, post: 1605391">We have tried a custom ACL rule under WHM > Exim Configuration Editor > Advanced Mode > and added the following in the ACL section: warn hosts = +relay_from_hosts control = submission/sender_retain But my host said, this has crashed the default cPanel mail config and they had to reinstall Spamassassin and revert the action
    Could you elaborate on the specific error messages that occurred when making those custom changes? Thank you.
    0
  • markusa
    sorry for late reply, but I assumed I subscribed to the thread, which was obviously not the case. my host told me: -- We were unable to save the mentioned ACL and the error was showing as "malformed ACL name". We have tried to fix the error by ignoring the error and cause the exim configuration to break and it started affecting the mailing service. We have quickly put the old config which fixed the issue with exim. -- Hope this helps.
    0
  • cPanelMichael
    I believe it's the responsibility of the MUA to add that information to the header. You could follow the instructions here to have Exim treat the message as a local submission: [url=http://www.exim.org/exim-html-current/doc/html/spec_html/ch-message_processing.html]46. Message processing I was able to add the entries to the "acl_smtp_connect" field in the Advanced Editor for Exim in WHM without error. Thank you.
    0
  • markusa
    My host tried again to add the entries warn hosts = +relay_from_hosts control = submission/sender_retain but they received this error: .vB Did you add different entries ? Thanks.
    0
  • cPanelMichael
    I browsed to the "Advanced Editor" for Exim and searched for the following term with my browser: custom_begin_connect This is just beneath the "acl_smtp_connect" entry. The full text I used was: warn hosts = 127.0.0.1 control = submission/sender_retain
    Does this accomplish what you are seeking to implement? Thank you.
    0
  • markusa
    thanks, but unfortunately not. After testing it has been noticed, that the ACL had no effect. Digging up exim manual again and it says that the 'control = submission' modifier is only permitted within a few ACL, otherwise the setting is being ignored. --- from exim manual -------------- control = submission/ This control is permitted only for the MAIL, RCPT, and start of data ACLs (the latter is the one defined by acl_smtp_predata). Setting it tells Exim that the current message is a submission from a local MUA. In this case, Exim operates in "submission mode", and applies certain fixups to the message if necessary. For example, it adds a Date: header line if one is not present. This control is not permitted in the acl_smtp_data ACL, because that is too late (the message has already been created). ------------------------------------ So I think, this should be removed from custom_begin_connect within acl_smtp_connect and being saved to one of the 3 mentioned ACL sections acl_smtp_mail or acl_smtp_rcpt or acl_smtp_predata What do you think? Thanks for help and advice.
    0

Please sign in to leave a comment.