Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Mail client settings

l15k4 edited this page Mar 22, 2014 · 1 revision

Client applications must identify themselves so that PDA is able to associate message queues with corresponding smtp clients. There are 2 ways how to do that:

  • simple : override Message-ID header with value of this format :
"<" + "cid".hashCode() + '.' + id + '.' + RND.nextInt(1000) + '@' + clientId + ">"
  • complicated : consists in adding a new header "client-id" to a message and setting up postfix to log these headers so that PDA can see that. Header_checks and logging requires creating a configuration file /etc/postfix/maps/header_checks which makes postfix log messages that have a "client-id" MIME header
"/^client-id:.* / INFO"
Clone this wiki locally