Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You seek to shield those you love and you like the role of the provider.


comp / comp.mail.sendmail / best practice removing/rejecting message having files with specific extensions.

SubjectAuthor
* best practice removing/rejecting message having files with specific extensions.none
`* Re: best practice removing/rejecting message having files with specific extensioMarco Moock
 `* Re: best practice removing/rejecting message having files with specific extensionone
  `* Re: best practice removing/rejecting message having files with specific extensio<dl8fbh
   `- Re: best practice removing/rejecting message having files with specific extensioGrant Taylor

1
Subject: best practice removing/rejecting message having files with specific extensions.
From: none
Newsgroups: comp.mail.sendmail
Organization: A noiseless patient Spider
Date: Sun, 19 May 2024 22:47 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx656@tormails.com (none)
Newsgroups: comp.mail.sendmail
Subject: best practice removing/rejecting message having files with specific
extensions.
Date: Mon, 20 May 2024 00:47:43 +0200
Organization: A noiseless patient Spider
Lines: 4
Message-ID: <v2dvih$3jnn5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 May 2024 00:47:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e2389e2060f46d6da51c6b03180be799";
logging-data="3792613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195vSYESBCm7kGAlFSaET+5zSaiNOX8uva9A4RTbmLvCQ=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:M0nR1PMwJaWBnYJsXn/jp3Xs9Tk=
Content-Language: en-GB
View all headers

I like to reject messages based on their attachments file extensions. I
assume this can be best done with a milter? Any recommandations?

Subject: Re: best practice removing/rejecting message having files with specific extensions.
From: Marco Moock
Newsgroups: comp.mail.sendmail
Organization: A noiseless patient Spider
Date: Wed, 22 May 2024 08:34 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet@dorfdsl.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: best practice removing/rejecting message having files with
specific extensions.
Date: Wed, 22 May 2024 10:34:27 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <v2kamk$13clc$1@dont-email.me>
References: <v2dvih$3jnn5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 May 2024 10:34:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b4180ef60f8d2b26a12940fd6abeccf9";
logging-data="1159852"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/b/TlZ3oPpRlm6cTVd6v9p"
Cancel-Lock: sha1:RQoY7Jd/3fUA5bFGtnyRlEjpmE8=
View all headers

Am 20.05.2024 schrieb none <hzcnjkx656@tormails.com>:

> I like to reject messages based on their attachments file extensions.
> I assume this can be best done with a milter? Any recommandations?

MIMEDefang can handle that.
This describes the MIMEDefang stuff.
https://www.axigen.com/knowledgebase/How-to-Configure-and-Integrate-Axigen-and-MIMEDefang-to-Block-Attachments-by-File-Extension_340.html

Subject: Re: best practice removing/rejecting message having files with specific extensions.
From: none
Newsgroups: comp.mail.sendmail
Organization: A noiseless patient Spider
Date: Thu, 23 May 2024 15:25 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx656@tormails.com (none)
Newsgroups: comp.mail.sendmail
Subject: Re: best practice removing/rejecting message having files with
specific extensions.
Date: Thu, 23 May 2024 17:25:30 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <v2nn5d$1qebl$1@dont-email.me>
References: <v2dvih$3jnn5$1@dont-email.me> <v2kamk$13clc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 23 May 2024 17:25:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8f9179c490b4f5f203d5e1dad8ac7a7d";
logging-data="1915253"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uJMpMd4xFYCfRUFWjD3e+PDMrMr4OIkPDS4VosXILvg=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IfSYNshtz9mOuBKtNECWQLqKeAY=
In-Reply-To: <v2kamk$13clc$1@dont-email.me>
Content-Language: en-GB
View all headers

>
>> I like to reject messages based on their attachments file extensions.
>> I assume this can be best done with a milter? Any recommandations?
>
> MIMEDefang can handle that.
> This describes the MIMEDefang stuff.
> https://www.axigen.com/knowledgebase/How-to-Configure-and-Integrate-Axigen-and-MIMEDefang-to-Block-Attachments-by-File-Extension_340.html
>

I was just about to give this a try and on el9 this has 116 package
dependencies ~260MB. Is there not some smaller solution for hanling some
file extensions? :)

Subject: Re: best practice removing/rejecting message having files with specific extensions.
From: <dl8fbh@dl8fbh.ampr.org>
Newsgroups: comp.mail.sendmail
Organization: private site
Date: Fri, 24 May 2024 11:23 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <dl8fbh@dl8fbh.ampr.org>
Newsgroups: comp.mail.sendmail
Subject: Re: best practice removing/rejecting message having files with specific extensions.
Date: Fri, 24 May 2024 11:23:46 -0000 (UTC)
Organization: private site
Lines: 15
Message-ID: <v2ptc2$plo$1@dl8fbh.ampr.org>
References: <v2dvih$3jnn5$1@dont-email.me> <v2kamk$13clc$1@dont-email.me> <v2nn5d$1qebl$1@dont-email.me>
Injection-Date: Fri, 24 May 2024 13:47:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="551dce28ce72319c44ce0f5c2e7eca65";
logging-data="2440016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DrzK5zIirMqzbk6103CZO"
Cancel-Lock: sha1:limHCxAtB9mQ2ft9f8LtZO2ej1o=
View all headers

none <hzcnjkx656@tormails.com> wrote:
>> MIMEDefang can handle that.
>> This describes the MIMEDefang stuff.
>> https://www.axigen.com/knowledgebase/How-to-Configure-and-Integrate-Axigen-and-MIMEDefang-to-Block-Attachments-by-File-Extension_340.html
>>
>
> I was just about to give this a try and on el9 this has 116 package
> dependencies ~260MB. Is there not some smaller solution for hanling some
> file extensions? :)

procmail

Mike

Subject: Re: best practice removing/rejecting message having files with specific extensions.
From: Grant Taylor
Newsgroups: comp.mail.sendmail
Organization: TNet Consulting
Date: Sat, 25 May 2024 01:46 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: best practice removing/rejecting message having files with
specific extensions.
Date: Fri, 24 May 2024 20:46:41 -0500
Organization: TNet Consulting
Message-ID: <v2rfu1$g5b$1@tncsrv09.home.tnetconsulting.net>
References: <v2dvih$3jnn5$1@dont-email.me> <v2kamk$13clc$1@dont-email.me>
<v2nn5d$1qebl$1@dont-email.me> <v2ptc2$plo$1@dl8fbh.ampr.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 May 2024 01:46:41 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="16555"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <v2ptc2$plo$1@dl8fbh.ampr.org>
View all headers

On 5/24/24 06:23, dl8fbh@dl8fbh.ampr.org wrote:
> procmail

Removing the files w/ specific extensions with the procmail LDA after
accepting the message is different than rejecting them during SMTP time.

I suspect that it's possible to tune SpamAssassin and / or ClamAV to
object to the file extensions and have the milter reject the message
during the SMTP transaction. Though that's predicated on configuration
using them.

There's probably also a way to create a custom rule that will cause
Sendmail to reject it directly. There are probably some guides on
fighting spam from the mid-to-late '90s that may have information on how
to do that.

--
Grant. . . .

1

rocksolid light 0.9.8
clearnet tor