Click here to get back home

Partial e-mail body receiving by SMTP Server?

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Partial e-mail body receiving by SMTP Server? Grouppy 05-26-2008
Posted by Grouppy on May 26, 2008, 4:28 am
Please log in for more thread options
I would like to setup a SMTP server for processing of e-mails (my SMTP
server). E-mails will be forwarded from well know Internet e-mail
servers to my SMTP server, but the only fragment of body is important
for processing (like first 10kB of e-mail, not attachments just text).
The rest of the transferred e-mail, should be discarded during
communication, otherwise it could exhausted communication capacity of
my server (having 1M e-mails to be delivered in an hour).

Is the possible to make my SMTP server by protocol to communicate with
an Internet e-mail server, that my SMTP server receive just only like
first 10kB of message and the rest will be discarded and the Internet
e-mail will believe that e-mail is delivered correctly.

Any idea or protocol remarks to be considered.

Regards

Martin Rysanek

Posted by ram@pragatee.com on May 26, 2008, 7:38 am
Please log in for more thread options
> I would like to setup a SMTP server for processing of e-mails (my SMTP
> server). E-mails will be forwarded from well know Internet e-mail
> servers to my SMTP server, but the only fragment of body is important
> for processing (like first 10kB of e-mail, not attachments just text).
> The rest of the transferred e-mail, should be discarded during
> communication, otherwise it could exhausted communication capacity of
> my server (having 1M e-mails to be delivered in an hour).
>
> Is the possible to make my SMTP server by protocol to communicate with
> an Internet e-mail server, that my SMTP server receive just only like
> first 10kB of message and the rest will be discarded and the Internet
> e-mail will believe that e-mail is delivered correctly.
>
> Any idea or protocol remarks to be considered.
>
> Regards
>
> Martin Rysanek

What are you to do ? Read a spamtrap mailbox ?
though that may not be relevant , but usually it is not the best idea
to write a smtp server. YMMV
Use a postfix server and pipe it to a perl script if you like it

The perl script can then read the mail upto 10k and discard the rest

Thanks
Ram


PS:
Note to Spammers: Go ahead , send me spam
ram@pragatee.com
http://pragatee.com

Similar ThreadsPosted
Download email from SMTP server November 9, 2005, 1:23 am
Client Program not Receiving Message from Server January 18, 2008, 12:27 pm
extract text body of email January 22, 2007, 10:14 am
inserting a line into the body of an eMail before forwarding December 17, 2004, 8:46 pm
Extracting Message body from email using POP3Client January 17, 2007, 1:25 pm
sending email with Net::SMTP::SSL -- help needed September 21, 2005, 12:09 am
Net::SMTP - sending email header ? October 3, 2005, 1:51 am
Email Attachment Question: SMTP January 4, 2006, 9:03 am
Using Email::Send::SMTP with authentication April 18, 2006, 10:46 am
what is the simplest way to send out email with SMTP authentication August 11, 2004, 10:36 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap