#1  
Old 22nd March 2013, 20:02
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 222
Thanks: 44
Thanked 5 Times in 5 Posts
Default mail from root@server1

Mail Log:
What is this log is about, I don't have a mailbox root also I couldn't find a way of adding such mailbox.

My Server name is replaced by example.com


Code:
Mar 23 00:09:02 server1 postfix/qmgr[2615]: 9EC442100751: from=<root@server1.mywebsolutions.co.in>, size=1444, nrcpt=1 (queue active)
Mar 23 00:09:02 server1 amavis[12341]: (12341-08) Passed CLEAN, DKIM_ALWAYS <root@server1.mywebsolutions.co.in> -> <root@server1.mywebsolutions.co.in>, Message-ID: <20130322183902.07038210106B@server1.mywebsolutions.co.in>, mail_id: Jh1OpovA3-sW, Hits: -1.901, size: 907, queued_as: 9EC442100751, 649 ms
Mar 23 00:09:02 server1 postfix/smtp[17611]: 07038210106B: to=<root@server1.mywebsolutions.co.in>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.93, delays=0.27/0.01/0/0.65, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9EC442100751)
Mar 23 00:09:02 server1 postfix/qmgr[2615]: 07038210106B: removed
Mar 23 00:09:02 server1 postfix/local[17615]: 9EC442100751: to=<root@server1.mywebsolutions.co.in>, relay=local, delay=0.22, delays=0.14/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 23 00:09:02 server1 postfix/qmgr[2615]: 9EC442100751: removed
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2013, 20:16
hklcf hklcf is offline
Junior Member
 
Join Date: Mar 2013
Posts: 5
Thanks: 1
Thanked 3 Times in 3 Posts
Default

login ssh with your root account
# mail
Reply With Quote
The Following User Says Thank You to hklcf For This Useful Post:
Hairy (22nd March 2013)
  #3  
Old 24th March 2013, 00:06
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 222
Thanks: 44
Thanked 5 Times in 5 Posts
Default

I am not using SSH. is there no other way to check mails for root. for example forwarding these mails to another mail ID which can be accessed via webmail.
Reply With Quote
  #4  
Old 24th March 2013, 00:21
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 38
Thanked 90 Times in 68 Posts
Default

Hi,

You can edit /etc/aliases and add the alias:

Code:
root: email@domain.com
and run the command
Code:
newaliases
Cheers
Reply With Quote
The Following 2 Users Say Thank You to pititis For This Useful Post:
Hairy (24th March 2013), pawan (25th March 2013)
  #5  
Old 24th March 2013, 00:23
Hairy Hairy is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Location: USA
Posts: 57
Thanks: 6
Thanked 27 Times in 16 Posts
Default

Quote:
Originally Posted by pawan View Post
I am not using SSH. is there no other way to check mails for root. for example forwarding these mails to another mail ID which can be accessed via webmail.
Yes. If you are sitting in front of the computer, go to the command line, log in as root and type:
Code:
mail
I wouldn't want anyone being able to log into my server via a webmail application as root.
Reply With Quote
The Following User Says Thank You to Hairy For This Useful Post:
pawan (25th March 2013)
  #6  
Old 25th March 2013, 22:57
pawan pawan is offline
Senior Member
 
Join Date: Jul 2010
Posts: 222
Thanks: 44
Thanked 5 Times in 5 Posts
Default

Thanks Pititis & Hairy for your support.
Honestly I found the Pitis solution simpler.
I tried mail in the terminal, but I am getting the message that mail is not installed, do you want to install it.
Pititis
The alias to existing mail id is working fine, but how can I pull the existing mails in root to the aliased ID.
Reply With Quote
  #7  
Old 26th March 2013, 00:31
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 38
Thanked 90 Times in 68 Posts
Default

Try this, is a mbox to email script:

https://gist.github.com/wojdyr/1176398
Reply With Quote
  #8  
Old 26th March 2013, 01:30
Hairy Hairy is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Location: USA
Posts: 57
Thanks: 6
Thanked 27 Times in 16 Posts
Default

Quote:
Originally Posted by pawan View Post
Thanks Pititis & Hairy for your support.
Honestly I found the Pitis solution simpler.
I tried mail in the terminal, but I am getting the message that mail is not installed, do you want to install it.
Pititis
The alias to existing mail id is working fine, but how can I pull the existing mails in root to the aliased ID.
Just install it. It's a good program to have installed because you can check root's mail simply by typing
Code:
mail
That seems simpler than editing config files to me. That way, it also keeps root's email separate from your other email accounts.

To install it type:
Code:
yum install mail
or maybe you use apt-get install on your system. I don't know what your setup is.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail recipient linux_red Installation/Configuration 6 9th March 2012 14:24
Sendig mail Error fisherofer Installation/Configuration 12 30th November 2011 07:56
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16


All times are GMT +2. The time now is 13:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.