Re: How to block an outgoing e-mail if it is positive to anti-virus scanning

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Wednesday 02 December 2009, Antonio C. Costantino wrote:
> Hi all,
>
>
> it is a while I am looking for a way to block infected outgoing
> e-mails from being sent (I don't want to send them intentionally of
> course, but you never know what's in the attachments: so I scan all
> my e-mails, including outgoing).
>
> I successfully scan (and locally sort accordingly) infected incoming
> e-mails by using /usr/bin/kmail_clamav.sh.
>
> In simple steps, I wish it'd be possible to:
>
> 1) write an e-mail and attach it a file;
> 2) scan it while it's being sent;
> 3) if positive, stop it and copy it to a local folder.
>
> I can complete step 1 ;-) and 2 (I configured a filter so to scan all
> outgoing e-mails) but, regarding step 3, I don't know how to stop the
> mail if it is positive (I can of course copy it to a local folder).
>
> I even opened a discussion on kdeforums* but haven't received any
> reply yet, so I apologise if the issue has been already discussed. If
> yes, please point me to the relevant resource, if not every
> suggestion would be appreciated.

This isn't possible with KMail. At least, I don't think it's possible to 
(ab)use outgoing filters for this. The only possibility I see is 
setting up a local mail relay.

I think a better solution would be preventing any virus infected files 
from ending up on your system.


Regards,
Ingo

_______________________________________________
KDE PIM users mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAksW6mEACgkQGnR+RTDgudimBgCeNlQVSXPxSqDatXrSIwGyWGWM
5ZcAoKEDh3qztcshLl3UwoRcRwidn4gL
=RfRv
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.