[Bucardo-general] Email notifications

Greg Sabino Mullane greg at endpoint.com
Thu Aug 7 13:31:46 UTC 2014


On Thu, Aug 07, 2014 at 12:54:57PM +0200, support at vip-consult.co.uk wrote:
> Hi all
> how do you setup the email notifications ?
> 
> I have added the to and form email in the config variables. 
> then I triggered a fail , but didn’t receive any email notifications.

Turn the "sendmail" parameter on. The easiest way is to set this inside 
of your .bucardorc file:

$ cat >> ~/.bucardorc
sendmail: 1

Also note that I just fixed a sendmail bug in 
git commit 24f6e6f11fe311b40343fda57acc76d5d4f6d214, so if after enabling 
sendmail you find Bucardo dying right away, apply the patch from 
that commit. Which is simply:

--- a/Bucardo.pm
+++ b/Bucardo.pm
@@ -9915,7 +9915,7 @@ sub send_mail {
     return if ! $self->{sendmail} and ! $self->{sendmail_file};
 
     ## Hashref of args
-    my $arg = @_;
+    my $arg = shift;
 

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20140807/e89d9a61/attachment.sig>


More information about the Bucardo-general mailing list