System @root - emails

Mark_S

Verified User
Joined
Sep 14, 2006
Messages
67
Hi and thanks for any help / advice.

Direct Admin 1.29.7

Problem
When the system sends out a e-mail about a service its sent from and too [email protected] so there appearing in the Mail Queue Administration

Example e-mail content
1HrmXg-0001B9-ST-D

################### LogWatch 5.2.2 (06/23/04) ####################

History
I have a had a few qwerks with this re-install not going to plan, but i followed the set up sheet and it all seems to be going well. http://www.directadmin.com/newinstall.html

Administration Settings : i did change this to server.mydomain.com as my Admin-User account has the mydomain.com domain already.
Previously i messed up and this said local.host.com (Does not exist) and prevented the main account e-mails not to work.

Now those sys generated e-mails are being sent to [email protected] and can be found in the Mail Queue Administration and i guess this is because there is no [email protected] e-mails address.

Confusion : - Your help please.
This is where i personally get confused?
As i have set up the Administrator Settings as described, but i feel that i have to create an account now called server.mydomain.com or do i now change the Administrator Settings "Server's Hostname" to an existing domain on in my account?

Summary -
System Generated e-mails are being sent to [email protected]
These are being collected in the Mail Que Administration.
What / where have i done / set wrong?


Hopefully its just an oversight on my part.
Thanks for any help or advice ;)
 
Thanks smtalk,
but i'm unfortunatly another newbie.

Could you expand on the above reply please?
Is it a common mistake or just me?
 
Humm its still doing it,

smtalk, i havnt tried your method yet, because when i do a search ssh

/root
i cant see a file or anything called forward ??

Centos 4.4

Thanks for any help ;)
 
okay will try that now,
just i'm wary (No disrespect) to command line prompts.
Previously its cost me a server :(

Not via these forums, just learning
 
Now ive ran the above i now have the file .forward ;)
and it has my e-mail address in that file now.

So is that somthing that ive missed during set up as i didnt do that on my last install ?

Just trying to understand how or why it may have happened.

Thanks Mark.
 
I have never had to set up the .forward file but I am also having a hard time understanding your problem. Normally root's email would be forwarded to another email address via the aliases file.
 
I changed the Ticket Management e-mail to mine, previously it listed the root@e-mail being bounced into the Mail Que.

Is there a way i can invoke a system e-mail to be generated?
to test if all is well ?

(Ive pretty much had a re-install from hell from my data centre, but as problems have been found they have fixed them. The last problem was the account generated e-mail address was not recievening e-mails. I resolved this by a search and ammended the "Administrator Settings" from [email protected] to server.mydomain.co.uk
And then they begain to work.

Then i noticed system e-mails being collected in the Mail Que Administror ?
And its then i noticed the address as being [email protected]
And that's when i posted it.)

I was thinking that in the Administrator settings if i changed the "Host Server Name" to my Admin-user Domain will it cause problems?
As i'm sure by hook or crook - first time around this happened.

Is there away to invoke a system e-mail so i can check if the .forward is working or there being sent to the mail que ???

Thanks as always.
 
The hostname should not be one of your domains. It should be a subdomain like server.mydomain.co.uk

Send a test email from the command line:

Code:
echo "test" | mail -s test [email protected]

if server.mydomain.co.uk is the hostname.
 
Back
Top