Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242248

Re: Simple way to scann all incoming and outgoing e-mails for viruses

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Simple way to scann all incoming and outgoing e-mails for viruses
Date 2021-11-19 12:50 +0100
Message-ID <Dlaz0-AU-5@gated-at.bofh.it> (permalink)
References <Dl6lH-6Fq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


john doe wrote: 
> Debians,
> 
> My MUA is connecting to mail.com for imap and smtp.
> I have a Debian gateway server that I would like to use to scann e-mails
> sent and reseaved.
> 
> Is there a way to scann incoming and outcoming e-mails on those ports
> for viruses?
> 
> What I'm trying to avoid is to change the connection settings in my MUAs.
> 
> I'm not sure how realistic this is so I might refine my question based
> on the provided answers.

Intercepting IMAP and SMTP transparently is plausible, but if
you're using SSL/TLS encryption - and you probably are - not easy.

Mail can be scanned:
    - by an MTA when it arrives via SMTP
    - by an MTA calling a plug-in after the mail has arrived
    - by an MTA calling a plug-in while delivering to a mailbox
    - by an independent agent looking at a mailbox
    - by an MUA after it picks up mail

What are your actual restrictions? Tell us more about your
situation.

For instance, if one of your MUAs is a phone running an email
client pointed at mail.com, you will need to convince it to
accept your own SSL certificate authority -- and even then, this
will only work when your gateway is routing network traffic for
the device.

On the other hand, running a mail server that grabs your mail
from mail.com (with your username and password) and then makes
it available to you via IMAP and SMTP is relatively easy, but
does require changing your MUA connections from mail.com to your
mail server.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Simple way to scann all incoming and outgoing e-mails for viruses john doe <johndoe65534@mail.com> - 2021-11-19 08:20 +0100
  Re: Simple way to scann all incoming and outgoing e-mails for viruses Dan Ritter <dsr@randomstring.org> - 2021-11-19 12:50 +0100
  Re: Simple way to scann all incoming and outgoing e-mails for viruses Henning Follmann <hfollmann@itcfollmann.com> - 2021-11-19 17:50 +0100
    Re: Simple way to scann all incoming and outgoing e-mails for viruses Curt <curty@free.fr> - 2021-11-19 18:40 +0100
    Re: Simple way to scann all incoming and outgoing e-mails for viruses john doe <johndoe65534@mail.com> - 2021-11-21 14:50 +0100

csiph-web