Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/pmta/config
- #
- # $Id: config 14069 2012-08-13 16:13:16Z juan $
- # Sample PowerMTA configuration file
- #
- #
- # E-mail address for mailer's administrator (please specify!)
- #
- #postmaster you@your.domain
- #
- # IP address(es) and port(s) on which to listen for incoming SMTP connections
- #
- smtp-listener 0/0:2525 # listens on all local IPs
- #
- # Settings per source IP address (for incoming SMTP connections)
- #
- #<source 127.0.0.1>
- # always-allow-relaying yes # allow feeding from 127.0.0.1
- # process-x-virtual-mta yes # allow selection of a virtual MTA
- # max-message-size unlimited
- # smtp-service yes # allow SMTP service
- #</source>
- <source 186.123.5.163> # matches all
- always-allow-relaying yes # allow feeding from 127.0.0.1
- process-x-virtual-mta yes # allow selection of a virtual MTA
- max-message-size unlimited
- smtp-service yes # allow SMTP service
- log-connections yes
- log-commands yes # WARNING: verbose!
- log-data no # WARNING: even more verbose!
- </source>
- #
- # SMTP users (authenticated via SMTP AUTH)
- #
- #<smtp-user API>
- # password "changeme"
- #</smtp-user>
- #
- # Settings per outgoing domain
- #
- <domain *>
- max-smtp-out 800
- route 5.181.234.238:22400
- retry-after 10m
- </domain>
- #
- #<domain test.port25.com>
- # max-smtp-out 1
- # log-connections yes
- # log-commands yes # WARNING: verbose!
- # log-resolution no # WARNING: verbose!
- # log-data no # WARNING: even more verbose!
- #</domain>
- #<domain *>
- # max-smtp-out 20 # max. connections *per domain*
- # bounce-after 4d12h # 4 days, 12 hours
- # retry-after 10m # 10 minutes
- #</domain>
- #
- # Port used for HTTP management interface
- #
- http-mgmt-port 8080
- #
- # IP addresses allowed to access the HTTP management interface, one
- # per line
- #
- #http-access 127.0.0.1 monitor
- #http-access ::1 monitor
- #http-access 10.1.0.10 none
- http-access 181.46.137.14 admin
- http-access 181.46.137.14 monitor
- #
- # Whether to run the PowerMTA deamon as root
- #
- run-as-root no
- #
- # Logging file name
- #
- log-file /var/log/pmta/pmta.log # logrotate is used for rotation
- #
- # Accounting file(s)
- #
- <acct-file /var/log/pmta/acct.csv>
- # move-to /opt/myapp/pmta-acct # configure as fit for your application
- move-interval 5m
- max-size 50M
- delete-after 8d
- </acct-file>
- #
- # Spool directories
- #
- <spool /var/spool/pmta>
- deliver-only no
- </spool>
- # EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement