Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 11th, 2011  |  syntax: None  |  size: 2.21 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. postconf -n:
  2.  
  3. alias_database = hash:/etc/aliases
  4. alias_maps = hash:/etc/aliases
  5. command_directory = /usr/sbin
  6. config_directory = /etc/postfix
  7. daemon_directory = /usr/libexec/postfix
  8. data_directory = /var/lib/postfix
  9. debug_peer_level = 2
  10. html_directory = no
  11. inet_interfaces = localhost
  12. inet_protocols = all
  13. mail_owner = postfix
  14. mailq_path = /usr/bin/mailq.postfix
  15. manpage_directory = /usr/share/man
  16. mydestination = $myhostname, localhost.$mydomain, localhost
  17. newaliases_path = /usr/bin/newaliases.postfix
  18. queue_directory = /var/spool/postfix
  19. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  20. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  21. sendmail_path = /usr/sbin/sendmail.postfix
  22. setgid_group = postdrop
  23. unknown_local_recipient_reject_code = 550
  24. virtual_alias_maps = regexp:/etc/postfix/catchall
  25.  
  26. /etc/postfix/catchall:
  27.  
  28. /.*/ catchall@mydomain.com
  29.  
  30. /var/log/maillog after running the command "echo "Testing catchall" | mail -s "TEEEEST2" any@any.com" as root:
  31.  
  32. Oct 11 11:44:24 intranet postfix/pickup[31352]: 9E17060DE5: uid=0 from=<root>
  33. Oct 11 11:44:24 intranet postfix/cleanup[31361]: 9E17060DE5: message-id=<20111011094424.9E17060DE5@intranet.mydomain.com>
  34. Oct 11 11:44:24 intranet postfix/qmgr[31353]: 9E17060DE5: from=<root@intranet.mydomain.com>, size=438, nrcpt=1 (queue active)
  35. Oct 11 11:44:24 intranet postfix/error[31363]: 9E17060DE5: to=<catchall@mydomain.com>, orig_to=<any@any.com>, relay=none, delay=0.04, delays=0.03/0/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
  36. Oct 11 11:44:24 intranet postfix/cleanup[31361]: A26F960DE6: message-id=<20111011094424.A26F960DE6@intranet.mydomain.com>
  37. Oct 11 11:44:24 intranet postfix/qmgr[31353]: A26F960DE6: from=<>, size=2267, nrcpt=1 (queue active)
  38. Oct 11 11:44:24 intranet postfix/bounce[31364]: 9E17060DE5: sender non-delivery notification: A26F960DE6
  39. Oct 11 11:44:24 intranet postfix/qmgr[31353]: 9E17060DE5: removed
  40. Oct 11 11:44:24 intranet postfix/error[31363]: A26F960DE6: to=<catchall@mydomain.com>, orig_to=<root@intranet.mydomain.com>, relay=none, delay=0.01, delays=0/0/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
  41. Oct 11 11:44:24 intranet postfix/qmgr[31353]: A26F960DE6: removed
  42.  
clone this paste RAW Paste Data