-- Cross posting from stackoverflow --
I'm new to qmail and I'm responsible for figuring out how the current mailservers are setup. I needed to add a user for firstname.lastname@example.org. There was a perl script at ~/addaccounts that reads an 'accounts' file to create accounts. I tried both that and using the vadduser script directly. They both created the /andrew/ directory and Maildir structure, but when I attempt to send an email, I get the following error:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 511 511 sorry, no mailbox here by that name (#5.1.1 - chkuser) (state 14).
That user is able to login to POP fine and logs say it was successful, but when an email is sent from any email account (Google was used here, but I've tried others), I get the above error.
Things I've tried:
- Restarting the qmail process
- Adding a user both from ~/addaccounts and vadduser (former uses the latter anyway)
- Create all the directories manually
- Used "telnet localhost 25" to attempt to send mail to email@example.com and got a "250 ok" message along with other emails that do not exist (set to bounce-no-mailbox I believe).
Any help is appreciated.