The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to forward mail in /var/mail/username to external mail unitipon SUN Solaris 2 05-27-2008 01:20 AM
AIX printer filter blacksm AIX 4 08-29-2007 05:58 AM
Filter using awk arun_st UNIX for Dummies Questions & Answers 3 03-21-2007 08:20 AM
Filter passwd Topsurfer Shell Programming and Scripting 11 01-05-2005 03:42 AM
mail filter Kelam_Magnus Shell Programming and Scripting 13 01-25-2002 02:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 11-13-2004
collins's Avatar
collins collins is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 43
Question Mail Filter

hai friends.

How can i filter the incoming mails to an individual folder.. I am using sendmail.

Thanks in advance
Collins
  #2 (permalink)  
Old 11-14-2004
AbEnd AbEnd is offline
Registered User
  
 

Join Date: Sep 2003
Location: Canada
Posts: 56
filter?
  #3 (permalink)  
Old 11-15-2004
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
http://userpages.umbc.edu/~ian/procmail.html

The above link is useful ; It is descibing how to use 'procmail'
which does filtering which u are looking for ;

I do n't have a chance to work on that as i don't have procmail in my system;
  #4 (permalink)  
Old 11-15-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
You can also use /etc/aliases (or /etc/mail/aliases) to specify aliases (as you'd expect!) that will redirect mail to "other" users mailboxes with sendmail. After any edits to the alias file, run newaliases. If you want to temporarily redirect a users e-mails, put a .forward file in their home directory containing the redirect email address.

This is all dependent on what your definition is of "filtering".

Cheers
ZB
  #5 (permalink)  
Old 11-16-2004
collins's Avatar
collins collins is offline
Registered User
  
 

Join Date: Aug 2004
Posts: 43
Sorry Guys....

Thanks for your responses.

Sorry I could not understand u'r answers... Let me explain you my complete need. I have a remove server. Let me consider that i have two mail accounts in it say,

a@myserver.com
b@myserver.com

I have created mail directories like yahoo for a@myserver.com and hotmail for b@myserver.com...

My need is that when-ever a@myserver.com gets mail from yahoo, it has to be directly delivered to yahoo folder in a@myserver.com. If b@myserver.com gets mail from hotmail it has to be directly delivered to hotmail folder in b@myserver.com and all the other mail of the respective users can be delivered to Inbox folder....

How should i do that and where can i configure these settings...

Thanks in advance
Collins
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0