[rancid] Re: Aliases and wildcards

Chris Gauthier cgauthier at mapscu.com
Fri Dec 11 17:32:01 UTC 2009

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




“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-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Konstantin Yudayev
Sent: Friday, December 11, 2009 8:35 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] Re: Aliases and wildcards



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, isabelle at ctbc.com.br wrote: 



	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 at mail.com 

	rancid-*                 mail at mail.com

	Any help would be appreciated. 


	Thank you very much for your time. 


	Best regards, 



	Rancid-discuss mailing list
	Rancid-discuss at shrubbery.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091211/a9a5dfea/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 497 bytes
Desc: image001.gif
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20091211/a9a5dfea/attachment.gif 

More information about the Rancid-discuss mailing list