On 11/19/2021 5:39 PM, Henning Follmann wrote:
On Fri, Nov 19, 2021 at 08:11:26AM +0100, 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.What does that mean? Can you please be more specific.Is there a way to scann incoming and outcoming e-mails on those ports for viruses?YesWhat I'm trying to avoid is to change the connection settings in my MUAs.If I understand your first line correctly you are connecting directly with your MUA to connect to the imap server of mail.com. In this case you have to scan with your MUA.I'm not sure how realistic this is so I might refine my question based on the provided answers.I am not familiar with mail.com. But do they scan and set any header based on the scan? In that case you might to create a imapsieve filter on the imap server to sort suspicious mail into a spam folder.
Hello all and thank you for your answers. I'll answer here to everyone who has contributed. I was hoping to transparently intercept e-mails and scann then for viruses. So when connected at home the e-mail would be scann for viruses and if I connect to a public network the connection to mail.com would also work. By the answers I got here, this looks to be difficult to implement especially when SSL is involved. My network is as follow: I have one debian server behind my ISP modem that act as gateway for my private netowrk. There are multiple users on my network on multiples OSs (Windows, Android and linux) with different MUAs. Eatch MUAs is configured with multiple e-mail accounts. For the sake of learning, I would like to make my own set up and not relying on what mail.com can provide. What would be the best way forward here with multiples MUAs and multiple e-mail accounts? I do get that I would need to set up a MTA on my server and connect to that MTA changing my connections settings in my MUAs. In other words, I'm open to any suggestions. A big thank you to 'Dan Ritter <dsr@randomstring.org>' and to 'Curt <curty@free.fr>' and also to you 'Henning Follmann <hfollmann@itcfollmann.com>'. -- John Doe