Hello,<br><br>thank you for your answer Brian.<br><br>The solution I found is to create an alias using virtual_alias_maps (I define my alias from my LDAP server).<br>It works great and it didn't take much time !<br><br>
John, postfix is simple there is no issue with that. SSMTP is just doing what I am expecting from him (sending mail), so that's perfect.<br><br>Regards,<br><br>Hugo <br><br><br><br><div class="gmail_quote">On 11 July 2011 21:07, Brian De Wolf <span dir="ltr"><<a href="mailto:bldewolf@csupomona.edu" target="_blank">bldewolf@csupomona.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>On Mon, 11 Jul 2011 05:56:22 -0700<br>
Hugo Deprez <<a href="mailto:hugo.deprez@gmail.com" target="_blank">hugo.deprez@gmail.com</a>> wrote:<br>
<br>
> Hello,<br>
><br>
> I am trying to setup e-mail notification for rancid.<br>
> I am currently using rancid 2.3.6 on Debian.<br>
><br>
> On the server we are using SSMTP to send mail notification.<br>
><br>
> My problem is that SSMTP does not support aliases.<br>
><br>
> Is there a way to configure mail notification for rancid with ssmtp ?<br>
<br>
</div></div>I ran into this same problem (the lack of configurable recipients) when<br>
I rolled out RANCID. Instead of fiddling with my mail config, I<br>
patched RANCID to be configurable. I have attached the patch I made,<br>
adjusted for 2.3.6.<br>
<br>
Two caveats with this patch, now that I review it (it's been a while):<br>
1) It restricts group names to valid environment variable names. This<br>
bit me when I first used it because I was using dashes.<br>
2) It uses bashisms in control_rancid, so the shebang should probably<br>
be /bin/bash or the "${!var}" expressions should be converted to<br>
something like "$(eval "echo\$${var}")".<br>
<br>
Good luck!</blockquote></div><br>