<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi all,<BR><BR>I tried several times to change the aliases file, but it then seems not to update the "little db" that postfix uses (it continued sending the email to the previous configured account).<BR>So I gave up trying to make it work, and ended changing the script that make the thing (control_rancid).<BR><BR>I searched for :<BR>
<BR><SPAN lang=ES-AR>
# the receipient(s) of diffs<BR>
mailrcpt=${mailrcpt:-"@MAILPLUS@${GROUP}${MAILDOMAIN}"}; export mailrcpt<BR>
adminmailrcpt=${mailrcpt:-"@ADMINMAILPLUS@${GROUP}${MAILDOMAIN}"};<BR>
</SPAN> <BR>
<BR>
Then replaced @MAILPLUS@${GROUP}${MAILDOMAIN} with my desired email account, and I got it working. <BR>
<BR>
Hope this help you.<BR>
Regards.-<BR>
<BR>
Mario<BR><BR><BR> <BR>
<DIV>
<HR id=stopSpelling>
From: oglumavd@gmail.com<BR>To: michael6at@yahoo.de; rancid-discuss@shrubbery.net<BR>Date: Wed, 16 Nov 2011 22:37:38 -0800<BR>Subject: Re: [rancid] Rancid and Postfix<BR><BR>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass .ecxshape
{;}
</STYLE>
<STYLE>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph
{margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxshorttext
{;}
.ExternalClass span.ecxhps
{;}
.ExternalClass p.ecxyiv32738569msolistparagraph, .ExternalClass li.ecxyiv32738569msolistparagraph, .ExternalClass div.ecxyiv32738569msolistparagraph
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxyiv32738569msonormal, .ExternalClass li.ecxyiv32738569msonormal, .ExternalClass div.ecxyiv32738569msonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxyiv32738569msochpdefault, .ExternalClass li.ecxyiv32738569msochpdefault, .ExternalClass div.ecxyiv32738569msochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxyiv32738569msohyperlink
{;}
.ExternalClass span.ecxyiv32738569msohyperlinkfollowed
{;}
.ExternalClass span.ecxyiv32738569emailstyle17
{;}
.ExternalClass p.ecxyiv32738569msonormal1, .ExternalClass li.ecxyiv32738569msonormal1, .ExternalClass div.ecxyiv32738569msonormal1
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxyiv32738569msohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxyiv32738569msohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxyiv32738569msolistparagraph1, .ExternalClass li.ecxyiv32738569msolistparagraph1, .ExternalClass div.ecxyiv32738569msolistparagraph1
{margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxyiv32738569emailstyle171
{font-family:"Arial","sans-serif";color:#1F497D;}
.ExternalClass p.ecxyiv32738569msochpdefault1, .ExternalClass li.ecxyiv32738569msochpdefault1, .ExternalClass div.ecxyiv32738569msochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxBalloonTextChar
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxEmailStyle33
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
.ExternalClass ol
{margin-bottom:0in;}
.ExternalClass ul
{margin-bottom:0in;}
</STYLE>
<DIV class=ecxWordSection1>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Have you tried to watch log mail logs?</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Delete /home/rancid/logs/</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Tail /var/logs/mail</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Open another terminal window and ssh/telnet into your rancid box</SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P style="TEXT-INDENT: -0.25in" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: Wingdings; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>Ø<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Add a new device or make a change to device then run rancid manual</SPAN></P>
<P style="TEXT-INDENT: -0.25in" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: Wingdings; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>Ø<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Rancid will trigger an email alert</SPAN></P>
<P style="TEXT-INDENT: -0.25in" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: Wingdings; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>Ø<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Watch mail logs</SPAN></P>
<P style="TEXT-INDENT: -0.25in" class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: Wingdings; COLOR: #1f497d; FONT-SIZE: 11pt"><SPAN>Ø<SPAN style="FONT: 7pt 'Times New Roman'"> </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Watch /home/rancid/logs/the-recentlog</SPAN></P>
<P class=ecxMsoListParagraph><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<P class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN></P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> michael schnatterer [mailto:michael6at@yahoo.de] <BR><B>Sent:</B> Wednesday, November 16, 2011 12:28 AM<BR><B>To:</B> oglumavd@gmail.com; rancid-discuss@shrubbery.net<BR><B>Subject:</B> Re: [rancid] Rancid and Postfix</SPAN></P></DIV></DIV>
<P class=ecxMsoNormal> </P>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">HY,</SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">My Problem is not to send the E-Mail this works fine with the console "telnet localhost 25" i believe the problem is the communication between Rancid and postfix. I think postfix didn't recognize that Rancid is doing something.</SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">My postfix/main.cf looks like the following:</SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">myhostname = my hostname<BR>alias_maps = hash:/etc/aliases<BR>alias_database = hash:/etc/aliases<BR>myorigin = /etc/mailname<BR>mydestination = IP of the E-Mail server,localhost<BR>mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128<BR>mailbox_size_limit = 10<BR>recipient_delimiter = +<BR>default_destination_concurrency_limit = 100<BR>relayhost = IP of the E-Mail Server<BR>empty_address_recipient = My E-Mail</SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">As you can see i have an relay host.</SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">Please help me i am realy </SPAN><SPAN class=ecxhps><SPAN style="COLOR: black" lang=EN>desperately.</SPAN></SPAN><SPAN style="COLOR: black"></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"><BR><BR></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN class=ecxhps><SPAN style="COLOR: black" lang=EN>Best Regards</SPAN></SPAN><SPAN style="COLOR: black" lang=EN><BR><BR></SPAN><SPAN style="COLOR: black"></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV>
<DIV>
<DIV>
<DIV style="TEXT-ALIGN: center; BACKGROUND: white" class=ecxMsoNormal align=center><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">
<HR align=center SIZE=1 width="100%">
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt; BACKGROUND: white" class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">Von:</SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt"> "<A href="mailto:oglumavd@gmail.com">oglumavd@gmail.com</A>" <<A href="mailto:oglumavd@gmail.com">oglumavd@gmail.com</A>><BR><B>An:</B> 'michael schnatterer' <<A href="mailto:michael6at@yahoo.de">michael6at@yahoo.de</A>>; <A href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</A><BR><B>Gesendet:</B> 9:12 Mittwoch, 16.November 2011 <BR><B>Betreff:</B> RE: [rancid] Rancid and Postfix</SPAN><SPAN style="COLOR: black"></SPAN></P>
<DIV id=ecxyiv32738569>
<DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Any changes on email server or aliases? </SPAN><SPAN style="COLOR: black"></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Are you using relayhost, check vi /etc/postfix/main.cf and make sure admins are not blocking smtp-relay.</SPAN><SPAN style="COLOR: black"></SPAN></P></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"> </SPAN><SPAN style="COLOR: black"></SPAN></P></DIV>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 10pt"> <A href="mailto:rancid-discuss-bounces@shrubbery.net">rancid-discuss-bounces@shrubbery.net</A> <A href="mailto:[mailto:rancid-discuss-bounces@shrubbery.net]">[mailto:rancid-discuss-bounces@shrubbery.net]</A> <B>On Behalf Of </B>michael schnatterer<BR><B>Sent:</B> Tuesday, November 15, 2011 2:19 AM<BR><B>To:</B> <A href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</A><BR><B>Subject:</B> [rancid] Rancid and Postfix</SPAN><SPAN style="COLOR: black"></SPAN></P></DIV></DIV></DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV>
<DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">Hey every body,</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">I have a maybe simple problem.</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">I have installed an configured Rancid 1 year ago, everything runs fine and Rancid backups every config change.</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">Now i would configure Rancid to send E-Mails with postfix.</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">I installed postfix and configure it. With telnet localhost 25 i could send E-Mails maually.</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">But now i have to configure aliases but i don't understand it. I have installed and configured Rancid like in this Tutorial. <A href="http://openmaniak.com/rancid_tutorial.php" target=_blank>http://openmaniak.com/rancid_tutorial.php</A></SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">Please help me to define Aliases i hav tried it with:</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">rancid-Grp Name: MY EMAIL ADDRESS</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">rancid-admin-GrpName: MY EMAIL ADDRESS</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">But nothing happens.</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">I hope somebody could help me</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">THANKS !</SPAN></P></DIV></DIV>
<DIV>
<DIV>
<P style="BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black">Best Regards</SPAN></P></DIV></DIV></DIV></DIV></DIV></DIV>
<P style="MARGIN-BOTTOM: 12pt; BACKGROUND: white" class=ecxMsoNormal><SPAN style="COLOR: black"> </SPAN></P></DIV></DIV></DIV></DIV><BR>_______________________________________________ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</DIV>                                            </div></body>
</html>