Re: [exim] Exim rule for only accepting messages with pictur…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Odhiambo Washington
Data:  
Para: Tomas Merlin
CC: exim-users
Asunto: Re: [exim] Exim rule for only accepting messages with picture attachment on an address
On Fri, Aug 1, 2008 at 5:48 AM, Tomas Merlin <ml@???> wrote:
> Hi,
>
> I'm trying to have a rule for exim to do the following for all
> messages send to a particular address (say photo@???):
> - 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