On Fri, Aug 1, 2008 at 5:48 AM, Tomas Merlin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to have a rule for exim to do the following for all
> messages send to a particular address (say [EMAIL PROTECTED]):
>  - check if the email has a picture attachment
>  - reject if it doesn't and send an email to the sender explaining
> the rejection
>  - send the message to a command using the pipe transport
>
> I read the documentation a bit, and don't really know where to begin
> to do that so if anybody has any pointers I would be very grateful.

You need to use some sort of piping to a script which does that. You
could achieve that via
your aliases file or using a redirect router with a pipe transport. I
guess I am right:-)

Go read further! There are so many examples in the list archives, but
you are most likely
going to write your script for doing the checks, etc.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
 --from a /. post

-- 
## 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/

Reply via email to