PDA

View Full Version : Domain of sender address admin@server.domain.com does not exist



Shark
03-07-2008, 11:22 AM
Hi all,

We had a server with a hosname 'domain.com'. Then found out the proper way is something like 'server.domain.com'. Fine, I get it. So we had our upstream add the proper records (including reverse) and all is fine.

Except now our FormMail v2.22 is having issues because the form contents are being sent as admin@server.domain.com (new hostname) and some are being rejected as

"Domain of sender address admin@server.domain.com does not exist"

Added A record for server.domain.com. Tried serveralias, looked through and made changes to FormMail for $postmaster, setup and changed mail aliases for admin, changed httpd.conf for serveradmin and a bunch of other things.

#1) If there is an proper A record, how can the domain not exist?
#2) Is there a way the change the mail to send as:
admin@domain.com again without changing the hostname?

Thanks, still digging in these forums and google,

Dave~

Shark
03-11-2008, 01:37 PM
Just adding a possible solution for the archives.

Edit exim.conf file using your domain:


# Specify the domain you want to be added to all unqualified addresses
# here. An unqualified address is one that does not contain an "@" character
# followed by a domain. For example, "caesar@rome.ex" is a fully qualified
# address, but the string "caesar" (i.e. just a login name) is an unqualified
# email address. Unqualified addresses are accepted only from local callers by
# default. See the receiver_unqualified_{hosts,nets} options if you want
# to permit unqualified addresses from remote sources. If this option is
# not set, the primary_hostname value is used for qualification.

qualify_domain = domain.com



Since admin is an unqualified address it now gets delivered as admin@domain.com instead of admin@server.domain.com

All is well...