Stephen Carville wrote: > For some reason, my /etc/aliases file is not applied. For example I > have the entry > > root: [email protected] > > $ postmap -q root hash:/etc/aliases > [email protected] > > However, if I send a mail to root > > $ mail -s "Test VIV" root <tm > Sent as unqualified. > My configuration: > We prefer 'postconf -n' for a reason. It makes for a much shorter email > local_recipient_maps = proxy:unix:passwd.byname $alias_maps > mydestination = $myhostname, localhost.$mydomain, localhost > mydomain = lereta.com > myhostname = scaciio01.lereta.com > myorigin = $mydomain When unqualified domains are given to postfix from the sendmail(1) command, myorigin is appended. Your myorigin is not in mydestination so it relays to wherever lereta.com normally goes. alias_maps are only applied to items delivered using local(8) delivery agent. local(8) delivers to destinations located in mydestination.
Brian
