Emails with same domain does not go out from postfix

email, postfix-mta

Solution

Add this blank line in your main.cf file.

mydestination = 

Then reload your postfix configuration by running

/etc/init.d/postfix reload

I noticed you had tried to do something similar by commenting out the line defining mydestination, however, this will not fix your problem because mydestination defaults to $myhostname, localhost.$mydomain, localhost .

Problem

I am using postfix to send out emails. Its working fine when I send email to other domains but it does not send email when I send emails to the same domain the post fix is configures with. Below is my configuration: ``` myhostname = [FQDN] virtual_alias_maps = hash:/etc/postfix/virtual #home_mailbox = mail/ alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases #myorigin = /etc/mailname #mydestination = mydomain1.com, mydomain2.com #relayhost = #mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 ``` Can anyone point me where misconfiguration is?

Original source