Subj : mail not tossing
To   : Rick Smith
From : Michael Dukelsky
Date : Sun Jan 08 2023 10:52 pm

Hello Rick,

Sunday January 08 2023, Rick Smith wrote to Michael Dukelsky:

RS>>> I noticed on my new setup (working almost perfectly) that binkd
RS>>> starts to execute my toss command but I get the rc code

RS>>> 05 Jan 06:42:59 [46710] Running nice -n 19 /usr/local/bin/hpt
RS>>> toss afix 05 Jan 06:42:59 [46710] executing `nice -n 19
RS>>> /usr/local/bin/hpt toss afix' 05 Jan 06:42:59 [46710] rc=17664

MD>> 17664=0x4500

MD>> The exit code returned by hpt is the higher byte, that is 0x45.
MD>> Something was wrong. Could you please set the log levels in your
MD>> hpt
MD>> config: LogLevels   1-90A-Za-z and specify the path to your hpt
MD>> config on the command line: /usr/local/bin/hpt -c /path/to/config
MD>> toss afix

RS> I did as you suggested, I still have to run the script manually.  I
RS> will send you a netmail with the hpt.log attached.

Everything looks good in the log I've received from you. So, when you run the script manually, it works. And what happens if you put the following line to your binkd config:
exec "/usr/local/bin/hpt -c /path/to/hpt/config toss afix" /mystic/echomail/in/*.[STFWMstfwm][ouaherOUAHER][0-9A-Za-z]

BTW, if SELinux is on, it is better to switch it off for now.

Michael

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20180707
* Origin: Moscow, Russia (2:5020/1042)