Results 1 to 5 of 5

Thread: Welcome emails rejected due non-fully qualified address

  1. #1
    Join Date
    Apr 2017

    Welcome emails rejected due non-fully qualified address

    I am looking for some help - relative newbie!

    What I see now is:

    504 5.5.2 <diradmin@server1>: Sender address rejected:
    need fully-qualified address

    What I used to see was:

    from diradmin by with local (Exim 4.87)
    (envelope-from <>)

    So something has changed or I've inadvertently changed something.

    I'm posting a thread because I after quite a bit of drifting around forum - I have not yet found a definitive answer.

    I am now on Exim 4.92 and I've run the set_permissions script and both after a build update.

    DNS is on my VPS providers servers - on looking at dns entries in the DA CP I note that local is no in red whereas every thing else is yes in green. Server IP changed recently - as far as I know all DNS entries updated but also I did a build update, etc after that and i can see a DA updated on July 13 which is when I think that the issue started. I believe this was an issue some years ago but I could not discern a clear answer for what to do.

    I appreciate any help or pointers to the answer that I've yet to stumble across.

    Thank you


  2. #2
    Join Date
    Jul 2008
    You shoud set your admin email address if you have not done so yet.

    Login to DirectAdmin, click the "List Administrators" link, dan click your admin name.
    When selecting Admin's User Data you can scroll-down until you see the current admin email and change it to your liking.

    After that that, try rebuilding the newest Exim, and the newest exim spamblocker configuration (eximconf), which you can get by changing the options and build it again:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build set exim yes
    ./build set eximconf yes
    ./build set eximconf_release 4.5
    ./build update
    ./build exim
    ./build eximconf
    This should also give you the newest file.

    Normally after this, the mail would be send from again if everything is correct.
    Greetings, Richard.

  3. #3
    Join Date
    Apr 2005
    GMT +7.00
    Hello Neil,

    Richard has already suggested, there are still more things to be checked.

    1. Hostname usually resets on a reboot on certain VMs/VPS to the one set in a control panel where you purchase a server. So you will need to connect to a dashboard provided by your server company and make sure you've got a correct hostname there. Something like server name, etc.

    2. In a server console over SSH check /etc/hosts, in a line with your IP you should see a correct hostname.

    3. In DirectAdmin Web-UI as admin check administrator settings and make sure hostname is correct.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on
    - Follow and like @Poralix on Facebook

  4. #4
    Join Date
    Apr 2017
    Richard and Alex,

    Thank you both for your replies.

    Richard I tried your suggestion first - emails now received by external addresses - such as mine at the header now looks:

    Return-Path: <>
    X-Spam-Status: No, score=0.0 required=5.0 tests=KHOP_DYNAMIC,NORMAL_HTTP_TO_IP,
    X-Spam-Checker-Version: SpamAssassin
    Received: from ( [])
    by (Postfix) with ESMTPS id 8A806138822
    for <>; Fri, 19 Jul 2019 17:37:52 +0000 (UTC)
    Received: from ( [])
    by (Postfix) with ESMTPS id 8347618006F
    for <>; Fri, 19 Jul 2019 17:37:52 +0000 (UTC)
    Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=; helo=server1;;
    Authentication-Results:; dkim=none;
    Received: from server1 (unknown [])
    (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
    (No client certificate requested)
    by (Postfix) with ESMTPS id 5C3D8C0057
    for <>; Fri, 19 Jul 2019 17:37:52 +0000
    Received: from diradmin by server1 with local (Exim 4.92)
    (envelope-from <diradmin@server1>)
    id 1hoWpM-0001uw-1g
    for; Fri, 19 Jul 2019 13:37:52 -0400
    From: <>
    Sender: <>
    Reply-To: <>
    X-DirectAdmin-Sender: mingmeng
    Subject: Your account for is now ready for use.
    Message-Id: <E1hoWpM-0001uw-1g@server1>
    Date: Fri, 19 Jul 2019 13:37:52 -0400
    X-Authenticated-Id: diradmin
    X-StartMail-Is-Local-Vault-Mail: True

    Alex, I also worked through your steps: details in the VPS control panel were correct, and the DA settings seemed good. I did however make a DNS entry for in the VPS CP DNS - but the first actions had worked - not sure if I should have done DNS for earlier or not? I had of course an existing DNS entry for already. 5/9999
    NS Records 600 600
    A Records 600
    AAAA Records
    Domain IP Address TTL
    MX Records 10 600
    TXT Records "v=spf1 a mx ip4: ~all" 600

    root@server1:/usr/local/directadmin/custombuild# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters localhost.localdomain localhost
    # Auto-generated hostname. Please do not remove this comment.
    2a02:748:d000:8::1:1454 server1
    ::1 localhost ip6-localhost ip6-loopback

    Thank you both for your help - emails now escaping the server so a good result - I will still accept any advice for any other steps you think are needed to ensure everything stays that way.

    Thank you


  5. #5
    Join Date
    Jul 2008
    As for the help, you're welcome.

    However, you still might check the things that zEitEr said, because I see this:
    This should be a FQDN which it isn't now. It will deliver mail to some servers, but you could get into trouble with some others especially with Microsoft servers (hotmail/outlook/live) and Gmail.

    However I don't know exactly where or why this is only "server1" instead of the full hostname again.
    Greetings, Richard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts