use /etc/aliases or /etc/mail/aliases?

Genes MailLists lists at sapience.com
Wed May 4 17:29:13 UTC 2011


On 05/04/2011 11:43 AM, Honza Horak wrote:
> Hi,
> 
> I just wonder what is the difference between /etc/aliases and 
> /etc/mail/aliases, if any. I guess /etc/aliases is only newer location 
> of the same file, am I right?
> 
> I'm thinking of this because ypserv uses /etc/mail/aliases by default, 
> but it seems to be obsolete (Fedora now uses /etc/aliases), see 
> https://bugzilla.redhat.com/show_bug.cgi?id=699826
> 
> Does anybody know the reason of the location change or do I miss something?
> 
> I'm tempting to change the default location in ypserv too, does anybody 
> see a problem with that?
> 
> Cheers,
> 
> Honza

  If I recall correctly - the old sendmail way was /etc/aliases - the
new sendmail way is /etc/mail/aliases .. as far as I know that has the
default for sendmail for some years.

  Perhaps its a desire to be backward compatible with the 1980's ... :-)

  /etc/aliases should probably be linked to /etc/mail/aliases if its
still needed.


More information about the devel mailing list