Nп/п : 25 из 47
 От   : Vladislav Muschinskikh              2:550/278.1       19 янв 25 16:58:34
 К    : Kai Richter                                           19 янв 25 15:13:01
 Тема : AllFix and Remap
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:550/278.1 678cea40
@REPLY: 2:240/77 678c0f72
@PID: GED+OSX 1.1.5-b20220504
@CHRS: CP866 2
@TZUTC: 0500
@TID: hpt/mac 1.9 2023-02-24
Hello, Kai.

18 янв 25 21:25, Kai Richter -> Vladislav Muschinskikh:
 VM>> AllFix is essentially handled by another module (htick), it
 VM>> simply "doesn`t see" the messages because hpt at the tossing
 VM>> stage
 KR> Do you know which module command do the remapping?

 KR> hpt toss
 KR> hpt scan
 KR> 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`.

 KR> A modification does make more sense when done at the scan for export.
 KR> That way it could:

 KR> 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.

 KR> For testing disable your automatic mail processing, start the
 KR> 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)
SEEN-BY: 19/10 50/109 103/705 104/117 124/5016
153/757 154/10 30 203/0
SEEN-BY: 218/840 221/0 1 6 360 229/426 240/12
1120 1254 1512 1634 5832 8001
SEEN-BY: 240/8002 8005 8010 8050 280/464 5003 5006
291/111 292/854 8125 301/1
SEEN-BY: 310/31 313/41 335/364 341/66 234 371/0
396/45 419/802 423/120 452/28
SEEN-BY: 452/166 460/58 256 1124 5858 463/68
467/888 530/204 550/278 633/280
SEEN-BY: 712/848 770/1 5000/111 5010/352 5015/46
5020/400 715 828 846 848
SEEN-BY: 5020/1042 4441 8912 12000 5030/49 1081
5053/51 5054/30 5058/104
SEEN-BY: 5061/133 5075/128 5083/444
@PATH: 550/278 240/1120 280/464 460/58 221/6
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх