LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2006, 07:33 PM   #1
DeusFacticius
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
recieve mail script


this *might* belong in software, but it's not entirely tied to a single program.

i want to setup an SMTP mail server to recieve mail that can run a custom script upon arrival/storage of new mail messages. every search i've done on the subject has turned up scripting to send mail, but i have not found any information on how to configure any well known MTA (sendmail or postfix) to run scripts upon receiving mail.

can anyone shed some light on how to do this? tips for either sendmail or postfix are preferred.

some thoughts:
it could possibly be done by making a milter script to do the desired task, but this seems kind of a 'hackish' way to do it, since milter is for filtering, and this is not really a filtering operation. there has to be a better way.

in a worst case scenario, the source code could be modified to call recieve mail scripts, but this option is very undesirable.
 
Old 09-26-2006, 06:28 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe you could explain in detail what it exactly is you would like procmail to do incoming email?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up a mail server: unable to recieve mail Valkyrie_of_valhalla Linux - Networking 3 09-15-2006 01:29 PM
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 01:35 PM
Cant recieve mail mwmethe Linux - Networking 2 01-29-2004 02:42 PM
How to recieve mail without third party mail server marsonist Linux - Networking 7 09-06-2002 05:03 PM
I can recieve mail (outlook) but i cant send mail hal_baumgardner Linux - Networking 4 07-13-2001 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration