fetchmail: forward mail changing subject


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers fetchmail: forward mail changing subject
# 1  
Old 02-10-2009
Question fetchmail: forward mail changing subject

Hi there,

I receive job applications sent by a website daemon. The email subject contains the job offer description. The problem is that gmail tends to concatenate emails with the same subject and I don't really want all applications in the same email. Thus the from field contains the candidate email.
In short, here is what my gmail inbox contains. Each quotation box appears as one email in my inbox (but includes several applications):

All applications for #12345=Java specialist
Quote:
Date: Sun, 1 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Java specialist - [12345]
From: johns@xxx.com
Please hire me!
--------------------------------------------
Date: Sun, 3 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Java specialist - [12345]
From: barbaram@xxx.com
I think I'm the best!
All applications for #98765=Unix administrator
Quote:
Date: Sun, 2 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Unix administrator - [98765]
From: fredv@xxx.com
You'd better take my application!
--------------------------------------------
Date: Sun, 5 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Unix administrator - [98765]
From: billg@xxx.com
Can you explain what unix is?
I just discovered fetchmail and I was wondering if I could use it to fetch application and forward them to me after changing the subject as described bellow :
Quote:
Date: Sun, 1 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Java specialist - [12345] - johns
From: johns@xxx.com
Please hire me!
Quote:
Date: Sun, 3 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Java specialist - [12345] - barbaram
From: barbaram@xxx.com
I think I'm the best!
Quote:
Date: Sun, 2 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Unix administrator - [98765] - fredv
From: fredv@xxx.com
You'd better take my application!
Quote:
Date: Sun, 5 Feb 2009 15:15:40 +0100
To: me@gmail.com
Subject: Unix administrator - [98765] - billg
From: billg@xxx.com
Can you explain what unix is?
Thanks for your help
Santiago
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

fetchmail and postfix mail setup on Snow Leopard - request for guidance

Howdy, I hope it is ok to post this here. I would like to do all my POP3 email with fetchmail, postfix and emacs. On Snow Leopard 10.6.8 - this is not urgent and I really want to do it in one of the right ways. This is fetchmail release 6.3.11+GSS+SSL+KRB5. postconf mail_version = 2.5.14 GNU... (11 Replies)
Discussion started by: butterbaerchen
11 Replies

2. UNIX for Dummies Questions & Answers

prevent copy , forward of mail sent through unix

Hi, We are using mailx -s command to send mails from unix. We need to ensure that this mail is not copied,forwarded etc. Is there a command which can be used to achieve this using unix? Thanks. (1 Reply)
Discussion started by: dwarkeshr
1 Replies

3. UNIX for Dummies Questions & Answers

fetchmail and forward to an extern address

Hi, I'm searching for an solution for the following problem. I want fetch some mails via pop3 from a@a.com with fetchmail. That works perfectly. Now any incoming mail should forwarded to b@b.com via smtp obv. But I don't know how to configure that. All online tutorials describe forwarding to... (0 Replies)
Discussion started by: mcW
0 Replies

4. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

5. Linux

send mail purtcular subject forward

Hai can you help it out i am using send mail server in that some messages are teged with spam that messages has to forwaded to putecular Id and it has to removed from the user. s.sheik (1 Reply)
Discussion started by: s_sheik
1 Replies

6. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

7. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

8. Solaris

forward root mail

how can i forward roots mail, i want every mail fowarded (1 Reply)
Discussion started by: csaunders
1 Replies

9. UNIX for Dummies Questions & Answers

forward emails with specific subject line

Is there a way to forward email from user1@mydomain.com to user2@mydomain.com only when the subject line is "this subject"? I figure it would be done with .forward somehow if it is possible. I'm using Red Hat 9 and sendmail. (4 Replies)
Discussion started by: pmj1970
4 Replies

10. UNIX for Dummies Questions & Answers

.forward file for mail redirection

I've set up a .forward file on a few identical servers that we have (all identical .forward file as well) but only one server is forwarding any of my unix mail (mail generated by cron) to my internet account. Because these servers (5) are all identical in terms of aix versions, etc., I do not... (3 Replies)
Discussion started by: giannicello
3 Replies
Login or Register to Ask a Question