Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few number of ubuntu pcs, whom I want to mail me some kind of log on daily basis. The problem is that these pcs have access only to the internal webmail (of my campus) and all I can find on google is info regarding sending mails to gmail accounts.
Please help me solve this problem.

share|improve this question

If your log uses syslog or rsyslogd, you could use "remote logging", and skip all the emails. Install the rsyslog-doc package, and look at file:///usr/share/doc/rsyslog-doc/html/rsyslog_reliable_forwarding.html

share|improve this answer

With the heirloom-mailx Install heirloom-mailx package installed, you get some SMTP-related options that aren't available with the "plain" bsd-mailx. The mailx application provided by heirloom-mailx can be instructed not to contact a local sendmail but a remote SMTP host.

If this works for you, you can put the set and other commands (e.g. authentication) into a ~/.mailrc or the /etc/mail.rc file to maintain the options at a central point.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.