Question: how do acyl chlorides form?
Answer: The sulphur dichloride oxide reacts with carboxylic acids to produce an acyl chloride, and sulphur dioxide and hydrogen chloride gases are given off. For example: ... You would obviously still have to fractionally distil the mixture to separate the acyl chloride from any excess acid or sulphur dichloride oxide.