main email account being rejected

lnguyen

Verified User
Joined
Apr 8, 2004
Messages
76
I'm having a problem with users emails being rejected. Email is fine to any created account.. EXCEPT, the main user account.

IE, user dauser, w/ domain myowndomain.com, has a default email account of [email protected] (DA generated). All mail to this address is getting bounced back w/ this message:

host myowndomain.com[IP ADDRESS] said: 550 (in reply
to RCPT TO command)

All mail to any other create account, is fine though, it's just the addresses linked w/ the DA User names.

Anyone have any ideas?

Linh
 
I should add, trying to send email to a main user account from another account on the server, results in this message from squirrelmail:

Server replied: 550 Verification failed


I know every domain is suppose to have a passwd file, but is it suppose to be empty?
 
If the domain has no other email users besides the domain owner, then yes, the passwd file should be empty.

Is there an entry for the site owner in /etc/passwd, in /etc/group, in /etc/shadow?

Have you tried changing the password, either through DA or by using the linux passwd command?

Jeff
 
Interesting. I have a user that had the same problem. He was using a forwarder to froward the mail from his main user account to a gmail account. After he found that he didn't like how gmail was handling attachments he removed the forwarder. Then all of his email was getting bounced.

550 error just like yours.

My solution on a hunch was to create a forwarder again for the account but to just forward it to itself. This amazingly solved the problem. Although I really don't have a reason why it happened or why the solution worked.

Give it a try?:confused:
 
what happens, as I found, is that by default, everything that isn't defined, is bounced.

when you create an account, the following rules are made in your aliases file,

user: user
:fail: *

well, I forget what the fail line is exactly, but you get the idea. when you create a forwarder, the first line will go to

user: [email protected]

when you delete it, it doesn't revert back to the user: user definition, so it won't exist, and it will fail.

That's pretty much what I gathered anyway, if my explanation was clear enough
 
Great find!

This actually is a bug then that should be addressed by Direct Admin. It shouldn't be too difficult to fix.
Right John? :D
 
Hello,

That would usually be caused by an incorrect hostname setup.
Note that the hostname must not match any domain you use.
Example, hostname.domain.com is ok to use for a hostname.
However, just domain.com cannot be used for a hostname. The reason is that the system accounts are not actually on the domain, they're on the hostname. If your hostname it the same as a used domain in DA, then any email sent to a system account will end up likely in the default :fail: that DA uses for a domain.

We have a general how-to setup guide/checklist here:
http://help.directadmin.com/item.php?id=16

John
 
Back
Top