On 11/25/2014 10:24 AM, Jos Chrispijn wrote: > Can you tell me how I can block email from certain users who have > attachment(s) included? > > I want to force senders to use WeTransfer - bouncing their email > should also create a separate reply asking this user to use > WeTransfer instead of email (as in attachments). > > As attachements in fact are the email itself, should I scan for mime > headers (or something like that) to trigger this action? > > Thanks for your reply. > Jos Chrispijn >
You'll need to use a milter or proxy for this. Maybe milter-regexp will do the trick. Yes, you'll need to examine the envelope sender, and the mime headers. -- Noel Jones