Okie - Sorry for the confusion. Will try explaining again - hope the picture gets clearer now.
My intent - I am trying to add a new userid to an existing alias in .mailrc.
Overview:-
There are scripts (that send mails to groups defined in .mailrc) cronned on a unix box - these scripts run from a user(for e.g:- abcd). I switched user (sudo su - abcd) to abcd and then updated the .mailrc to add a new email id as below:
Original .mailrc content:-
#
alias amigos
john@abc.com
#
Updated .mailrc to:-
#
alias amigos
john@abc.com sally@abc.com
#
Earlier only john received mails sent through these scripts.
Problem:- Post the update even Sally should have received them. She is not receiving the mails sent out by these scripts running as abcd user on the unix box. Any idea why?
Thanks - Let me know if the issue is still unclear.