The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
17 views

will procmail “tag” incoming email based on to: , but only if it isn't already tagged?

So if you've seen/used mailman , you'll know that it will add a [groupname] tag to the subject line of emails sent through it, if the tag doesn't already exist. Can this be done with procmail? I ...
1
vote
1answer
24 views

Regular expressions in procmail

I have a problem with backscatter to randomly generated fake-from-adresses on a domain with a catchall. The fake-alias is using a scheme, using egrep with the regexp ^To:.*.[A-Z].[a-z].*[A-Z].[a-z].*...
1
vote
1answer
36 views

Why procmail didn't match this rule?

I have the following rule to send all emails with suspicious attachments to a dedicated folder: # Emails with attachments :0 * ^Content-Type: multipart/ { :0 B * ^Content-Type: application/(zip|x-...
0
votes
1answer
25 views

procmail gpg --verify signature

Is there a recipe for procmail that I can use to verify a pgp signature?Almost like gpg --verify. I have looked at pgpenvelope but I'm not needing to check this in any kind of mail client.
1
vote
1answer
98 views

Correctly configure fetchmail/procmail to forward to gmail (with TLS)

I'll start by saying I'm pretty uninformed when it comes to mail protocols, encryption, and basically everything else relevant to this question. My goal is to set up fetchmail/procmail on a machine ...
1
vote
1answer
103 views

“Procmail” component of getmail - spamassassin - procmail - mu4e

I'm a newbie trying to work out the following mail solution on a laptop where I'm the only user: getmail - spamassassin - procmail - mu4e (an emacs mail program) Right now I'm succeeding at ...
-3
votes
2answers
167 views

Copy unix mail (received by sendmail) to a linux directory (individually)

Does anyone know a way to copy all new arrived emails (on Fedora Linux), to store in a Linux directory (not in some other mail folder, but on the Linux file system directory)? We use Procmail as a ...
1
vote
1answer
335 views

How do I extract and sort image attachment from emails?

Here is what I was thinking of: I want to create a Raspberry Pi Picture-frame (DPF) for my grandma, but with basic email support. Emails can be sent by six family members and will be received daily ...
0
votes
1answer
133 views

how to add a unique number|datetime|message id to an email subject with procmail

I need to change the subject of certain emails by adding a unique element. it doesn't really matter what is added as long it is unique. I thought about the date string or the message ID itself. this ...
0
votes
1answer
281 views

Procmail script creates files with unexpected read/write permissions

Running under CentOS 6.5, I have a procmail recipe that invokes a Perl script that processes mail addressed to reguser and writes a file like: my $text = "Text generated from incoming mail"; my $...
0
votes
1answer
123 views

Fetchmail redownloading emails

I am using fetchmail to retrieve emails off server and then viewing with mutt. My settings look like, poll server.com protocol IMAP user "myuser@server.com" password "secret" keep mda "/usr/bin/...
0
votes
1answer
148 views

Prevent mail delivery errors from forwarded address for spam

I forward my email from a linux server (running exim) to my gmail account using procmail. Frequently I get "Mail delivery failed" errors from spam messages sent to me, where the error is an SMTP ...
2
votes
1answer
337 views

How to flag (mark) email as important with procmail

How to flag (mark) an email which matches a rule as important (press F in mutt will flag email as important). So how to write this in procmail recipe ? If procmail can not flag email as important, ...
0
votes
1answer
481 views

Preprocessing incoming mail with fetchmail/procmail/mutt

I use fetchmail->procmail->mutt programms to all my mail. Some of mail generated automatically and some people not smart enough, so I would like to reformat mail body with some script. My best guess ...
2
votes
1answer
1k views

How can I write a procmail recipe to execute script without affecting the original message

I want to use procmail to trigger a script to run when a certain email message is encountered but I do not want to change, alter, or prevent delivery of the original message. Will this procmail ...
5
votes
2answers
2k views

automatically encrypt and decrypt emails using gnupg (gpgrelay for unix)

My point of view related to email security is: whenever possible emails should be protected with PGP/GPG while transporting, but it doesn't have sense to store encrypted emails in local mailbox (this ...
1
vote
1answer
166 views

Organize Email by Date Using procmail

I would like to organize all incoming email into the following directory structure based on the date of the email: ROOT --+-- YYYYMMDD --+-- HH --+-- mm --+-- YYYYMMDD-HHmmSS-000001 | ...
1
vote
1answer
655 views

procmail recipe not working right for automatically stripping incoming attachments

In following-up my previous question, I am trying to use munpack in an automated fashion. I'm trying to do this with procmail. > cat .procmailrc :0 | sleep 5 ; munpack /var/spool/mail/...
3
votes
1answer
380 views

Procmail recipe that will execute a script without affecting delivery?

How do I write a procmail recipe that executes a shell script without affecting delivery?(in this case, something that sends me a DM via Twitter) I don't want to affect further processing of the ...
1
vote
1answer
2k views

Are file access times not properly maintained in Mac OS X?

I'm trying to determine how file access times are maintained by default in Mac OS X, as I'm trying to diagnose some odd behaviour I'm seeing in a new MBP Unibody (running Snow Leopard, 10.6.2): The ...
1
vote
2answers
935 views

Play a sound when mutt has new mail?

I'm using mutt for my mail, usually put on the 2nd monitor with some other windows. Because I'm not monitoring that monitor I often miss the new mails. I want mutt to play a sound (or use Growl) to ...
2
votes
4answers
1k views

How do I set up a email whitelist using only procmailrc to protect my kids from unwanted email?

How do I set up a email whitelist using only procmailrc to protect my kids from unwanted email? I currently us the OS parental controls, but that is only good for the computer it is enabled on. I ...
0
votes
2answers
155 views

How can I setup a reminder email tool via procmail?

I would like to be able to setup a reminder 'service' for myself so that I can schedule emails or text messages to be sent to my handheld when I can't get to an ssh client. Here's my scenario: It's ...
3
votes
2answers
1k views

How can I convert HTML emails to plain text with fetchmail?

I recently set up an email gateway for our bug tracker, which was originally intended as a way for streamline error reporting from our server software. I told my colleagues about it, and they were ...