[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] How can I set up email forwarding so the forwarding address and the user both get a copy of the email?



An easier way using FTP instead of Telnet is as follows which does the same
thing, but requires a collection and forwarding POP account setup...

1. Create a user of forwarder1 with the aliases that you wish to be
collected and copies forwarded on for.
2. Create a user of USERS-NAME (etc)
3. Go into the Web folder for the user 'forwarder1'
(/home/sites/sitexxx/users/forwarder1/web) and create the .forward file
along lines of: USERS-NAME@xxxxxxxxxx, 2ndname@xxxxxxxxxxx (the .forward
file can be created on your local machine and then uploaded to the server as
an ASCII file. To see . files which are normally hidden, add the -la command
into your FTP client remote mask field).
4. CHMOD the file (not sure what), but it is outside normal public_html
area, so 777 (correct me if wrong) should be okay.

Now all emails sent to aliases set up within forwarder1 account will be sent
onto USERS-NAME@xxxxxxxxxx within your own raq and POP provided account,
with another copy being sent onto 2ndname@xxxxxxxxxxx (inside or outside of
your Raq).

Hope this helps and prevents having to use Telnet and all that pico
stuff....


Ian

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Chan YS
Sent: 13 December 2001 12:17
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] How can I set up email forwarding so the
forwarding address and the user both get a copy of the email?


Hi,

I got this solution for the following problems, but its no very clear to me
on how should I go about doing it, especially the 'user directory' portion.

How can I set up email forwarding so the forwarding address and the user
both get a copy of the email?

One way to do this is to create a ".forward" file in the directory for a
user. Follow these steps:

Telnet to the server as admin and su to root. (This part I dont have any
problems)

cd into the user directory that the file is going to be created under. (I
have no idea which directory or path should I type for this)

Create a file called .forward The contents should be similar to the
following: (I think pico should help)
\user1@xxxxxxxxxx, user2@xxxxxxxxxx
The backslash says to forward the mail to the user ignoring the forward file
or any other aliases. So it would get put in the user's normal mailbox and
another copy forwarded to the other host.

Restart sendmail and the email forwarding should work.



Thank for your kind attention.





_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users