• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Qmail Cannot Receive Mail: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)

DaveDoesStuff

New Pleskian
Hi all, any help on this would be appreciated. I've been at it for 5+ hours and I'm ready to tear my hair out.

My version of plesk is 17.5.3 Update #45

Basically I was having an issue with postfix not being able to send or receive mail (the virtual.db issue where it says the mailbox doesn't exist) so I decided to remove all mail functions and reinstall using Qmail instead of postfix. While I am able to send mail with Qmail (DKIM/SPF and DMARC all work too) I am unable to receive mail.

If I send from a gmail.com address or another address from the same domain the local delivery fails with a "Sorry,_no_mailbox_here_by_that_name._(#5.1.1)" error. Then when it tries to send the bounce message back to the remote that also fails.

Here are the logs:

Code:
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: Handlers Filter before-queue for qmail started ...
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: [email protected]
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: [email protected]
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: handlers_stderr: PASS
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: PASS during call 'limit-out' handler
Apr 10 17:51:14 PrimordialGaming check-quota[7062]: Starting the check-quota filter...
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: handlers_stderr: SKIP
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: SKIP during call 'check-quota' handler
Apr 10 17:51:14 PrimordialGaming spf[7063]: Starting the spf filter...
Apr 10 17:51:14 PrimordialGaming spf[7063]: SPF status: PASS
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: handlers_stderr: PASS
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: PASS during call 'spf' handler
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7060]: starter: submitter[7064] exited normally
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.160230 new msg 3539098
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.160263 info msg 3539098: bytes 1003 from <[email protected]> qp 7064 uid 2020
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.165018 starting delivery 5: msg 3539098 to local [email protected]
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.165048 status: local 1/10 remote 0/20
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: Handlers Filter before-queue for qmail started ...
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.175204 delivery 5: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.175236 status: local 0/10 remote 0/20
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: from=
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: [email protected]
Apr 10 17:51:14 PrimordialGaming dovecot: imap-login: Login: user=<[email protected]>, method=DIGEST-MD5, rip=::1, lip=::1, mpid=7069, secured, session=<R2D/fYBpTqIAAAAAAAAAAAAAAAAAAAAB>
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: handlers_stderr: SKIP
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: SKIP during call 'limit-out' handler
Apr 10 17:51:14 PrimordialGaming check-quota[7071]: cannot get sender domain
Apr 10 17:51:14 PrimordialGaming check-quota[7071]: Unable to intialize check-quota mail handler
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: Error during 'check-quota' handler
Apr 10 17:51:14 PrimordialGaming spf[7072]: cannot get sender domain
Apr 10 17:51:14 PrimordialGaming spf[7072]: Unable to intialize spf mail handler
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: handlers_stderr: DATA REPLY:550:5.7.24 SPF validation error
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: Error during 'spf' handler
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7068]: starter: submitter[7073] exited normally
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.251160 bounce msg 3539098 qp 7068
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.251523 end msg 3539098
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.251913 new msg 3539688
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.252199 info msg 3539688: bytes 1570 from <> qp 7073 uid 2522
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.254775 starting delivery 6: msg 3539688 to local [email protected]
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.255518 status: local 1/10 remote 0/20
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.260147 delivery 6: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Apr 10 17:51:14 PrimordialGaming qmail: 1523375474.260987 status: local 0/10 remote 0/20
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7076]: Handlers Filter before-queue for qmail started ...
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7076]: from=#@[]
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7076]: [email protected]
Apr 10 17:51:14 PrimordialGaming dovecot: service=imap, [email protected], ip=[::1]. Logged out rcvd=485, sent=653
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7076]: handlers_stderr: SKIP
Apr 10 17:51:14 PrimordialGaming qmail-queue-handlers[7076]: SKIP during call 'limit-out' handler

I've checked the DNS with mxtoolbox and everything checks out, here are the results.

Here is a screenshot from my nameserver provider: https://imgur.com/a/VaAn2

I've also run # plesk repair mail and # /usr/local/psa/admin/sbin/mchk but neither helped. I've done multiple removals of qmail, dovecot and roundcube and reinstalled them to no avail.

Does anybody have any clue at all how to fix this?

Sorry for the rant, thanks for listening! :)

EDIT: Added screenshot from domain hosts DNS panel.
 
Last edited:

Igor my dude, where have you been all my life? Your an absolute hero! Thank you :)

The issue is now fixed, if anyone finds this thread from google I'll summarise the fix from the other thread below:

If you cannot send or receive email from a domain that you have a webspace set up for in plesk, and that same domain is also the plesk "full hostname" found in Plesk > Tools & Settings > Server Settings, then change that full hostname to be a subdomain like s1.yourdomain.com (don't forget the corresponding DNS entry with your domain host). By doing this your problem will be solved.

My understanding is that basically the "full hostname" should be a unique fully qualified domain or sub domain only used by the plesk server. By using the standard domain "yourdomain.com" you create conflicts within plesk such as with qmail or postfix.
Hopefully I didn't elaborate on that too badly and it helps someone, thanks again Igor!
 
Back
Top