0

so i have a host myhost.com that have a sub domain b2b.myhost.com . in myhost.com i have some mail accounts like info@myhost.com and support@myhost.com and the sub domain is routed from my server that i have postfix installed. the problem is that i cant send an email from my server (b2b.myhost.com) that is support@myhost.com to the host mail account(myhost.com). i wont recieve anything from the server . this is my postfix main.cf :

inet_interfaces = all

inet_interfaces = localhost

smtpd_sasl_auth_enable = yes

broken_sasl_auth_clients = yes

smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks permit_sasl_authenticated check_relay_domains

smtpd_tls_security_level = none

smtpd_sasl_type = dovecot

smtpd_sasl_path = private/auth virtual_alias_domains = b2b.myhost.com

virtual_alias_maps = hash:/etc/postfix/virtual

virtual_mailbox_domains = /etc/postfix/vhosts

virtual_mailbox_base = /home/vmail

virtual_mailbox_maps = hash:/etc/postfix/vmaps

virtual_minimum_uid = 1000

virtual_uid_maps = static:5000

virtual_gid_maps = static:5000

smtpd_tls_auth_only = yes

smtpd_tls_cert_file = /etc/postfix/ssl/mailserver.crt

smtpd_tls_key_file = /etc/postfix/ssl/mailserver.key

smtpd_use_tls=yes

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_tls_security_level=may

where is the problem ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.