Tony Finch wrote:
On Sun, 29 May 2005, JupiterHost.Net wrote:

Tony Finch wrote:

On Fri, 27 May 2005, JupiterHost.Net wrote:


if I want it to :fail: instead of forwarding to an address is there
something I can add to ~/.forward or to the router that'd make it
fail?

You need to add the allow_fail option to your router before you can use
:fail: in the .forward file.

I did that and got the results I'd posted before :(


Try restarting Exim before testing. Try testing with debugging turned on.

After restarting and verifying allow_filter is inthe router:

./forward
#Exim Filter
:fail: bye bye love

exim -bt -d USER
33 bytes read from /usr/home/USER/.forward
data is an Exim filter program
Filter: start of processing
Filter: end of processing
rda_interpret: subprocess yield=8 error=unknown filtering command ":fail:" near line 2 of filter file
localuser_forward router: defer for [EMAIL PROTECTED]
message: error in filter file: unknown filtering command ":fail:" near line 2 of filter file
[EMAIL PROTECTED] cannot be resolved at this time:
error in filter file: unknown filtering command ":fail:" near line 2 of filter file
search_tidyup called

./forward
:fail: bye bye love

exim -bt -d USER
20 bytes read from /usr/home/USER/.contactemail
file is not a filter file
parse_forward_list: :fail: bye bye love

extract item: :fail: bye bye love
rda_interpret: subprocess yield=8 error=":fail: bye bye love" is not permitted
localuser_forward router: defer for [EMAIL PROTECTED]
  message: error in redirect file: ":fail: bye bye love" is not permitted
[EMAIL PROTECTED] cannot be resolved at this time:
  error in redirect file: ":fail: bye bye love" is not permitted
search_tidyup called

> Try testing with debugging turned on.

I'll need to look into this a bit more, thanks :)

--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to