Bug 23686

Summary: /etc/aliases has parse error's, looses RHS addresses
Product: [Retired] Red Hat Linux Reporter: Robert M. Stockmann <stock>
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0CC: stock
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-17 19:44:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert M. Stockmann 2001-01-10 02:35:56 UTC
sendmail-8.11.0-8.i386.rpm uses /etc/aliases and /etc/aliases.db
to reroute email adresses. 

We noticed that sendmail doesn't parse /etc/aliases correctly , an example
:

G.W.Bush:	bush, grandpa

sometimes it workes ok, sometimes email sent to G.W.Bush only is
sent
to bush or only to grandpa. Sometimes even no email is 
sent to Mlocal. 

The behaviour , correct or faulty stays the same after /usr/bin/newaliases
is run.

Temporary solution :

remove the sendmail version included with redhat 7.0 :

rpm -e sendmail-8.11.0-8.i386.rpm \
	sendmail-cf-8.11.0-8.i386.rpm  sendmail-doc-8.11.0-8.i386.rpm

and use the sendmail rpm's from redhat 6.2 combined with 
compat-glibc-6.2-2.1.3.2.i386.rpm from redhat 7.0 :

rpm -Uhv compat-glibc-6.2-2.1.3.2.i386.rpm
compat-libstdc++-6.2-2.9.0.9.i386.rpm
rpm -Uhv sendmail-8.9.3-20.i386.rpm \
	sendmail-cf-8.9.3-20.i386.rpm sendmail-doc-8.9.3-20.i386.rpm

Comment 1 Henri Schlereth 2001-01-17 19:44:18 UTC
I thought /etc/aliases has the format:

localhost name:       localhost name, local@machine, local@FDQN

Anything else should be in things like generics or virtual-hosts.

Comment 2 Florian La Roche 2001-02-04 09:37:46 UTC
Yes, use names only on the LHS. Please also make sure you update
glibc to a newer errata version, so that everything runs smoothly.