Subj : Mailer and front end... To : Fzf From : Shurato Date : Sun Oct 06 2024 05:21 pm * In a message originally to Shurato, Fzf said: > Re: Mailer and front end... By: Shurato to deon on Thu Oct 03 2024 > 06:26 am > Sh> It's working! The only problem is that my exec command is not running > when > Sh> inbound packets are encountered. It was before, but I broke it some > how. > When you added the path portion, you added something which will never be a > match to any inbound file. > Short version - Look at the example below and pay **VERY** close attention > to the use of backslashes. The line wrapping is going to mangle the line: > exec "@start /min c:\\ele\\irex\\between.bat" > c:\\\\ele\\\\irex\\\\inbound\\\\*.pkt > Pointlessly long version - The last parameter here is a regular > expression, not a filename mask. The backslash character is used as an > escape character both when reading the configuration file and when > performing the regex matching. So this original parameter in the BinkD > config file: > c:\\ele\\irex\\inbound\\*.pkt > Gets escaped down to this when the config file is parsed: > c:\ele\irex\inbound\*.pkt > And when escaped the second time during the regex evalution, it becomes > this: > c:eleirexinbound*.pkt > That is a literal string without any wildcards. You need the additional > backslashes so the parameter gets passed to the regex function with the > backslashes escaped. > \\\\ -> \\ -> \ > Also, the regular expressions for the flag/exec parameters haven't been > case sensitive for a while now (20+ years) so there's no point accounting > for upper and lower case in them... Thanks, I'll try that! People insisted on case sensitivity, so I added those contingencies. -- Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp, ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs'). --- * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148) .