Undelivered Mail Returned to Sender issue
by mstjohn1974 from LinuxQuestions.org on (#56376)
I setup a postfix server and when I send an email out I get a bounce back stating:
553 5.1.8 Sender address <goofy@mydomain.com> domain does not exist (in reply to MAIL FROM command)
My main.cf states:
# hostname
myhostname = webmail.mydomain.com
myorigin = mydomain.com
mydomain = mydomain.com
# trusted SMTP clients which are allowed to relay mail through Postfix.
#
# Note: additional IP addresses/networks listed in mynetworks should be listed
# in iRedAPD setting 'MYNETWORKS' (in `/opt/iredapd/settings.py`) too.
# for example:
#
# MYNETWORKS = ['xx.xx.xx.xx', 'xx.xx.xx.0/24', ...]
#
mynetworks = 127.0.0.1 [::1]
# Accepted local emails
mydestination = $myhostname, $mydomain
What am I missing? The DNS is set correctly...forward and reverse pointing to the same machine and name, I set a SPF record as well.


553 5.1.8 Sender address <goofy@mydomain.com> domain does not exist (in reply to MAIL FROM command)
My main.cf states:
# hostname
myhostname = webmail.mydomain.com
myorigin = mydomain.com
mydomain = mydomain.com
# trusted SMTP clients which are allowed to relay mail through Postfix.
#
# Note: additional IP addresses/networks listed in mynetworks should be listed
# in iRedAPD setting 'MYNETWORKS' (in `/opt/iredapd/settings.py`) too.
# for example:
#
# MYNETWORKS = ['xx.xx.xx.xx', 'xx.xx.xx.0/24', ...]
#
mynetworks = 127.0.0.1 [::1]
# Accepted local emails
mydestination = $myhostname, $mydomain
What am I missing? The DNS is set correctly...forward and reverse pointing to the same machine and name, I set a SPF record as well.