Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd September 2008, 11:59
mbunal mbunal is offline
Member
 
Join Date: Aug 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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

Last edited by mbunal; 8th September 2011 at 07:45.
Reply With Quote
Sponsored Links
  #2  
Old 24th September 2008, 17:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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

Take a look at
Code:
man procmailex
to see some procmail examples.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th September 2008, 08:38
mbunal mbunal is offline
Member
 
Join Date: Aug 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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

Last edited by mbunal; 8th September 2011 at 07:45.
Reply With Quote
  #4  
Old 26th September 2008, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

You can find out a user's home directory by taking a look at /etc/passwd.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th September 2008, 07:50
mbunal mbunal is offline
Member
 
Join Date: Aug 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default

it did not work.

my passwd looks like:

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

Last edited by mbunal; 8th September 2011 at 07:45.
Reply With Quote
  #6  
Old 28th September 2008, 13:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

vu7106's home directory is /var/www/chroot/virtual/exmaple.com, so you must place the .procmailrc file there.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
debian, forward, mail, procmail, vhcs2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 14:37.


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