| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> trying to set up a RAID5 array but i can't build it because mkraid wont work <1> mdadm is your friend <2> Jaded: haha yea, its like a puzzle <2> Goal: please the parser. <1> nobody uses the raidtools anymore <0> i dont know what to do with mdadm though :( <2> Jaded: aha! i think i got it <1> tendo2: it's easy <0> hi matja <1> http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html <3> ok getting there kinda <3> i've split it up <2> condition = ${if < {${run {/usr/bin/sbrsLookup $sender_host_address}{$value}}}{-3}} <0> oh this looks tricky <3> using set acl_m9 for the run <3> oh hmm
<2> that works <2> for me, anyway hehe <1> it's not tricky <1> it's simple <3> matja: hmm still get failed to expand <4> anyone run sli? <2> >>> check condition = ${if < {${run {/usr/bin/sbrsLookup $sender_host_address}{$value}}}{-1}} <2> >>> = true <5> what was the name of that macos like start menu from kde? <2> >>> deny: condition test succeeded <2> # /usr/bin/sbrsLookup <2> -5 <3> matja: hwo did you test that btw? <2> exim -bh 127.0.0.1 <3> i haven't touched this config for ages <3> as you can tell <2> or... exim -bt should work <2> no.. -bh <3> any chance you could paste the whole bit to pastme <3> ? <2> sure <3> i still get failed <3> 451 Temporary local problem - please try later <3> LOG: H=localhost [127.0.0.1] temporarily rejected connection in "connect" ACL: failed to expand ACL string "${if < {${run {/usr/bin/sbrsLookup $sender_host_address}{$value}}}{-3}}": "1.8 <6> matja pasted "exim acl", view at http://genpaste.pengu.in/pastes/show/271 <0> before i push enter here, does this look right to you fracture ? mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 <2> Jaded: ehh.. looks the same :| <3> how weird <3> i still get the failed to expand <2> is the "1.8 from the program? <3> # sbrsLookup 127.0.0.1 <3> 1.8 <3> i've no idea why it's thinking it's a string and not a number <3> I presume you just have a bash script <3> which does echo -5 ? <2> a c program, printf("-5\n"); <2> yea <2> i'll try a fraction <2> maybe its that <2> that'd be annoying <3> oh wait <3> hmm no <3> this is strange <3> i have a script which echo's -5 <3> #!/bin/sh <3> echo -5 <3> ... <3> but now i get <3> >>> check condition = ${if < {${run {/root/sbrs $sender_host_address}{$value}}}{-3}} <3> >>> = <3> >>> deny: condition test failed <3> is exim checking the return value or something? <2> it works for me on decimals... just tried -5.5 <2> can exim access /root/sbrs in that instance? <3> there is something really ****ed happenin here <3> i now have a C program which outpust -5 just like yours <3> yet <3> >>> check condition = ${if < {${run {/usr/bin/sbrs $sender_host_address}{$value}}}{-3}} <3> >>> = <3> >>> deny: condition test failed <3> it's like it doesn't run it
<2> hmm <3> i must be doing something really stupid <3> but i cannot figure out what <2> well <2> hang on <2> thats correct output <2> now change your exim.conf to have, like, -6 <2> and try it <3> >>> check condition = ${if < {${run {/usr/bin/sbrs $sender_host_address}{$value}}}{-6}} <3> >>> = <3> >>> deny: condition test failed <2> oh <2> that is puzzling. <2> do you have a message set in the acl? <3> yeah i cut and pasted yours <2> even if i leave out the message, i get <2> >>> check condition = ${if < {${run {/usr/bin/sbrsLookup $sender_host_address}{$value}}}{-3}} <2> >>> = true <2> >>> deny: condition test succeeded <2> or >>> deny: condition test failed <3> Exim version 4.62 #1 built 07-Aug-2006 00:15:47 <3> ? <2> Exim version 4.54 #1 built 24-Apr-2006 17:15:55 <2> i'll compile your version <2> this is a test box anyway <2> hehe <3> there is something very odd going on <3> im not totally sure what it is hehe <2> you could strace it... <2> would be painful but it might show something <2> thats if its to do with the file or process <2> if its something in exim then it probably wouldnt help <2> and its obviously been executing it before, to get that 1.8 <3> it's excuting the proper perl program <3> but getting a " from somewhere <3> thats not in the actual perl program <2> what do you get if you do : /usr/bin/sbrsLookup 127.0.0.1|od -x <2> a plain 1.8\n would be 2e31 0a38 <3> 0000000 2e31 0a38 <3> 0000004 <2> thats ok then <2> exim is making a " for some reason <2> i dunno :( <3> unfortuantly this is internal company code, otherwise i'd let you have a copy :( <3> it's doing my head in tbh ;) <2> hehe <2> how about "/usr/bin/sbrsLookup 127.0.0.1 && echo $?" <2> 1.8 and 0, right? <3> yup <3> its def exim mangleing it <3> but why... <2> yea <3> seems like exim is having issues with the value <3> which is odd <2> it wouldnt be a compilation switch would it? <2> i cant think of any compilation options that would affect it <2> but i havent looked <3> i have no idea tbh, never dug this much <0> what are you guys trying to do? <0> looks tricky <3> execute an external program on the exim acl <3> and filter according to it's result <3> which is just a number <0> :S <2> tendo2: trying to get exim to accept/deny a mail depending on the result of an external program <3> not overly complex really <3> just exim seems to be making it difficult <2> "If both strings are omitted, the result is contents of the standard output on success, and nothing on failure." <2> try taking out the "{$value}" <2> and see if that helps <3> think thats it <3> just looking at how SA does it <2> still works for me, doing that <3> this is ****ing weird
Return to
#gentoo or Go to some related
logs:
#beginner create would set mdadm mode to create set to manage homocast gay NHybernate onplaybackstarted oil in the middle Easty politics #heroin #linux-noob wzcsvc dependencies bor0
|
|