Your "/usr/local/mailserver/process.sh" *is* executable (of course) ?
-Heinrich On 13.09.2009, at 19:27, Jeffrey 'jf' Lim wrote: > I've got a system_filter file, which I've verified that exim does > indeed > refer to, but somehow the 'pipe' just does not seem to work. Can > anybody > debug why? > > == system_filter == > # Exim filter > if $sender_address does not end "@gmail.com" and $h_to contains " > [email protected]" then > fail "sending not allowed." > endif > if $h_to contains "[email protected]" then > unseen pipe "/usr/local/mailserver/process.sh" > endif > ======== > > I've tried at various times playing with the first "if", and yes, I > do get > the fail message when the conditions match (so I know exim is > loading the > filter). But whenever I get pass the first "if" (like in this case, > sending > from "@gmail.com" to "[email protected]", the pipe just does not seem > to be > triggered. > > ==== process.sh ======== > #!/bin/sh > tmp=`mktemp` > cat > $tmp > echo "sometext" >/tmp/foo > =============== > > The message gets sent to the inbox of the test account, but > process.sh does > not run? (There is nothing in /tmp) > > > -jf > > -- > In the meantime, here is your PSA: > "It's so hard to write a graphics driver that open-sourcing it would > not > help." > -- Andrew Fear, Software Product Manager, NVIDIA Corporation > http://kerneltrap.org/node/7228 > -- > ## List details at http://lists.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://wiki.exim.org/ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
