i'm using postfix, and the postfix domain is
www.pristronic.com.my. I'm adding another domain
www.e-markplus.com using ISPconfig control panel.
This is my main.cf contents:
onsl2:/etc/postfix # vi main.cf
#
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
#virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = onsl2.$mydomain
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
#mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
mydomain = pristronic.com.my
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
And this is local-host-names files:
localhost
onsl2.pristronic.com.my
localhost.onsl2.pristronic.com.my
localhost.pristronic.com.my
www.pristronic.com.my
www.e-markplus.com
pristronic.com.my
e-markplus.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
I think that the postfix is using single domain. Is it true? How can i configure it with multiple domain?
Thanks
Recent comments
1 hour 5 min ago
10 hours 33 min ago
11 hours 22 min ago
14 hours 56 min ago
19 hours 20 min ago
19 hours 41 min ago
21 hours 51 min ago
1 day 7 hours ago
1 day 12 hours ago
1 day 14 hours ago