• best practice removing/rejecting message having files with specific ext

    From none@21:1/5 to All on Mon May 20 00:47:43 2024
    I like to reject messages based on their attachments file extensions. I
    assume this can be best done with a milter? Any recommandations?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Wed May 22 10:34:27 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From none@21:1/5 to All on Thu May 23 17:25:30 2024

    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? :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dl8fbh@dl8fbh.ampr.org@21:1/5 to none on Fri May 24 11:23:46 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to dl8fbh@dl8fbh.ampr.org on Fri May 24 20:46:41 2024
    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. . . .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)