SHARE
TWEET

Untitled

a guest May 7th, 2013 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. My domain that I am still hosting is running on an Exchange server that forwards all sent mail to the linux server running MailScanner which uses postfix as an MTA.  That domain is abc.domain.  The other domain that I no longer host was running postfix and sent all mail to the same MaillScanner server.  That domain is xyz.com.  Now when abc.com sends an email to xyz.com it sends it to the old postfix server that housed my old domain.  I want it to not go there but go out through the internet.  This setup was given to me already setup and I have been trying to figure out the setup so bare with me.  Here is my postconf -n result..
  2.  
  3. alias_maps = hash:/etc/aliases
  4. append_dot_mydomain = no
  5. biff = no
  6. config_directory = /etc/postfix
  7. header_checks = regexp:/etc/postfix/header_checks
  8. inet_interfaces = all
  9. local_recipient_maps =
  10. local_transport = error:No local mail delivery
  11. mailbox_size_limit = 0
  12. message_size_limit = 1048576000
  13. mydestination =
  14. myhostname = mailhub.abc.com
  15. mynetworks = 127.0.0.0/8, 192.168.99.0/24, 10.10.0.0/16, 68.188.240.63, 71.13.83.142, 71.83.13.142, 207.75.96.5, 10.10.10.7
  16. myorigin = abc.com
  17. readme_directory = no
  18. recipient_delimiter = +
  19. relay_domains = hash:/etc/postfix/relay_domains
  20. relay_recipient_maps = hash:/etc/postfix/relay_recipients
  21. relayhost =
  22. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  23. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  24. smtpd_data_restrictions = reject_unauth_pipelining
  25. smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, reject_unauth_destination, check_policy_service unix:private/policy, reject_unauth_pipelining, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_rbl_client zen.spamhaus.org, reject_rbl_client b.barracudacentral.org
  26. smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain
  27. smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  28. smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  29. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  30. smtpd_use_tls = yes
  31. transport_maps = hash:/etc/postfix/transport
  32. virtual_alias_maps = hash:/etc/postfix/virtual
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top