Hello, Kai.
18 ﭢ 25 21:25, Kai Richter -> Vladislav Muschinskikh:
AllFix is essentially handled by another module (htick), it
simply "doesn't see" the messages because hpt at the tossing
stage
Do you know which module command do the remapping?
hpt toss
hpt scan
hpt afix
Processing incoming emails occurs at the 'hpt toss' stage.
At the same time, Areafix processing is working because I have enabled the 'areafixFromPkt yes' option.
However, Remap does not interfere with the processing of emails for Areafix.
My current batch looks like this:
${BINDIR}/hpt -c $CONFIG -q toss
${BINDIR}/htick -c $CONFIG -q scan
${BINDIR}/htick -c $CONFIG -q toss
${BINDIR}/hpt -c $CONFIG -q pack
So, I don't have separate calls to 'hpt afix' and 'hpt scan'.
A modification does make more sense when done at the scan for export.
That way it could:
import new pkt with "hpt toss"
The problem lies in the fact that once the 'hpt toss' stage is completed, all mails are already processed, and htick has nothing left to do, so it effectively doesn't receive its own emails.
For testing disable your automatic mail processing, start the
batchlines manually and check the result of every job.
In my case, it's simply enough to comment out the Remap line and everything works as intended
I think maybe we could use a hook in the perl file filter() instead of Remap? And changing $toaddr to .1 if $toname does not match the regexp /fix$/i.
With best regards, Vladislav
--- Me on Telegram
http://t.me/VladisMus
* Origin: (2:550/278.1)