Guest User

Untitled

a guest
Mar 12th, 2018
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. the problem:
  2. ============
  3.  
  4. postmap -q tim@ginja.co.za hash:/etc/postfix/virtual
  5. jonno@ginja.co.za
  6.  
  7. sendmail -bv tim@ginja.co.za
  8. # probe email says <tim@ginja.co.za>: User unknown in virtual alias table
  9.  
  10. /etc/postfix/main.cf:
  11. =====================
  12.  
  13. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  14.  
  15.  
  16. # Debian specific: Specifying a file name will cause the first
  17. # line of that file to be used as the name. The Debian default
  18. # is /etc/mailname.
  19. #myorigin = /etc/mailname
  20.  
  21. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  22. biff = no
  23.  
  24. # appending .domain is the MUA's job.
  25. append_dot_mydomain = no
  26.  
  27. # Uncomment the next line to generate "delayed mail" warnings
  28. #delay_warning_time = 4h
  29.  
  30. readme_directory = no
  31.  
  32. # TLS parameters
  33. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  34. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  35. smtpd_use_tls=yes
  36. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  37. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  38.  
  39. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  40. # information on enabling SSL in the smtp client.
  41.  
  42. myhostname = lenny.localdomain
  43. alias_maps = hash:/etc/aliases
  44. alias_database = hash:/etc/aliases
  45. myorigin = /etc/mailname
  46. mydestination = starjuice.net, ray.starjuice.net, localhost.localdomain, localhost
  47. relayhost =
  48. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  49. #mailbox_command = procmail -a "$EXTENSION"
  50. mailbox_size_limit = 0
  51. recipient_delimiter = +
  52. inet_interfaces = all
  53.  
  54. virtual_alias_domains = axl.starjuice.net, fatboy.starjuice.net, enova.co.za, ginja.co.za, thespoonroom.co.za
  55. virtual_alias_map = hash:/etc/postfix/virtual
  56. home_mailbox = Maildir/
  57.  
  58. /etc/postfix/virtual:
  59. =====================
  60.  
  61. @axl.starjuice.net @starjuice.net
  62. @fatboy.starjuice.net @starjuice.net
  63.  
  64. accounts@enova.co.za sheldonh@enova.co.za
  65. info@enova.co.za sheldonh@enova.co.za
  66. sales@enova.co.za sheldonh@enova.co.za
  67. sheldonh@enova.co.za sheldonh@starjuice.net
  68. support@enova.co.za sheldonh@enova.co.za
  69.  
  70. jonno@ginja.co.za jonno@cloof.co.za
  71. tim@ginja.co.za jonno@ginja.co.za
  72.  
  73. party@thespoonroom.co.za kate@dishfood.co.za
Add Comment
Please, Sign In to add comment