[exim] Piping message in ACL DATA

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: Exim Users List
Stare tematy: Re: [exim] wildlsearch bug?
Temat: [exim] Piping message in ACL DATA


Hello,

I'm trying to cook up an ACL that would reject mails
considered spam, but that would still give human users a chance to confirm
that they are not spambot (in case of false positive).

So I
have this:

acl_smtp_data = check_message
...

check_message:
...

  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.
        condition = ${run
{ mailfilter   ... } {true}}

However, I found this in
spec:

${run{<command> <args>}{<string1>}{<string2>}}[...]

The standard input for the command exists, but is empty. The standard
output and standard error are set to the same file descriptor.

Is there any way (outside standard connection to SA via
"malware" condition) to pipe message into $run in acl_data? Smth
like that would definitely make Exim shine (even more, that is :-)...

Regards,
Marcin Krol