[kdepim-users] How to block an outgoing e-mail if it is positive to anti-virus scanning

Ingo Klöcker kloecker at kde.org
Wed Dec 2 22:29:52 GMT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20091202/6e2e1d78/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list