Procmail is a powerful Mail Delivery Agent (MDA) capable of sorting and filtering mail based on rulesets called recipes. It's rather *nix-centric, terse, mature, and proven.

learn more… | top users | synonyms

0
votes
2answers
95 views

Easiest way to call script for incoming email

On a Ubuntu server, what's the easiest way to run a script (e.g. Python) when an email is received? Email filters would be good, but not necessary.
0
votes
2answers
140 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
267 views

controlling what user sendmail runs scripts in aliases

Suppose I have a line like this in my /etc/aliases: foo-bar: "|/etc/smrsh/some_script" some_script is being run as user mail, but I need it to be running as user nobody. I'm using procmail as ...
0
votes
1answer
33 views

Procmail multipart message / content type

I have a procmailrc file that is collecting some variables from mail headers, then echo'ing those variables into the message body. Like this: :0bfw | echo Subject_ "${SUBJECT_}" ; echo From_ ...
0
votes
1answer
408 views

procmail recipe to forward email is rejected by recipient

This is the first time using procmail and I've got the following recipe, SENDMAIL=/opt/zimbra/postfix/sbin/sendmail SHELL=/bin/sh PATH=$HOME/bin:/usr/bin:/bin:. MAILDIR=/opt/zimbra/procmail/ ...
-1
votes
1answer
173 views

Procmail Postfix issue

Our server is using CENTOS uses postfix: Nov 1 11:31:52 webserver postfix/smtpd[30424]: 822A91872F: client=unknown[5.133.168.42], sasl_method=PLAIN, sasl_username=ashley@website.co.uk Nov 1 ...
0
votes
0answers
133 views

Move spam from dovecot public folders

I have set up Dovecot with public folders on a CentOS 6-server, with sendmail and spamassassin. I'm getting a lot of spam in both public folders and in the users inboxes. I want spamassassin / ...
0
votes
0answers
277 views

DROPPRIVS=yes & procmail: Program failure (75) of “/usr/lib/dovecot/deliver”

When I set up DROPPRIVS=yes I get in the procmail logfile procmail: Program failure (75) of "/usr/lib/dovecot/deliver" what is procmail trying to tell me ? UPDATE tail -f ...
0
votes
0answers
237 views

Procmail (permission related) - delivery fails: “process exited returning 77”

Procmail fails to deliver any mail to local users. Bounce message I receive is following: Diagnostic-Code: x-pmta;Error running "/usr/bin/procmail -t -Y -d james": process exited returning 77 ...