Tattwam

Q: mail for mydomain.com loops back to myself

Hello All,

 

I am having some issue with my main.cf file.

 

1. I am able to send emails to my domain users from Apple Mail and other email clients. But I am not able to send mails from Roundcube.

2. I am also not able to receive group emails.

 

My Main.cf:

 

# mime_max_body_size = 0

#======================================================================

mydomain_fallback = localhost

alias_maps = hash:/Library/Server/Mail/Config/postfix/aliases hash:/Library/Server/Mail/Data/listserver/aliases/list_server_aliases

message_size_limit = 10485760

biff = no

mynetworks = 127.0.0.0/8, [::1]/128

smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated reject_rbl_client zen.spamhaus.org reject_rbl_client sbl.spamhaus.org reject_r$

recipient_delimiter = +

smtpd_tls_ciphers = medium

inet_interfaces = all

smtp_tls_loglevel = 1

smtp_tls_security_level = may

config_directory = /Library/Server/Mail/Config/postfix

virtual_alias_domains = $virtual_alias_maps hash:/Library/Server/Mail/Config/postfix/virtual_domains

virtual_alias_maps = $virtual_maps hash:/Library/Server/Mail/Config/postfix/virtual_users hash:/Library/Server/Mail/Data/listserver/aliases/list_serve$

smtpd_require_virtual_map = yes

enable_server_options = yes

smtpd_helo_required = yes

smtpd_pw_server_security_options = cram-md5,digest-md5,gssapi,login,plain

smtpd_tls_CAfile = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ch ain.pem

mydomain = hiecon.com

content_filter = smtp-amavis:[127.0.0.1]:10024

smtpd_tls_cert_file = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ce rt.pem

relayhost =

smtpd_sasl_auth_enable = yes

smtp_tls_key_file = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ke y.pem

smtp_tls_cert_file = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ce rt.pem

smtpd_recipient_restrictions = reject_invalid_hostname reject_non_fqdn_sender reject_non_fqdn_recipient permit_sasl_authenticated reject_unauth_destin$

smtpd_helo_restrictions = permit_sasl_authenticated reject_non_fqdn_helo_hostname reject_invalid_helo_hostname

smtp_tls_CAfile = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ch ain.pem

smtpd_enforce_tls = no

smtpd_use_tls = yes

myhostname = server.hiecon.com

smtpd_use_pw_server = yes

header_checks = pcre:/Library/Server/Mail/Config/postfix/custom_header_checks

smtpd_tls_key_file = /etc/certificates/server.hiecon.com.734E9146D930E88F1E1BB5A36F69D431C37DC236.ke y.pem

postscreen_dnsbl_sites = zen.spamhaus.org*2 sbl.spamhaus.org dnsbl-1.uceprotect.net bad.psky.me truncate.gbudb.net dnsbl.sorbs.net dnsbl-2.uceprotect.$

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, server.hiecon.com

mailbox_transport = dovecot

recipient_canonical_maps = hash:/Library/Server/Mail/Config/postfix/system_user_maps

qmgr_message_active_limit = 2000

maximal_queue_lifetime = 1d

bounce_queue_lifetime = 1d

smtpd_sender_restrictions = permit_sasl_authenticated permit_mynetworks reject_non_fqdn_sender permit

smtpd_data_restrictions = permit_mynetworks reject_unauth_pipelining permit




Thanks in Advance.

 

Mac mini, OS X El Capitan (10.11.1)

Posted on Sep 1, 2016 11:07 PM