Mail:...ivirus(3)
π Mail::MIMEDefang::Antivirus(3) π
okay bestie, pull up a chair, we're reading the Mail::MIMEDefang::Antivirus man page together and honestly? it's giving very important. this is section 3 of the manual, and it's all about the antivirus interface methods for your email filters. let's go π«Ά
β¨ NAME β¨
Mail::MIMEDefang::Antivirus β antivirus interface methods for email filters, no cap π₯
πΈ DESCRIPTION πΈ
so here's the tea: Mail::MIMEDefang::Antivirus is literally a whole set of methods that you can call from mimedefang-filter to scan the email message with whatever antivirus software you've got installed. that's it, that's the vibe. scan the mail, catch the bad guys π
π METHODS π
message_contains_virusβ the method that scans a message using every single installed virus scanner. all of them. it does not skip. it does not play. β¨entity_contains_virusβ same energy, different target: this one scans aMIME::Entitypart using every installed virus scanner. so if you're looking at one little piece of the message instead of the whole thing, this is your girl π¦initialize_virus_scanner_routinesβ the setup method, the backstage pass ποΈ. it sets@VirusScannerMessageRoutinesand@VirusScannerEntityRoutinesto arrays of virus-scanner routines to call, based on which scanners are actually installed. lowkey the most important one for making the other ones work.run_virus_scannerβ the method that actually runs a virus scanner, and it collects the output in$VirusScannerMessages. it's the one doing the work while the others get the credit π
ngl bestie, if you're writing a filter and you want virus scanning in it, these four methods are the whole entire plot. memorize them. iykyk π
and that's a wrap on Mail::MIMEDefang::Antivirus! this page is version 3.7.1, dated 2026-07-20, and it's part of the Mail::MIMEDefang::Antivirus Documentation era. go forth and filter, queen πβ¨
π¦ where this page comes from
- fedora 43: mimedefang 3.7.1-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: mimedefang 3.7.1-1.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms