LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Programmatic mail sending with Postfix

[ILUG] Programmatic mail sending with Postfix

Colm Buckley colm at tuatha.org
Wed Apr 7 11:10:05 IST 2004


> To send messages you write files in RFC822 format and drop them into a 
> specific directory. The PIPE module scans this directory periodically, 
> and processes any files it finds with a  .sub  extension.
>
> This is much more efficient than setting up an SMTP connection - we 
> regularly use it to send 10s of thousands of messages to a mailing 
> list.
>
> So the question is - is there any way of doing something similar with 
> Postfix?

I investigated this in 2002, and was unable to find an easy way to make 
Postfix do this.  In theory, all that is necessary is to drop files 
into Postfix's "maildrop" directory and then signal the queue runner.  
However, the maildrop directory contains files in a Postfix internal 
format rather than in RFC822 format.

The approach to take would be to abstract the routines from postdrop 
which convert RFC822 files to internal files, and use these in your 
program.  We decided that this would be more hassle than it's worth.

	Colm

-- 
Colm Buckley / colm at tuatha.org / +353 87 2469146 / www.colm.buckley.name




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell