###########################
Email forwarder CRON script
###########################
We need a CRON script that will do the following:
When an email from ANY email address arrives to 1 specific email address A@[login to view URL]
1. we need this email forwarded to another email address B@[login to view URL] (within the same domain)
2. the email's header needs to be changed and indicate that the sender of email is A@[login to view URL]
3. and the email text should clearly indicate the original email's sender.
I'll try to "draw" the emailing to make it clearer
whatever@[login to view URL] --> A@[login to view URL] --forwarded--> B@[login to view URL]
Requirements:
- PHP file, that we can run using Cron every minute (if it can't be PHP, it must at least run on Linux, e.g. Python or whatever you prefer)
- In a config file / script we will enter:
1. IMAP/SMTP server + login + password
2. Email address where the emails will be forwarded (B@[login to view URL])
- Script will read all new emails, modify the header + text (as described above) and will forward these emails to B@[login to view URL]
- Script will mark all processed emails as read (to not to process them later again)
- Email's encoding will be UTF-8 (But if possible, your script should be able to handle all encodings. I'm not sure how this works in reality, I'll accept your advice on this.)
Hi there
I clearly understood your requirement. I can create this mail forwarding script using PHP. Looking forward to hear from you.
Thanks
Rinsad
Relevant Skills and Experience
php, smtp, imap
Proposed Milestones
€63 EUR - to complete the job
Hello,
I'd be glad to implement the email forwarding script using python. Looking forward to chat with you soon for more details.
Best regards,
Relevant Skills and Experience
Python
Proposed Milestones
€166 EUR - upon client satisfaction
We are a group of electrical engineers and web developers. What you are asking can be done through postfix by header_checks configuration. We can help you configure postfix but not cron at this budget
Relevant Skills and Experience
We have 9+ years of experience in various programming languages as well as system administration and network engineering.
Proposed Milestones
€30 EUR - Entire project
Hi there.. I have read your project details completely and willing to do it for you. I have experience in working on this kind of tasks..
Check my recent reviews for our quality work on on time delivery
Please inbox and we can discuss about project...
Hello,
I am able to complete this work according to your needs , i have good exp. in working on cronjobs want to discuss more.
Relevant Skills and Experience
Email Handling, Linux, PHP, Python, Web Hosting
Proposed Milestones
€29 EUR - .
On most systems you don't need a script to do this, you can use Procmail.
Relevant Skills and Experience
Ten years experience in the hosting sector.
Proposed Milestones
€14 EUR - Mail forwarded as requested.
Hi!
My plan to make this project a success is to build a python script that when executed will connect to the IMAP server to:
1) fetch new messages,
2) build a new message, modifing the From header as requested
3) prefix the message body with a 'Forwarded' notice.
4) send the message via SMTP from config file
5) if required, write to a log file what the script has done, including any errors that may have occurred during message retrieval/sending.
I've already lot's of experience using Python. I've already used Python in the past to send messages AND receive messages using SMTP and IMAP. Will use the standard python logging module in case logging is required.
Software will be writtin in Python 3, or Python 2.6/2.7 if Python 3 is not available on your platform.