AMAVISD-NEW(8)

πŸ“¦
version 2.13.0 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– AMAVISD-NEW πŸ’–

okay bestie, welcome to amavisd-new(8) β€” she lives in the System Manager's Manual and she is literally the moment. let's get into it ✨


🌸 NAME 🌸

amavisd-new β€” the interface between your MTA and virus scanners / content filters. she's the middleman, the group chat admin, the one who checks everyone's vibes before the message gets through 🫢


πŸŽ€ SYNOPSIS πŸŽ€

amavisd-new [ -u userid ] [ -g groupid ] [ -c config-file ]...  [ start
| stop | reload | debug | debug-sa | foreground ]

look at her. so many options. so much power. πŸ’…


✨ DESCRIPTION ✨

okay so amavisd is a high-performance interface between your message transfer agent (MTA) and your virus scanners and/or spam scanners. high performance. not low performance. we don't do that here πŸ”₯

this is the amavisd-new incarnation of amavisd β€” a performance-enhanced and feature-enriched version of the original amavisd program. glow-up of the century, no cap πŸ‘‘

amavisd-new works as a SMTP proxy. so the way this goes: email gets fed to it through SMTP, it gets processed, and then it gets fed back to the MTA through a brand new SMTP connection. it's giving relay but make it fashion 🌈

important detail bestie: there is no buffering to disk by amavis. so it will only report that the transfer was successful after the forwarding MTA has actually accepted the message. no lying about success, we're honest in this house βœ‹

and also β€” it's totally possible to use the sendmail milter interface instead of the SMTP proxy method, if that's more your vibe πŸ¦‹


πŸ’… OPTIONS πŸ’…

  • -c configfile β€” use this specific configuration file instead of using run-parts(8) to hunt for config files in /usr/share/amavis/conf.d and /etc/amavis/conf.d. (this is a Debian extension to Amavisd-new, iykyk 🐧) and guess what β€” you can specify more than one -c option, and the files will be read in the order given. stacking configs, iconic πŸ’–
  • -u userid β€” try to switch to that user id. go on, be someone else 🧚
  • -g groupid β€” try to switch to that group id. same energy, but for groups 🫢
  • start β€” starts amavisd-new. she's awake, she's here, she's ready πŸ’«
  • stop β€” stops a running amavisd-new. nap time bestie 😴
  • reload β€” reloads configuration from the config file. heads up though: this may in fact just restart amavisd-new. so like, it's giving reload but it might be a full restart, don't be surprised πŸ’€
  • debug β€” runs amavisd-new in debug mode. we love a transparent queen πŸ”
  • debug-sa β€” runs amavisd-new in spamassassin debug mode. specifically spamassassin. very specific. we love specificity 🎯
  • foreground β€” does not fork to background. she stays right here, in front of you, main character energy, not going anywhere πŸ‘‘

πŸ¦‹ FILES πŸ¦‹

  • /etc/amavis/amavisd.conf
  • /var/lib/amavis
  • /var/run/amavis/amavisd.pid

these are the spots she hangs out 🏠


🌈 SEE ALSO 🌈

  • /usr/share/doc/amavisd-new/*

go read the docs bestie, there's lore πŸ“š


πŸ’œ AUTHOR πŸ’œ

this manual page was written by Henrique de Moraes Holschuh <hmh@debian.org>, for the Debian GNU/Linux system β€” but it may be used by others too, generous queen πŸ’–


and that's the whole page bestie!! 🌸 this one's from 2003-01-01, living in the AMAVISD-NEW(8) era, and yeah β€” she's been iconic since day one. periodt βœ¨πŸ’…πŸŽ€