Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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 smtp=smtp.xyz.tld 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

 
discard

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.