LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2003, 08:33 AM   #1
costasm
Member
 
Registered: Dec 2002
Posts: 71

Rep: Reputation: 15
Capture email from maillist....


Hi everyone,

This is a challenging app for me anyway.

I would like to capture email that is sent to a mailing list that I subscribe to and put it in a text file using my web server.

Here is what I have so far as far as specs:

1) I have a web server with a fixed IP address (no domain name) but accessible from outside.
2) I can program using PHP .

I want to setup the the maillist to forward email to my web server.
Is there some mini mail server that will capture email and throw it into a file.

Also can I send an email to an IP address? E.g. username@60.24.234.90

This way I don't have to register the server.

Any other ideas would be helpful

Thanks
 
Old 12-09-2003, 08:42 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
have you looked at sendmail?
I haven't used sendmail as a mail server however it can be done. Then you give yourself an account on your shiny new mail server and you're ready to get all the spam you want at <new-account>@<server-ip-address>

you can then use the sendmail client to send mails from the website then too.

jpbarto
 
Old 12-09-2003, 10:40 AM   #3
costasm
Member
 
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
I thought about sendmail or exim. However I need something simple and not have to do any complicated setups.

Basically get the email and store it to some file as text. If its not from an email address of interest then toss it.
(So no spam for me!)
 
Old 12-09-2003, 10:57 AM   #4
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
could you perhaps use an outside email address (such as an ISP account) and then use a command line app to retrieve and send emails? (the app would of course have to be made accessible through the web interface through manipulation via perl scripts or php).
 
Old 12-09-2003, 03:08 PM   #5
costasm
Member
 
Registered: Dec 2002
Posts: 71

Original Poster
Rep: Reputation: 15
Yes, that would make a lot of sense and sounds easier to do.

I could have it directed to yahoo email address and then use a POP email retrieving app. I guess I could have it check every few minutes for email.

Does anyone know of a Linux CLI utility app that can get email so I dont have to write my own?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What email program can work with email header on pop3 server TruongAn Linux - Software 0 01-13-2005 11:48 AM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM
How to Import Microsft outlook Email in any Red hat 9 Email mobassir Linux - Software 2 07-28-2003 10:42 AM
How to Import Microsft outlook Email in any Red hat 9 Email Software mobassir Linux - Software 0 07-26-2003 04:08 AM
Capture support for dvd and video capture in linux is it even going to be real ever? maximalred Linux - Distributions 3 07-06-2003 07:29 PM


All times are GMT -5. The time now is 02:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration