POSTFIX-ADD-FILTER(8)
π POSTFIX-ADD-FILTER π
okay bestie, welcome to postfix-add-filter, section 8 of the System Manager's Manual β yes, the big-girl admin section, we love that for us π«Ά
β¨ NAME β¨
postfix-add-filter β literally just adds a filter service to your Postfix master.cf. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
postfix-add-filter [smtp service name...] [smtpd port...]
like, you hand it some names and some ports and it goes to work. no cap.
π¦ DESCRIPTION π¦
so the postfix-add-filter(8) command adds an smtp service named smtp service name and an smtpd server listening on smtpd port into /etc/postfix/master.cf β and the whole point is to make integrating SMTP filters like amavisd-new or clamsmtp actually, you know, work. β¨
the configuration it writes is based on the upstream recommendations for amavisd-new 2.6.0. but heads up bestie π: administrators should verify it is appropriate for their requirements. it's giving "template, not gospel."
the original file gets copied before modification and left in /etc/postfix so you can revert your changes easily. safety net? iconic. we stan a rollback. π
also available in the Debian package for Postfix version 2.5.3 and later. iykyk.
π DIAGNOSTICS π
if the smtp service name you gave or the smtpd port you gave already appears in the master.cf? a message gets printed to standard out and master.cf will not be modified. nothing happens. it just says so and vibes. π«Ά
π ENVIRONMENT π
MAIL_CONFIGβ directory with Postfix configuration files. π
not me telling you this: thepostfix-add-filter(8)command should use this, but it currently doesn't. it is hard coded to/etc/postfix. this should be changed. π
fr fr. it's a known situation. we move.
π CONFIGURATION PARAMETERS π
None
that's right, zero. empty. nothing to configure. the void. π
π§ FILES π§
/etc/postfix/master.cf
this is the one. the main character file. π
β SEE ALSO β
postconf(5)- Postfix configuration
go read those too, bestie, knowledge is free π
π LICENSE π
this software is licensed under the MIT open source license. slay, permissive licensing, we love to see it. β¨
π AUTHOR(S) π
- Scott Kitterman
<scott@kitterman.com>
thank you for your service, king. π«‘π
and that's a wrap on POSTFIX-ADD-FILTER(8) from the System Manager's Manual β stay slay, back up your configs, and remember: it's hard coded to /etc/postfix, so act accordingly. bye bestie! ππΈπ
π¦ where this page comes from
- debian bookworm: postfix 3.7.11-0+deb12u1
- debian trixie: postfix 3.10.13-0+deb13u1
- ubuntu jammy: postfix 3.6.4-1ubuntu1
- ubuntu jammy: postfix 3.6.4-1ubuntu1.4
- ubuntu noble: postfix 3.8.6-1build2
- ubuntu noble: postfix 3.8.6-1ubuntu0.1
- ubuntu questing: postfix 3.10.2-1ubuntu2
- ubuntu questing: postfix 3.10.2-1ubuntu2.1
- ubuntu resolute: postfix 3.10.6-4ubuntu2
- ubuntu resolute: postfix 3.10.6-4ubuntu2.1
- ubuntu resolute: postfix 3.10.6-4ubuntu2.2
- ubuntu stonking: postfix 3.11.7-1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms