I tried some of the doveadm examples but got errors:
doveadm mailbox list
Fatal: USER environment is missing and -u option not used
doveadm mailbox status
Fatal: USER environment is missing and -u option not used
doveadm mailbox status -u *
Fatal: Unknown status field: boot
doveadm mailbox status -A
doveadm mailbox status [-u <user>|-A] [-S
Sending an email from gmail to site1, I do receive it. When I try to send an email from site1 to site2, the email works and I see the SASL authentication being performed in the log.
But when I try to send an email to yahoo/gmail, in the log, I see that the email gets rejected even before performing the SASL authentication: postfix/smtpd[86594]: connect from unknown[myIP] postfix/smtpd[86594]: NOQUEUE: reject: RCPT from unknown[myIP]: 554 5.7.1 an_email@yahoo.com: Relay access denied; from=an_email@site1.com to=an_email@yahoo.com proto=ESMTP helo=<[192.168....]>
I tried adding 192.168... to mynetwork just for a test since I don't think this is a good idea but I got this anyway: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: mynetwork=127.0.0.0/8 192.168.1.0/8