[LUGOS] Sendmail vprasanje

Andraz Sraka a at aufbix.org
Sun May 12 20:02:20 CEST 2002


Re

On Sun, 2002-05-12 at 19:15, Nejc Skoberne wrote:

> Rad bi nastavil sendmail, da bi lahko filtriral maile, ki imajo v
> attachmentih dolocene koncnice, recimo da bi zavrnil vse maile, ki
> imajo v attachmentih koncnice .AVI.

Zdaj za sendmail ne vem resitve, poznam pa resitev v postfixu in je sila
enostavna. V main.cf dodas 

body_checks = regexp:/etc/postfix/body_checks

v /etc/postfix/body_checks pa dodas nekaj ala

/^Content-(Disposition|Type):.+file.+="?.*\.(avi)"?$/    REJECT


lp,

Andraz
a at aufbix.org

-- 
   You know, Hobbes, some days even my lucky rocketship underpants don't
help.
		  -- Calvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://liste2.lugos.si/pipermail/lugos-list/attachments/20020512/e3847cf4/attachment-0001.pgp


More information about the lugos-list mailing list