# postfix-add-filter(8) - man - phpman

[POSTFIX-ADD-FILTER(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-FILTER/8/markdown)                  System Manager's Manual                 [POSTFIX-ADD-FILTER(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-FILTER/8/markdown)



## NAME
       postfix-add-filter - add filter service to Postfix master.cf

## SYNOPSIS
       **postfix-add-filter** [_smtp_ _service_ _name_...] [_smtpd_ _port_...]

## DESCRIPTION
       The  [**postfix-add-filter**(8)](https://www.chedong.com/phpMan.php/man/postfix-add-filter/8/markdown)  command adds an smtp service named _smtp_ _service_ _name_ and an smtpd
       server listening on _smtpd_ _port_ to /etc/postfix/master.cf to facilitate  integration  of  SMTP
       filters  such  as amavisd-new or clamsmtp.  The configuration is based on the upstream recom‐
       mendations for amavisd-new 2.6.0.  Administrators should verify it is appropriate  for  their
       requirements.

       The  original file is copied prior to modification and left in /etc/postfix to make it possi‐
       ble to revert changes easily.

       Available in the Debian package for Postfix version 2.5.3 and later.


## DIAGNOSTICS
       If the given _smtp_ _service_ _name_ or _smtpd_ _port_ already appear in the master.cf, a message  will
       be printed to standard out and master.cf will not be modified.


## ENVIRONMENT
       **MAIL**___**CONFIG**
              Directory with Postfix configuration files.

              The  [**postfix-add-filter**(8)](https://www.chedong.com/phpMan.php/man/postfix-add-filter/8/markdown)  command  should use this, but it currently doesn't.  It is
              hard coded to /etc/postfix.  This should be changed.

## CONFIGURATION PARAMETERS
       None

## FILES
       /etc/postfix/master.cf

## SEE ALSO
       [postconf(5)](https://www.chedong.com/phpMan.php/man/postconf/5/markdown), Postfix configuration

## LICENSE
       This software is licensed under the MIT open source license.

**AUTHOR(S)**
       Scott Kitterman
       <<scott@kitterman.com>>



                                                                               [POSTFIX-ADD-FILTER(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-FILTER/8/markdown)
