:)
Mailinglist is mixed: e-mails and aliases. So I wanted the script to look up what e-mail is for alias in mailinglist from /etc/aliases and replace the alias with e-mail.
Thanks,
tekiila
Hey!
Cant just grep because there are different people in different lists. etc/aliases contains everyone, those too who arent in any mailinglists.
Like I said before: I have 2 files:
1. /etc/aliases/ which contains adresses and aliases like that:
john.smith@asd.com john
mary.smith@asd.com...
Hey!
I'm new to scripting so I hope You can help.
I have /etc/aliases file where are e-mails and aliases, for example:
john.smith@asd.com john
mary.smith@asd.com msmith
And I have e-mail list with people in that list as a file. The problem is that aliases and e-mails are mixed. Like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.