PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > rejecting pictures
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
rejecting pictures

Réponse
 
LinkBack Outils de la discussion
Vieux 26/04/2006, 19h03   #1
rogv24@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut rejecting pictures

Does anyone know how to reject pictures using postfix. there is a
spammer who is
displaying a picture with a paragraph and the body_checks cannot read
the words.
Thanks

  Réponse avec citation
Vieux 26/04/2006, 19h09   #2
Evan Platt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

On 26 Apr 2006 11:03:01 -0700, rogv24@yahoo.com wrote:

>Does anyone know how to reject pictures using postfix. there is a
>spammer who is
>displaying a picture with a paragraph and the body_checks cannot read
>the words.


I'm just a novice, so an expert may have a better idea.. But an
attachment is simply text your e-mail client converts to an
attachment. You could use a body check with something like "MIME", but
perhaps a better idea is to see perhaps what ISP that spammer is
connecting from and do some IP based blocking.
  Réponse avec citation
Vieux 26/04/2006, 19h25   #3
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

rogv24@yahoo.com wrote:
> Does anyone know how to reject pictures using postfix. there is a
> spammer who is
> displaying a picture with a paragraph and the body_checks cannot read
> the words.
> Thanks


In order to read text that's in an image file, the file needs to passed
through an optical character recognition (OCR) program.

This form of image/text spamming is heavily used by the stock market spammers, and
sometimes viagra spammers.

There was a discusison recently on the official Postfix mailing list about
the use of OCR and Postfix. While there are some free public domain OCR program
available, they just aren't very good yet. The ones I tried didn't do a good job at all in
character recognition. And, any deviation by the spammer, such as tilting the
characters and such, completely fooled the software.

You can completely block all image files based on their naming suffixes, but
this makes for some very unhappy users in today's world of image exchange.
--
Greg

  Réponse avec citation
Vieux 26/04/2006, 20h20   #4
rogv24@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

Thats exactly whats happening here there is a bunch of stock market
spammers
and they have GIF pictures in the body of the email.
How would I reject these using the naming suffixes?
Thankyou

  Réponse avec citation
Vieux 26/04/2006, 20h31   #5
rogv24@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

How are you presently handling these spams?

  Réponse avec citation
Vieux 26/04/2006, 21h52   #6
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

rogv24@yahoo.com wrote:
> Thats exactly whats happening here there is a bunch of stock market
> spammers
> and they have GIF pictures in the body of the email.
> How would I reject these using the naming suffixes?
> Thankyou
>


Here's an example that was found online, on how to block
executable attachments, but yet allows ZIP files. It could easily be modified to include
gif, gif, bmp, and etc.. images.

Note that this blocks in both directions. That means you can't send
any of these types of files either, without some add'l work to Postfix.
--
Greg



/etc/postfix/main.cf:
mime_header_checks regexp:/etc/postfix/mime_header_checks.regexp


/etc/postfix/mime_header_checks.regexp:
/^begin \d\d\d (.*\.(vbe|vbs|exe|com|cmd|dll|jb|bat|pif|scr|lnk))/ REJECT Our apologies, message content "$1" rejected: we do not accept certain attachments. You may use ZIP.

/^Content-(Disposition|Type)\:.*name="?(.*\.(vbe|vbs|exe|com |cmd|dll|jb|bat|pif|scr|lnk))"?/ REJECT Our apologies, message content "$2" rejected: we do not accept certain attachments. You may use ZIP.

/^\s*(file)?name="?(.*\.(vbe|vbs|exe|com|cmd|dll|jb |bat|pif|scr|lnk))"?/ REJECT Our apologies, message content "$2" rejected: we do not accept certain attachments. You may use ZIP.
  Réponse avec citation
Vieux 26/04/2006, 22h00   #7
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rejecting pictures

rogv24@yahoo.com wrote:
> How are you presently handling these spams? {image spams}


I'm not in a position where I can block attachments; I require them.

So until something better comes along, I just try to rely on RBL
services. The chances are fair that the spam relay site's IP has already been
reported to some RBL site based on them spamming someone else.

No matter what you do, some spams are still going to get through.

--
Greg



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h07.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10428 seconds with 15 queries