In Progress

Procmail script to execute a BASH script and send an email

For any email sent to a given email address compare the sender to a list of email addresses in a text file in the home directory of the email recipient. The text file will have one email address per line, (with no more than ten email addresses).

If the sender of the email matches, execute a BASH script (which is already written), passing the first word of the subject line of the email as a parameter to the BASH script. Before passing the subject line to the script, verify that the contents are only lowercase [a-z][0-9] characters and that the length of the parameter passed is less than 20 characters.

The BASH script will either return success or failure; if there is a failure, email the output of the BASH script to the sender of the email.

Target system is an Ubuntu 10.10 server. Procmail, mailutils and postfix are installed and configured. Tools used must be standard Linux.

Skills: Linux, System Admin

See more: procmail bash script, procmail bash sender, procmail script bash, procmail script parameter, procmail send script, procmail bash, procmail, matches list, list matches, bash directory script, bash script procmail, ubuntu procmail script, ubuntu procmail execute script, linux send email script, procmail script, procmail execute bash script, bash script directory, bash file, bash 0, word script, linux email, linux bash script, email linux, email and file sender, bash script

About the Employer:
( 12 reviews ) Portland, United States

Project ID: #1107075

Awarded to:

ezbik

Please check PM

$30 USD in 0 days
(56 Reviews)
5.1

8 freelancers are bidding on average $104 for this job

linuxfreak1985

please check your PM Box

$35 USD in 1 day
(137 Reviews)
6.5
exsys

Hi, Please check PM.

$120 USD in 3 days
(59 Reviews)
5.9
AndrwProjects

Hi, i have procmail experience, i interested to get this done.

$100 USD in 4 days
(24 Reviews)
4.2
srinichal

I can deliver the script to your specs

$150 USD in 3 days
(11 Reviews)
4.2
codexperia

Have worked on email generation and dispatch using scripts.

$100 USD in 2 days
(1 Review)
2.0
smehta26

Hi, I can do this work. Let me know. Thanks & Regards, Sagar

$200 USD in 7 days
(0 Reviews)
0.0
jdinunci

A python script will do the work. It'll be configurable, so it could be adapted to future needs, like changes in the length of the subject.

$100 USD in 1 day
(0 Reviews)
0.0