email notification on backup process!
hi i am very new to linux/unix kind of environment . i am using rhel and i am trying to take the backup of file system(some directory) with rsync tool.can anyone help me how to send the email notification whenever the backup of some directories are taken by both manual and automated process.
|
Hello,
You can use simple redirection to send you a mail if your server is configured correctly. For example: Code:
rsync --your-parameters | mail your_mail_address@domain.com Kind regards, Eric |
thank you
thank you eric
is there any documentationm available for configuring the server/linux system to send the mails . as i am new to linux not able to do that work by the docs available on internet. can you provide any documentation which will help me to configure system to send the mails also can we send the mails to gmail or yahoo domains ? form our linux system ? |
Hello,
There's a lot of documentation available on the internet, it all depends on what exactly you want to do. If you want to send mails to your GMail or Yahoo account then that might be a bit difficult. AFAIK both providers don't allow relaying emails from servers using a dynamic IP but you could try. Just search Google for: relay mail to GMail and see if one of the solutions work for you. Kind regards, Eric |
thanks
hi eric i will check about gamil notifications.
can you tell me the prerequisites for sending mails to same domain smtp server is required ? i am using rhel 5 version. |
Yes -- an SMTP server. Usually exim, postfix or sendmail. postfix was designed to be an easier-to-use drop-in replacement for sendmail.
Google's SMTP service accepts mail on port 587 when the from address is the authenticating user. This is working regularly for us using the Googlemail service (as opposed to GMail). Gmail may be the same. |
thanks
hi can you elaborate more on the google mails you are talking about ?
is it easier to send mails from linux system to gmail/google ids ? as i am new to linux more details will be much helpful(documentations/links)! thank you |
All times are GMT -5. The time now is 03:24 PM. |