On Wednesday 22 August 2007 21:47, [EMAIL PROTECTED] wrote: > OK, so I found this dlfunc extension: > > http://www.ols.es/exim/dlext/ > > pipe_message works fine, except > this ACL doesn't work as I expected: > > deny message > = Your message is considered spam. Please follow link http://${run > hostname -i}/antispam/$message_id if you're human and would like to > confirm your message.
Um, can't you use $received_ip_address or something instead of running an external program to find out your IP address? > condition = ${dlfunc > {/usr/sbin/exim-ext.so} {pipe_message} {/etc/domeny/testme ... > } } > > 'testme' script return "false": > [...] > Yet, the ACL lets the message through. Anybody knows > how to make it fail message with 5xx code or accept it depending on script > exit status/std output? Well, you asked Exim to reject the message if the script returned *true*. Since the script returns false, the conditions for the deny statement are not fulfilled, so Exim moves on. -- Magnus Holmgren [EMAIL PROTECTED] (No Cc of list mail needed, thanks) "Exim is better at being younger, whereas sendmail is better for Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
pgptpq0T3CYpi.pgp
Description: PGP signature
-- ## 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/