LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-14-2003, 04:46 AM   #1
Borelian
LQ Newbie
 
Registered: Oct 2003
Location: Paris, France
Distribution: Mandrake 9.2, Fedora Core, Slackware 9.1
Posts: 24

Rep: Reputation: 15
Three actions in a recipe of Procmail


Hi.

I'm filtering my emails using Procmail... I want to do:

1.- Encrypt all mails comming from a specific address (any@email.com)
2.- Save it in a "special" folder (Encrypted)
3.- Send me an email notifing this new message.

i'm using this:

:0
* ^From:.*any@email.com
{
:0 fbw
| gpg -r my@email.com -a -e

:0
$MAILDIR/.Encrypted/

:0
| echo "Subject: Received an Special message" | $SENDMAIL -oi my@email.com

}

The first recipe is working well (the encription), and the second is executed but not the third. if i change the order between the the second and third recipes, it execute the second but not the third.

Any help?

Thanks.
 
Old 11-11-2012, 06:48 AM   #2
libCog
LQ Newbie
 
Registered: Aug 2011
Posts: 23

Rep: Reputation: Disabled
Did you ever figure this out?

I'm interested in doing the same, so a working solution would be interesting.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is wrong with this regular expression in procmail recipe? realos Linux - Software 4 10-20-2005 09:35 AM
Procmail - help w/ recipe to sort mailer-daemons Ratclaws Linux - Software 1 07-12-2005 04:17 PM
Procmail recipe jebix666 Linux - General 1 06-09-2005 01:43 PM
procmail recipe for charset conversion Peff Linux - Software 0 07-13-2004 02:40 AM
procmail recipe not working? theLIGHT Linux - Software 3 11-18-2002 10:04 PM


All times are GMT -5. The time now is 08:04 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 Google+: linuxquestions
Open Source Consulting | Domain Registration