cancel
Showing results for 
Search instead for 
Did you mean: 

export userid and .forward

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
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