smtpd.conf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. filter "invalid-fcrdns" phase connect match !fcrdns reject "422 No valid fcrdns."
  2. filter "dkimsign" proc-exec "/gnu/store/rklsc9b0p0bsjh10d5hi2mxiyx2p29pl-opensmtpd-filter-dkimsign-0.5/libexec/opensmtpd/filter-dkimsign -d gnucode.me -s 2021-09-22 -c relaxed/relaxed -k /etc/dkim/private.key user nobody group nogroup"
  3. smtp max-message-size 10M
  4. srs ttl 5d
  5. queue compression
  6. mta max-deferred 50
  7. table creds { "joshua" = "$6$Ec4m8FgKjT2F/03Y$k66ABdse9TzCX6qaALB3WBL9GC1rmAWJmaoSjFMpbhzat7DOpFqpnOwpbZ34wwsQYIK8RQlqwM1I/v6vsRq86." }
  8. table "virtual" { "josh" = "jbranso@dismail.de" }
  9. table domain-table { "gnucode.me", "gnu-hurd.com" }
  10. table "senders" { "josh" = "jbranso@dismial.de,joshua@dismail.de,root.org" \
  11. "james" = "james@gnu.org,james@dismail.de"}
  12. listen on lo filter "invalid-fcrdns" tls port 25
  13. listen on lo port 25
  14. listen on lo filter "dkimsign" smtps port 465
  15. listen on lo filter "dkimsign" tls-require port 587 senders <"senders">
  16. listen on socket filter "invalid-fcrdns" tag "invalid"
  17. action "relay" relay
  18. action "receive" maildir "/home/%{rcpt.user}/Maildir" junk virtual <"virtual">
  19. match for any from any auth action "relay"
  20. match for domain <domain-table> from any action "receive"
  21. match for local action "receive"