LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 10-10-2007, 01:01 AM   #1
susantha.bandara
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Lightbulb Sendmail SMTP Tracking


Dear all

Im using Semdmail 8.13.1
I want to forward some selected outgoing mails to a special mail account
if subject = CV,Jobs, Application etc..

this is very help ful
thanks
 
Old 10-10-2007, 01:22 AM   #2
vedang
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
Smile mail forwarding with Subject field.

Actually it is very simple to do.

First confirm if procmail package is installed. If not install it from cd.

suppose you are recieving mails for cv and jobs etc.

we will consider that in the Subject fieldthere are words like, Application for, CV, jobs etc,


so create a .procmailrc file in your home directory.

create filter like

:0c
* ^Subject:.*\<jobs for the post of\>
! abc@example.com


Above filter will forward all mails which contains "jobs for the post of" in the subject line, to the email abc@example.com with keeping a copy to you.

You can change subject statement inthe filter with probable subject line.
It searches for the words in the subject line though the actual subject line is very long.


please let me know if it works for you.
 
Old 10-10-2007, 01:36 AM   #3
susantha.bandara
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Lightbulb Sendmail SMTP Tracking

Thanks Vedang
I like to foeward a copy
 
  


Reply

Tags
sendmail, smtp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and SMTP orpheon Linux - Networking 9 07-03-2007 07:19 PM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
Setting up SMTP through sendmail maartenvonz Linux - Software 1 07-25-2005 04:08 AM
Sendmail smtp problem fuelinjection Linux - General 4 07-06-2004 07:30 PM
SMTP by SendMail thomas_hk03 Linux - Software 5 08-06-2003 10:53 PM


All times are GMT -5. The time now is 02:39 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration