Adding a mail forward to a Linux user

To create a mail forward for a Linux user to e.g. a Gmail address, one must do the following:

  • make a WinSCP connection to the Linux server
  • go to the home folder of the user (/home/username)
  • create a new file with the name '.forward'
  • use the following syntax:
    username@domain.com
    ~/Maildir/