>> 2. sendmail
>> -----------
>> sendmail is not configured on my system:
>> sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
>> It seems a big requirement needing to configure sendmail just for sending 
>> mail from a shell script.
>> 
>> There's a dead simple to use alternative: sendemail 
>> (http://caspian.dotconf.net/menu/Software/SendEmail/).
>> It's perl-based but requires no other modules, hence runs off the
>> cuff. It supports everything required by lbackup including attaching files, 
>> yet in a simpler way (e.g. no need to base64-encode attachments "manually").
>> 
>> Replacing sendmail with sendemail would also rid us of the missing md5 
>> problem (1. above). If anyone's interested I could provide patches.
> 
> LBackup has a feature to use custom per backup configuration mail templates.
> 
> Within your mail configuration file enable the custom mail template. See 
> below for
> an example of the section of the mail configuration file.
> 
>  # Search for custom mail templates directory "message_templates" and files.
>  # This feature is experimental and may be altered or removed in a future
>  # release. Finally, enabling this feature has the potential to 
>  # significantly reduce the reliability of email reporting.
>  enableCustomMailTemplates="YES"
> 
> Next create a 'message_templates' directory within your LBackup configuration 
> directory and as a starting point copy the 
> /usr/local/libexec/lbackup/message_templates/ into this directory. From here 
> you may replace send mail with sendemail and even if you update LBackup you 
> will keep using your mail template which may be configured to use sendemail. 
> The idea behind the ability to enable custom mail templates is that you can 
> use which every system you like for email delivery.
> 
> Another option if you have access SSH access to a system with send mail 
> compatible server installed and configured is to enable SSH email delivery 
> via a remote system. This configuration is also made within the mail 
> configuration file. Below are the relevant settings from the 
> example_mail.conf file.
> 
>  # Specify the mail system : available options : "SSH", "LOCAL"
>  mailsystem="SSH"
> 
>  # SSH Settings - only required if you have selected SSH mail system
>  sshUser="mail"
>  sshServer="192.168.0.1"
> 
> Certainly, a possibility for the future is to add another option within lmail 
> which will allow you to call sendemail for the mailsystem. This would mean 
> that there could be something like the following within the example_mail.conf 
> :
> 
>  # Specify the mail system : available options : "SSH", "LOCAL", "sendemail"
> 
> This is not implemented. However it is a possibility. No one has yet 
> mentioned an issue with using a local mail system / SSH mail system. However, 
> I understand that having this other option built-in could be useful for some 
> situations.

Many modern operating systems have a sendmail (or compatible mail system such 
as postfix / exim) pre-installed. Many if they do not have such a system 
pre-installed offer an easy way to install and configure the email system. If 
the custom mail template option is sufficient and you managed to get sendemail 
working then that is great. Please consider contributing your email template 
scripts to the LBackup project and user community.

As previously mentioned any contributions to enable sendemail support directly 
from lmail would be most warmly welcomed.

I trust that everything with your LBackup installation is working well. LBackup 
monitoring and reporting options extend well beyond just email reporting. If 
you are configuring multiple backups on a system then I would suggest having a 
look at the following link, which provides information regarding the monitoring 
of multiple backups. This aspect of LBackup is still under development and as 
such contributions to this aspect of the LBackup project are also warmly 
welcomed : http://www.lbackup.org/monitoring_multiple_backup_logs

Thank you.





_______________________________________________
lbackup-discussion mailing list
http://www.lbackup.org

Change options or unsubscribe :
http://lbackup.org/mailing_lists

Reply via email to