nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

How to process incoming mails

This is a discussion on How to process incoming mails within the Mail Servers forums, part of the Mastering Servers category; Hello all, I have a requirement to process the incoming mail,get the senders address and write it in a text ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-25-2008, 01:40 PM
Junior Member
User
 
Join Date: Mar 2007
Posts: 2
Rep Power: 0
santhosheph
Default How to process incoming mails

Hello all,

I have a requirement to process the incoming mail,get the senders address and write it in a text file. Also i have to strip out the attachments and store in a folder. I have no idea about how to do this. Anyhelp would be greatly appreciated.

Thanks,

Santhosh.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-25-2008, 05:41 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

You need to use procmail a mail delivery agent (MDA) or mail filter, a program to process incoming emails on a computer, widely used on Unix / Linux systems.

Try following tutorials as example:
  1. Procmail Homepage
  2. Set up filters using Procmail
  3. Procmail How-To Page
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks

Tags
mail server , procmail


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to Block Spam Mails in Sendmail ppnair Mail Servers 3 08-28-2008 01:06 AM
send 100000 mails in 30 min kasimani Mail Servers 3 08-18-2008 04:16 PM
Evolution can't send mails satimis Mail Servers 0 07-13-2008 06:19 PM
Killing of a process and send a mail if the process doesnot come up within 2 minutes Prince89 Shell scripting 1 02-11-2008 01:39 PM
Sendmail control incoming email to accept, deny, or relay jerry All about FreeBSD/OpenBSD/NetBSD 1 06-22-2006 02:39 PM


All times are GMT +5.5. The time now is 02:00 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36