"sender domain not found" for mails send by "directadmin" user

lightningbit

Verified User
Joined
Nov 7, 2008
Messages
35
Hi,

a number of mails from the server/directadmin are not getting through to my mailaddress (and other recipients)

I see errors like the following in the var/log/exim/mainlog

2014-02-08 21:28:01 1WCEVN-0004zW-6Y ** [email protected] <[email protected]> F=<[email protected]> R=lookuphost T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=2086: host ispsmtpserver.ispdomain.be [x.x.x.x]: 550 5.1.0 <[email protected]> sender domain not found


where :
[email protected] is my personal mailadres at my isp
hostname : hostname of the server on which DA is running
hostdomain.com = the domainname of the server where DA is running

  1. [email protected] should become [email protected] I assume to avoid the error?
  2. If possible, I even would like avoid to use "directadmin" and use something like "[email protected]"

First question I have is how I can resolve item (1) ?
I think I need to make a change to exim.conf in the part below, but wanted to be sure of that

Code:
# 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, "[email protected]" 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 =

# If you want unqualified recipient addresses to be qualified with a different
# domain to unqualified sender addresses, specify the recipient domain here.
# If this option is not set, the qualify_domain value is used.

# qualify_recipient =

I had to set the following in my exim.conf a long time ago:
because of the reasons mentioned here : http://help.directadmin.com/item.php?id=257

Code:
untrusted_set_sender = *
no_local_from_check



then if possible, I would like to find a solution for (2)

any help is much appreciated

Thanks
 
Last edited:
This is happening because mail is sending from hostname.hostdomain.net and I am assuming you don't have an A record for 'hostname'. I had this issue the other day and resolved it by adding an A record to DNS for 'hostname'
 
I'm sorry, I mixed up domains, I wanted to ask if hostname.hostdomain.net was present in /etc/virtual.
 
In general check the following:

Your hostname has an A record visible from the 'net.

You have working (not just setup on your serv4er) rDNS for the IP# pointed back to your hostname.

Your sender addrss must be able to receive email sent by the recipient.

Jeff
 
Back
Top