Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using sendmail in a heavy load manner 1

Status
Not open for further replies.

Lonolf

Programmer
Sep 9, 2007
2
US
Hello,

Two questions, any help would be greatly appreciated:

1. I am interested in writing a Linux application that handles e-mail being accepted to a mail server (and processes them somehow). Can someone direct me to a basic pointer telling me how should I do that? (I just would like to write a "filter" that sits on top of sendmail and processes every incoming e-mail to a certain address).
Is a C++ application recommended for such thing? Would it mean that the executable is RELOADED for each e-mail, making it many unbearable for heavy load server?

2. I would like to send bulk e-mails to users who may be registed on my site using sendmail. Is it recommended to run sendmail for each e-mail being sent, or will it be too much for sendmail to handle? Each e-mail should have *different* text in it, so I cannot use Cc or Bcc or anything like that. Each e-mail is personalized with content.

Again, any help would be apperciated.

Lonolf.
 
Most major ISPs use sendmail as their MTA and have very little problem with heavy loads, so I think you will be ok. You can rout incoming mail in a few ways. The default is to hand all incoming mail off to the local mailer. In most cases this is procmail. You can also send everything to a program or another server. For example, you can use recipes to configure procmail to filter mail. It can then be configured to pass it on to a program such as spamassassin which in turn can be configured to identify spam and what you want it to do with mail containing spam. A good place to start your search for how write a program to use with sendmail is There, in addition to the docs and FAQs, you will see links to How-To sites and projects that have a lot in common with what you are doing. Sorry, I couldn't offer any specific help myself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top