[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Asynchronous message queue by SMTP&POP3

  • From: John Cowan <jcowan@r...>
  • To: "John D. Gwinner" <JGwinner@d...>
  • Date: Tue, 08 Feb 2000 16:26:20 -0500

message queue c
"John D. Gwinner" wrote:

> We're currently using expat as our C++ parser (well, wrapped C++), but I
> don't really want to have to write a pop3 client if at all possible.
> Haven't researched this *that* much yet.

I recommend that you use the open-source "fetchmail" program, which
fetches messages from POP3 mailboxes and redelivers them locally
using your SMTP daemon, sendmail or qmail or whatever.  You can
deliver to a local alias (in /etc/aliases) which sends everything to
a program; that program just has to strip off the mail headers
and do whatever it likes with the content.

Fetchmail is available from your favorite open-source archive,
or from the home page at http://www.tuxedo.org/~esr/fetchmail .

Typical .fetchmailrc config file:

set daemon 600		# poll every 10 minutes, adjust as needed
poll mailserver.yourdomain.com protocol pop3
       user xml-input there, password whatever, is xml-input here

Typical /etc/aliases entry:

xml-input:"|/usr/local/bin/xml-gobbler"

(Don't forget to add the xml-gobbler program to the directory of mail-safe
programs in /usr/adm/sm.bin if you are using smrsh.)

-- 

Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@r...>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.