Hello sir, Actually I know we can use postfix for sending mails. But I don't know can we use postfix to receive mails also. Or do we need to configure some extra tools.
Initially I was using postfix with getmail tool. Through postfix I was sending mail using "sendmail -t" command. And I was using getmail to receive mails from the same gmail account. And have written a small java code which parse that incoming mail and store it in database. But here my query was , why we are using postfix. I can use other simple java api to send mails. why postfix. One more thing I would like to mention over here is that I am using gmail account just for learning purpose. In future I will use my own domain name. Thanks and Regards, Vivek Agrawal Radical Systems Off : +91 20 2545 2151 Cell : +91 98907 22410 www.radicalsystems.co.in -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Chris Babcock Sent: Tuesday, January 13, 2009 2:42 PM To: postfix-users@postfix.org Subject: Re: postfix implementation in forum like application - OT > well since last few days i was working on postfix... so i would like > to know that can we use postfix for this functionality. and if can > use postfix which other tools i will require... I will also go > through the mailman. but just for the correct information. let me > know advantage and disadvantage of postfix for this application. Postfix is a Mail Transfer Agent. It's secure, stable, actively developed and comparatively easy to deploy. It will send your email into the world, accept mail from the ever hostile Internet and hand incoming mail to your local storage solution. That's all any mail server can do. Your Postfix configuration will probably use a database - MySQL or whatever you're using for the back end of your site - to alias your "u...@site.example.com" addresses to the users' real email addresses. That's the extent of your Postfix deployment. You'll also use "always BCC" or a similar mechanism to copy all messages to an address where they'll be archived. For your site, you're looking for Java email libraries to send mail via the SMTP server (Postfix) and you have to make decisions about how to handle incoming mail to the archive. There are many ways to do that, including pulling mail off a POP or IMAP server or delivering to a command that parses the message and inserts the content into the data base. Chris Babcock