550 authentication required - email bounce

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
Hi,
for all emails accounts on server after send email I get bounce:
550 authentication required

I checked exim log:
2023-10-16 03:14:43 H=mail-pf1-f177.google.com [209.85.210.177] X=TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2023-10-16 03:14:43 H=mail-pf1-f177.google.com [209.85.210.177] incomplete transaction (QUIT) from <[email protected]>
2023-10-16 03:17:01 1qsHqX-000AIt-1Q <= [email protected] H=localhost (vim1726.flexlyserver.net) [::1] P=esmtpa A=login:[email protected] S=571 id=[email protected] T="kiedy zamowienie" from <[email protected]> for [email protected]
2023-10-16 03:17:01 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1qsHqX-000AIt-1Q
2023-10-16 03:17:01 1qsHqX-000AIt-1Q lowest numbered MX record points to local host: mydomain.pl
2023-10-16 03:17:01 1qsHqX-000AIt-1Q == [email protected] R=lookuphost defer (-1): lowest numbered MX record points to local host
2023-10-16 03:17:01 1qsHqX-000AIt-1Q Frozen

im not sure why this local host?
 
Check your MXs, where they pointed exactly, priorities, is "local server" enabled in MX settings of DA.
 
Can you help me location where I can set MX to local server in settings od DA?

Also now i cannot send new mail:
SMTP error (452): You can't set the sender "[email protected]" (Space Shortage, Please Later).
 
dig your DNS settings to check what you have and where it point to.
16-10-2023 10-59-48.jpg
 
I set option 3 in MX settings.

Also when I send email from my server then now is 100% deliverable.

The issue is with receive email to server. I use CloudFlare. Here is DNS configuration:

1697443522565.png
 
when I check option "use this server to handle my emails and when I send message to this server I get:
550 No such recipient here

when I uncheck this option i get:
550 authentication required
 
I think i found issue, when I open admin DNS settings I see local mail and local data set to no, for new created domain is automatic set to yes. Maybe do you know solution how to set to yes?

1697446102202.png
 
@Richard G

fallowing to your reply i not use multi server.

When I run:
cd /usr/local/directadmin
echo mail_sni=1 >> conf/directadmin.conf
cd custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set dovecot_conf yes
./build exim_conf
./build dovecot_conf

echo "action=rewrite&value=mail_sni" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d800

Now I see:
1697460723623.png



But for all emails I receive unroutable address. For new created user using the same domain name example newuser.olddomain.com emails working correct.
 
when I check option "use this server to handle my emails and when I send message to this server I get:
550 No such recipient here

when I uncheck this option i get:
550 authentication required
Both this means that the system is not seeing the domains on the server. The option "userthis server to handle my emails" must be selected (so must be yes) in any case.

Do you have a domain name for us so we can investigate what might be wrong?
 
I have now resolved issue in this way.

Temporare change domain name, and rewrite domain name from user level. This resolved issue and both is set to YES and all emails working.
 
I have now resolved issue in this way.

Temporare change domain name, and rewrite domain name from user level. This resolved issue and both is set to YES and all emails working.
Hello,

Exactly same issue :
"
when I check option "use this server to handle my emails and when I send message to this server I get:
550 No such recipient here

when I uncheck this option i get:
550 authentication required
"

Can you explain me what you mean :
"temporare change domain name"
"rewrite domain name from user level" ?
 
In complement, here is my context :
I'm facing some difficulties to configure correctly DA with MS Office 365.
I need to keep some generic mailboxes on the DA server.
Mailboxes of users are managed in Office 365.

Almost all ways goes well except one.

Imagine you have :
[email protected]
[email protected]

In /evo/user/dns/mx-records (in Email Management on User Panel), in OPTIONS :

  • If I check the checkbox "use this server to manage my mails ..."
  • If I uncheck the checkbox "use this server to manage my mails ..."
    • Then [email protected] can't receive external email
      550 5.0.350 Remote server returned an error -> 550 authentication required
      But send OK
 
I don't know how to edit my post but the domain si the same of course ;)
 
Editing post can only be done after you are a verified user. Will become automatically.

Might have been better if you had created a new post, depending on the issue. Because this is not happening with a default setup and yours might have a totally different cause, for example:

when I check option "use this server to handle my emails and when I send message to this server I get:
550 No such recipient here
This might point more that the email address doesn't exist on the server.

Hard to help without any information and/or parts of the log.
 
Ok thank you for your reply.

In fact, I posted 3 messages but I think you cannot see the post #2 yet, that brings more details, but it is awaiting for moderator approval.

I posted here because I read a lot of posts, and this one matches exactly and seems to be solved. So I replied to get more explanations on the method applied because I'm not sure to fully understand it (it's technic and it's not my native langage too).

My case is about to have external MX for some mailboxes on MS Office 365 and some other generic mailboxes on the DA server.

Almost all ways are ok but one still not ok and I'm facing exactly the same issue that this topic depending checking or not that checkbox.
 
My case is about to have external MX for some mailboxes on MS Office 365 and some other generic mailboxes on the DA server.
With your latest reply I only see 3 posts here in this thread.

Most likely you still have a different cause as I don't see you saying you have the same as in post #8, so most likely a different solution is required too.

Anyway, you can have external and internal, but not on the same domain.
So for example you can use MS Office 365 on for example [email protected] but then you can't use your DA mailbox for [email protected] he must be at MS Office 365 then too.
However, if there is a domain example.com then for example.com you can use generic mailboxes on DA again.

For Office 365 on the MX page, you need to deselect the "use this server to handle my email" and then use the selection option on that page to choose the Office 365 settings.
Doublecheck the DNS settings to be sure.

For using the generic mailboxes on DA, the MX records need to point to the domain on the DA box and have the checkbox to have this server handle the mail selected.

If everything is well except for 1 domain, then we need part of logfiles to see what is happening and even best is to have the domain name.
Als we need to know if you are using local or external dns (like cloudflare).
 
Back
Top