LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2001, 09:33 AM   #1
drudnev
LQ Newbie
 
Registered: May 2001
Posts: 4

Rep: Reputation: 0
Question


Hey I have been looking for the script that you can forward emails to a diferent address from you linux box.

For example email root@yourhost.com will be forwarded to
user@domain.com

I heard people talking about .forward file ??? What is it and where do you get it? After you get it where do you put it and do you need to do any thing else?
Can you filter through the email and only forward the ones that match critirial for example I only want my server to forward all the emails except specificuser@domain.com


Sorry I'm kinda new to linux.

Any Help is Apriciated.
 
Old 05-30-2001, 12:26 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
The .forward files only do simple forwarding (that I know of). You literally create a file called .forward in the users home directory that contains the address you wish to forward the email to. I don't think you need to change any specical settings anywhere to get it to work.

I'm not sure the best way to filter on rules, I'm sure there will be someway to get sendmail to do it!

HTH

Jamie...
 
Old 05-30-2001, 10:22 PM   #3
drudnev
LQ Newbie
 
Registered: May 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah I was looking through man pages for procmail it mentions the rules you can filter email, I'm just confused on how does that file get called, Can anyone help
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forwarding email Boffy Linux - General 2 03-18-2005 08:43 AM
EMail forwarding Brother Michael Debian 2 05-13-2004 08:19 AM
Forwarding Email sw1tchb0ard Linux - Newbie 1 10-26-2003 06:28 PM
email forwarding sk8guitar Programming 5 08-19-2003 01:44 PM
Email Forwarding Nezar Linux - Networking 2 06-12-2001 01:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration