Do you want to REJECT all emails containing an attachment? Or do you
want to remove the attachment and let the message go trough?
Thanks for the reply.
Preferably reject but removing the attachment might be acceptable.
Ian
Preferably reject but removing the attachment might be acceptable.
Well, this seems to have done it:
/name=*\.*/ REJECT no attachments allowed
How embarrassingly simple.
Sorry for the noise.
That's wrong syntax...
/name=*\.*/ REJECT no attachments allowed
means:
name followed by an arbitrary number of =
followed by an arbitrary number of .
You probably meant:
/name=/ REJECT no attachments allowed
Thanks for pointing that out. I wonder why it worked ...
Except when an attachment does not have a name. Eg inline images in a html
email.
Sorry about the top post.. my current mail client leaves much to be desired.
ah, that's interesting ... the inline part anyway ... thanks
Hi
Is it possible to block all attachments with postfix? I'm using
/etc/postfix/mime_header_checks but I can't seem to block all attachments,
especially ones without file suffixes.
Thanks
Ian
.
.
Any help would be much appreciated.
I'd like to know within about 5 or 10 minutes if there is a problem with
a mail I've sent.
Thanks
Ian Masters