Hi,

> mimeheader LOC_CTYP_IMG  ((Content-Type =~ /image\/png/) ||
> (Content-Type =~ /image\/jpg/) || (Content-Type =~ /image\/jpeg/) ||

I thought this passed through my --lint, but I only caught it the
second time. I was looking around for the (new) right way to do it,
and found this in 80_additional.cf:

mimeheader __ANY_IMAGE_ATTACH   Content-Type =~ /image\/(?:gif|jpeg|png)/

Now I know. Does the rest look like it will work as expected?

Thanks,
Alex

Reply via email to