On Wed, 22 Jul 2015 04:14:59 -0700, tuyosi <nakajin.fu...@gmail.com> wrote:
listen on lo0
listen on em0 port 587
table aliases db:/etc/mail/aliases.db
accept from any for domain "openbsd.link" alias <aliases> deliver
to maildir
accept from any for domain "openbsd.link" deliver to maildir
accept for local alias <aliases> deliver
to maildir
I'm not 100% clear on the problem statement, but from what I can gather
you're unable to relay email to outside addresses at providers such as
gmail.com
You might try adding this line an the end of smtpd.conf
accept for any relay
This will relay any messages that do not match the previous rules out to
the Internet at large.