Operating System - HP-UX
1752555 Members
5094 Online
108788 Solutions
New Discussion

export userid and .forward

 
Intothenewworld
Advisor

export userid and .forward

I would like to check if all .forward of each user is correct or not , can advise if I want to export all the .forward for all user to a file ( corresponding to user id ) , what can i do ? Thanks.

The output file like below .

userid   .forward
=======  ========
user1      user1@domain.com
user2      user2@domain.com
user3      user3@domain.com
"  "

1 REPLY 1
Bill Hassell
Honored Contributor

Re: export userid and .forward

Each .forward file would contain just the destination address. So your format is correct. Technically, a .forward file can contain anything you would find in the /etc/mail/aliases following the ":" character (including a filename or a program). Here's a quick reference link:


http://www.feep.net/sendmail/tutorial/intro/forward.html

 



Bill Hassell, sysadmin