Discussion:
[rancid] Aliases and wildcards
i***@ctbc.com.br
2009-12-11 11:49:28 UTC
Permalink
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Hello!</DIV><DIV>&nbsp;</DIV><DIV>I would just like to know if&nbsp;its possible to use wildcards in the&nbsp;"aliases" file&nbsp;or if I can set an e-mail that will receive mail from all groups. What I intended to do was something like this:</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff># rancid/etc/aliases</FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff>rancid-admin-*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A href="mailto:***@mail.com" target=blank><FONT color=#0000ff>***@mail.com</FONT></A></DIV><DIV><FONT color=#0000ff>rancid-*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A href="mailto:***@mail.com" target=blank><FONT color=#0000ff>***@mail.com</FONT></A><BR></DIV><DIV>Any help would be appreciated.</DIV><DIV>&nbsp;</DIV><DIV>Thank you very much for your time.</DIV><DIV><FONT size=2 face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"></FONT>&nbsp;</DIV><DIV><FONT size=2 face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">Best regards,</FONT></DIV><DIV><FONT size=2 face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif">&nbsp;</DIV><DIV><P style="MARGIN: 0px">Isabelle.</FONT><BR></P></DIV></FONT>
Konstantin Yudayev
2009-12-11 16:34:40 UTC
Permalink
Isabelle,

I don't think it is possible to use wildcards in /etc/aliases since the
username is being looked up by getpwname system function. But it can be
done through patching bin/control_rancid.
Post by i***@ctbc.com.br
Hello!
I would just like to know if its possible to use wildcards in
the "aliases" file or if I can set an e-mail that will receive mail
# rancid/etc/aliases
Any help would be appreciated.
Thank you very much for your time.
Best regards,
Isabelle.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Chris Gauthier
2009-12-11 17:32:01 UTC
Permalink
To the best of my knowledge, you’re mixing apples and oranges there. Rancid does not actually control /etc/aliases at all. The ‘aliases’ file is used by your MTA (sendmail, postfix, et al) to provide specific direction for various email addresses on the system. All rancid does is append the rancid group name to either the ‘rancid-‘ or ‘rancid-admin-‘ string and use standard mailing calls to whatever MTA is running. The MTA is what governs the format of the /etc/aliases file.



Chris Gauthier

Network Administrator

MaPS Credit Union

v: 503.375.2445

f: 503.779.1083

http://www.mapscu.com





“For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return.”

—Leonardo da Vinci



From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Konstantin Yudayev
Sent: Friday, December 11, 2009 8:35 AM
To: rancid-***@shrubbery.net
Subject: [rancid] Re: Aliases and wildcards



Isabelle,

I don't think it is possible to use wildcards in /etc/aliases since the username is being looked up by getpwname system function. But it can be done through patching bin/control_rancid.

On Fri, 2009-12-11 at 08:49 -0300, ***@ctbc.com.br wrote:

Hello!



I would just like to know if its possible to use wildcards in the "aliases" file or if I can set an e-mail that will receive mail from all groups. What I intended to do was something like this:



# rancid/etc/aliases



rancid-admin-* ***@mail.com

rancid-* ***@mail.com

Any help would be appreciated.



Thank you very much for your time.



Best regards,



Isabelle.





_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

Loading...