Recipient of same domain don't receive emails when sender is not using the domain smtp

1 post / 0 new
#1 Thu, 06/28/2012 - 05:35
clemorphy

Recipient of same domain don't receive emails when sender is not using the domain smtp

Hi !

Here is my problem.

I have installed virtualmin and I have set up a virtual host (domain.com). Mail is enabled for the domain. I have created a few user account, with mail enabled for these account. (user1@domain.com, user2@domain.com ...)

While using these accounts on email clients. Pop3 and Imap are working fine. When I use the Smtp server of my domain to send emails (mail.domain.com), I can send emails to everyone : emails ended with @gmail.com or with @domain.com. And they all receive the messages. When I use the Smtp server of my ISP to send emails (smtp.free.fr), I still can send emails to everyone. But not everyone is receiving the emails : recipient emails ended with @domain.com are not receiving anything, while recipient emails ended with any other domain are receiving the messages.

When I dont use the smtp of my domain (mail.domain.com) recipient of the same domain are not receiving anything.

Example : user1@domain.com sends an email to user2@domain.com using mail.domain.com as smtp. 'User2' receives the email. user1@domain.com sends an email to user2@domain.com using smtp.free.fr as smtp (ISP smtp). 'User2' doesn't receive the email. user1@domain.com sends an email to otheruser@otherdomain.com using mail.domain.com. 'Otheruser' receives the email. user1@domain.com sends an email to otheruser@otherdomain.com using smtp.free.fr as smtp (ISP smtp). 'Otheruser' receives the email.

Any idea on how to solve this ?

Thank you.