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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Odhiambo Washington
Date:  
À: Tomas Merlin
CC: exim-users
Sujet: 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