HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   vhcs2 debian etch procmail mail forward (http://www.howtoforge.com/forums/showthread.php?t=27053)

mbunal 23rd September 2008 11:59

vhcs2 debian etch procmail mail forward
 
hi all

How can I forward a message but still leave a copy on the server?

i must use .procmailrc file:

Code:

        :0c
        ! self@other-place.net

but where i create that file and what is other parameters for vhcs?

can u help me?

cherss,
Baris.
________
Wiki Vaporizer

falko 24th September 2008 17:32

You must create it in the user's home directory.

Take a look at
Code:

man procmailex
to see some procmail examples.

mbunal 25th September 2008 08:38

please tell me, where is the user's home directory for vhcs2?
________
Vaporizer Volcano

falko 26th September 2008 16:24

You can find out a user's home directory by taking a look at /etc/passwd.

mbunal 27th September 2008 07:50

it did not work.

my passwd looks like:

vu7106:x:7106:7106:virtual-user:/var/www/chroot/virtual/exmaple.com:/bin/false
________
RubieROSE

falko 28th September 2008 13:33

vu7106's home directory is /var/www/chroot/virtual/exmaple.com, so you must place the .procmailrc file there.


All times are GMT +2. The time now is 06:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.