-
Notifications
You must be signed in to change notification settings - Fork 178
Q0502
Tobias edited this page Mar 10, 2022
·
4 revisions
What I really need is the ability to obtain the result of a pipe command so that I can filter externally and redirect internally. Is this possible?
The result of a pipe command is not available to a filter, because Exim
does not run any actual deliveries while filtering. It just sets up
deliveries at this time. They all actually happen later. If you want to
run pipes and examine their results, you need to set up a single
delivery to a delivery agent such as procmail which provides this kind
of facility. An possible alternative is to use the ${run
expansion
item to run an external command while filtering. In this case, you can
make use of some of the results of the command.
- My filter isn't working. How can I test it?
- What I really need is the ability to obtain the result of a pipe command
- I received a message with a Subject: line that contained a
- I want to search for
$
in the subject line, but I can't seem to get - My problem is that Exim replaces $local_part with an empty string in
- Using $recipients in a system filter gives me another problem: how
- What are the main differences between using an Exim filter and using
- How can I allow the use of relative paths in users' filter files when
- How can I set up a filter file to detect and block virus attachments?
- Is it possible to write code for scanning messages in Python?
- Whenever my system filter uses a
mail
command to send a message, I get - I'm trying to reference the Envelope-To: header in my filter, but
- I want my system filter to freeze all mails greater than 500K in size,
- When I try to send to two addresses I get an error in the filter file