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
96 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
148 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
140 views

Emails corrupt and a winmail.dat file attachment added for only one mail box

I have one mailbox that's receiving emails from a particular company who use Outlook and all emails sent to that one address are stripped of their proper structure and a winmail.dat file is attached. ...
1
vote
1answer
363 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
139 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
722 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/ DEFAULT=$...
-1
votes
1answer
188 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 11:31:...
1
vote
0answers
168 views

rt-mailgate not making tickets with fetchmail and procmail

I'm trying to use my mail so that any mail sent to support@mydomain.com are turned into tickets by RT4. The process currently breaks down in the send mail step. My server is running fetchmail. The ...
0
votes
0answers
172 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
455 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 /var/log/dovecot-...