I am not being able to receive mails in my local accounts, i can only send mails from multi local accounts to multi external accounts.
Till now after several tests, i notice that when i send mails without SMTP AUTH, i receive an message from my ISP mail server, saying that SMTP AUTH is activated and i must activated to pass through that server. If i try to send mail in the external server between accounts of my domain, i dont receive any mail in my local server. If i try to send mail in my local server between local accounts, i will receive mail locally, it will not pass through my external server as expected.
In my external server, i have cpanel, where i create external email accounts. There i have config email routing for the domain that i just want to use in my local mail server. I have set MX records with a secondary priority (in first i have the domain of my email by default). It is config as auto to deal with mail brought also by default(*). The secondary priority is a link (a subdomain of the email domain) for my static IP. I already search if i had my IP blocked and from a big list i only had 1 blocking me.
I have also configured SPF of my external server to auth sends from my local server.
- Automatically Detect Configuration : (Local)
- Mail Exchanger local
- Mail Exchanger de backup
- Mail Exchanger remote
Right now i have in my main.cf from local server Postfix this:
I have also check my router and pc firewalls and no one is interfering with this server. Local firewall is OFF and i test my pc in the DMZ zone. I was only able to test with telnet the IMAP service through localhost connection, from outside i am unable, i get always a refuse connection.
I think that i have made the correct steps with cpanel, but i dont have a clue on how can i set Postfix and Dovecot to receive mails from my external server. =/