TurnKey Linux Virtual Appliance Library

How to read root mail on Trac appliance

David Killingsworth's picture

I have several questions regarding reading mail.

1) I have a trac appliance.  The only Ubuntu user is "root" and I would like to read the mail.  With the Webmin theme that TKL uses, I don't see the icon to "read user mail" either on the Postfix module page, or on the root user's page.

On the default Webmin theme, there is an icon in both locations for reading user mail.

2) If this is not available, how can I read user mail from a SSH session without installing anything?  I tried "pine" and "mail" and neither are installed.

3) I have found a bunch of mail messages that are in the mail queue, unable to be delivered.  These are messages about the TKL backup, which are not able to be delivered to root because connection to the server itself is refused on port 25.  It's not trying to deliver to localhost, it's trying to deliver to my server name.

I would like to figure out A) why the server can't deliver messages to itself. and B) how can I add an additional email address other than localhost:root so that I can make sure an get a copy of the email.

I've just checked my security group and port 25 is not allowed for inbound traffic, but the security group was automatically generated with necessary ports by the TKL Hub, if I remember correctly.  Even so, shouldn't mail be able to be routed to localhost from the server itself?

Any help is appreciated.

Mutt will let you read

Mutt will let you read mail.

apt-get install mutt

and run mutt.

Also using installing nullmailer instead of postfix and setup nullmailer to forward all mail to you via an smtp relay is a good idea.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)