<?xml version="1.0" encoding="iso-8859-1"?>
<!-- name="generator" content="pyblosxom/1.3.2 2/13/2006" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Rustybear Blog 23 Dec 2006</title>
<link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi</link>
<description>Rustybear Blog</description>
<language>en</language>
<item>
  <title>postfix: delete all mail in the queue</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/postfix-mailq-delete-all.html</link>
  <description><![CDATA[
<pre>
    Easy way: as root, type -- postsuper -d ALL
                               postfix reload
    
Note:  this is a very powerful command as it deletes 
ALL mail in the queue.

## get the mail-ID and other junk in the first column
mailq | nawk '{print $1}' > tmp-mailq

## remove the junk line starting with (tra
## repeat as necessary if other junk lines are present
## repeat once also for blank lines
## manually edit to remove any other extraneous lines
cat tmp-mailq  | sed '/^(tra/d' > tmp-mailq-2
cat tmp-mailq2 | sed '/^$/d'    > tmp-mailq-3

## write a short script to loop through postsuper -d
## with the mail-ID's

   #!/bin/sh
   exec < tmp-mailq-3
   while read line
   do
      postsuper -d $line
   done

## run the script; mailq should be clean
</pre>


]]></description>
</item>

<item>
  <title>Mail Server Open Relay Check</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/relay-check.html</link>
  <description><![CDATA[
<pre>
1.  From the mail server, simply:

    telnet relay-test.mail-abuse.org

    and watch output.

2.  http://members.iinet.net.au/~remmie/relay/

3.  http://www.abuse.net/relay.html

Cheat sheet for configuring Postfix to stop UCE:

http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt

</pre>

]]></description>
</item>

<item>
  <title>postfix</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/postfix.html</link>
  <description><![CDATA[
<pre>
postcat msgID                   // read the message
postsuper -d msgID              // delete the message
postconf                        // print conf value on stdout
postfix check                   // check the config values
postfix reload                  // reload teh config files
mailq                           // check the queue
postfix flush                   // send all mail for delivery now

/var/spool/postfix/deferred     // where pending mail hangs out
/var/spool/postfix/defer

/var/log/mail.info              // log files to check
/var/log/mail.warn
/var/log/mail.err
</pre>

]]></description>
</item>

<item>
  <title>command line mail</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/command-line-mail.html</link>
  <description><![CDATA[
<pre>
:~ telnet 200.174.38.18 25
:~ HELO mydomainname_of_choice.com
:~ MAIL FROM: someone@yahoo.com
:~ RCPT TO: someone-else@msn.com
:~ DATA
:~    <enter data now>
:~ .
:~ quit

// command line mail from mutt
echo "my message" | mutt -s "my subject" -a Attach.tar someone@yahoo.com
</pre>


]]></description>
</item>

<item>
  <title>mairix</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/mairix.html</link>
  <description><![CDATA[
<pre>

mairix -p -v -a -t	// -p purges empty holes left by deletions
			// -v verbose during indexing
			// -a augment the vfolder rather than write-over
			// -t return the entire thread in a successful search

mairix 	t:pointer	// To: header
	c:pointer	// Cc: header
	a:pointer	// To:, Cc: or From: headers
	f:pointer	// From: header
	s:pointer	// Subject header
	s:pointer=2	// allow up to 2 errors in subject keyword
	b:pointer	// message body
	d:3m-1m		// msgs between 3 mths and 1 mth ago
	d:-2y		// msgs older than 2 yrs
	d:2w-		// msgs within last 2 wks
	z:1m-		// msgs larger than 1 megabyte
	z:10k-20k	// msgs between 10k and 20k bytes
	p:/archive/	// msgs with /archive/ in their path

Example:	assume e-mail address richard@doesnt.exist

mairix d:3m- f:richard+doesnt+exist s:chrony

	// matches all msgs newer than 3 mths from richard and word chrony in 
	// the subject line

mairix d:6m- f:richard s:chrony=2

	// matches a wider range in the e-mail address, newer than 6 mths,
	// and allows up to 2 errors in the keyword in subject search

In Mutt, access mairix as follows:

	!		// open shell
	mairix f:kevin	// enter search criteria
	c=vfolder	// change folder to see results in vfolder

Make sure you run mairix -tp occasionally to update the DB.

Files:  ~/.mairixrc
	/usr/share/doc/mairix/mairix.html

</pre>


]]></description>
</item>

<item>
  <title>clam antivirus</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/clam.html</link>
  <description><![CDATA[
<pre>
clamscan -r -l scanned.txt /home/kevin 
    // scans /home/kevin recursively and writes results to scanned.txt

www.eicar.com       //  get a harmless test virus here

FILES:

    /etc/cron.d/clamav
    /var/log/clam-update.log
    /usr/bin/clamscan
    /usr/bin/freshclam
    /usr/bin/sigtool
</pre>

]]></description>
</item>

<item>
  <title>bogofilter</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/bogofilter.html</link>
  <description><![CDATA[
<pre>
bogoutil -d old | bogoutil -l new    // compacts the DB

cat msg | bogofilter -Ns    // if not spam, run this to 
                            // remove from spam DB and
                            // add to non-spam DB

cat msg | bogofilter -Sn    // if spam, run this to remove 
                            // from non-spam DB and add
                            // to spam DB
</pre>

]]></description>
</item>

<item>
  <title>Command Line Email Reading</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/command-line-mail-reading.html</link>
  <description><![CDATA[
<br />
<br />
<br />
<b>telnet your.pop.server 110</b><br /><p><u>eg.</u>  My email address is  <b>manages@cse.mrt.ac.lk ,</b> therefore my POP server is <b>cse.mrt.ac.lk</b>
</p><p> Now let's go through the following sample telnet session. You
will get to know the commands and their usage as we progress. After you
have connected to the POP server, a message similar to the below will
appear. Let's continue from there.
</p><p>+OK sigiri POP3 Server (Version 1.004) ready.
</p><p><b>USER manages</b>
</p><p>Use your login name instead <b>manages</b>, don't use mine.
</p><p>+OK please send PASS command
</p><b>PASS mypassword</b> <p><b>&nbsp;</b>Use your email password, not mine.
</p><p>+OK 2 messages ready for manages in /usr/spool/mail/manages
</p><p><u>Note:</u> Unlike most times when you enter your password,
this time you will see it as you enter it. Please make sure that no one
is staring at your screen over your shoulders.
</p><p><b>list </b>This will display the total number of messages and
size again as well as a list with each file number, a space and its
size. something similar to the following:
</p><p>+OK 2 messages; msg# and size (in octets) for undeleted messages:
</p>1 607<br />2 1323403<br />. <p><b>retr 2  </b>Displays the <b>message-2</b> including headers. 
</p><p><b>top 1 20  </b>Displays the first 20 lines of the <b>message-1</b>. Unlike the <b>retr</b>
command, this will not scroll the message to the end . It just shows
the first 20 lines of the message body. This is useful if you want to
read the whole message. The syntax of the <b>retr </b>command is 
</p><p>     <b>retr  messageNo  NumberOfLines</b>
</p><p><b>dele 2  </b>Deletes the <b>message-2</b>. This is how you
delete a message. You will see the confirmation for the deletion. In
fact the message-2 is a mail bomb, you can identify it from the size.
It is rather unusual to have a legitimate message of over 1MB.
</p><p>+OK message 2 marked for deletion
</p><p>If you type list again, you will see that message number 2 is indeed gone.
</p><p>There are few more commands I have not discussed, the best way to learn them is to issue an incorrect command.
</p><p><b>blah</b>
</p><p>-ERR Invalid command; valid commands:  DELE, HOST, LAST, LIST, MBOX, NOOP, RETR, RSET, STAT, TOP  or  QUIT
</p><p>Now you can play with the rest of commands. Note that some POP servers do not give this error message.
</p><p><b>quit</b>   ends your session. Simply closing the telnet session may hang your mailbox.
</p><p><br /></p><br />

]]></description>
</item>

<item>
  <title>&lt;pre&gt;</title>
  <link>http://www.rustybear.com/cgi-bin/pyblosxom.cgi/mail/how-email-works.html</link>
  <description><![CDATA[

<div align="center"> <center><table style="border-collapse: collapse;" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" width="650"><tbody><tr> <td bgcolor="#ffffff" valign="top" width="520"> <div align="center"> <center> <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="3" width="100%"> <tbody><tr> <td bgcolor="#0062c4" width="520"> <div align="center"> <center> 
  <table style="border-collapse: collapse;" border="0" cellpadding="11" cellspacing="0" width="100%"> <tbody><tr> 
  <td valign="top" width="513"> 
  <p align="center"><b><font color="#ffff00" face="Arial" size="2">Delivery of each email 
  is done<br>
  </font><font color="#e1ffff" face="Arial" size="2">
  by your ISP mail server, first establishing a conversation<br>
  through (port 25) of each of your recipient ISP mail server</font></b></p></td> </tr> </tbody></table> </center> </div> </td> </tr> </tbody></table> </center> </div> <div align="center"> <center> 
    <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="519"><tbody><tr> 
      <td width="72"><p align="right">&nbsp;</p></td> 
      <td width="393">
      <p align="center"><font face="Arial"> <b><font color="#ff0000"><br> How email works?</font></b></font></p>
      <p align="left">
  <b><font color="#000080" face="Arial">How does my email gets to the recipient?<br>
  </font><font color="#004993" face="Arial" size="2"><br>
  </font> </b>
  <span style="font-family: Arial;"><font color="#004993" size="2"><b>Before
you can send out email messages from your PCs, you need to access the
Internet through your ISP network via a dial-up modem that usually
utilizes the telephone line or with always-on ISDN, DSL, ADSL, Network
or Cable connection.</b></font></span></p>
      <p align="left">
  <font face="Verdana" size="2"><font color="#004993"><b>SMTP</b> (Simple Mail 
  Transport Protocol)</font><font color="#800000"> i</font>s a protocol 
  governing electronic mail transmission and reception. It is used for sending 
  email to and between mail servers (sending and receiving email messages).
  <b>See</b> <span lang="EN"> <font color="#004993">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/rfc821.txt">rfc 821</a></font></span></font></p>
      <p align="left"><span style="font-family: Verdana;"><font size="2">
  <font color="#004993"><b>Using email clients</b></font> like: Outlook Express or Eudora etc. to send out email<strong style="font-weight: 400;"> to your ISPs mail server</strong>--which 
      collects them--put them in queue and then relay them to your recipients 
      ISP mail server--for retrieval from their mailbox.</font></span></p>
      <p align="left">
  <font face="Verdana" size="2"><font color="#808080"><b>Mailbox</b> - 
  each mailbox is assigned a unique address ie: </font><font color="#004993">mymail@mydomain.com</font><font color="#808080"> 
  character string which identifies the user to whom the mail is to be sent. 
  Mailboxes normally reside on mail servers that are always connected to the 
  Internet (otherwise mails can't be received), and mails are fetch from the 
      remote mail servers using Post Office Protocol </font>(</font><font color="#800000" face="Verdana" size="2"><a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/pop3.protocol.htm">POP3</a></font><font face="Verdana" size="2">)<font color="#808080"> 
      by the user with their mail client</font>.</font></p>
      <p align="left">
  <font face="Verdana" size="2">
  <font color="#004993"><b>Email in queue</b> </font> at your ISP
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/20.mail.server.email.faq.htm">mail server</a></font><font face="Verdana"><font size="2">
  may takes just a few seconds to be delivered--if it is not overloaded--to a few minutes or even hours, and if the network is </font> <b>
  <font color="#004993" size="2">down</font></b><font size="2"><font color="#004993">
  </font>or the recipients mail server does not want to accept your email for some reason like: busy or mailbox full--then 
  your ISP or your own mail server will try to deliver again...</font></font></p>
      </td> <td width="54">&nbsp;</td> </tr></tbody></table></center></div></td><td width="1"><p align="right"> 
  <img src="how.email.works_files/w_002.gif" border="0" height="5" width="1"></p></td> <td background="how.email.works_files/z.gif" bgcolor="#808000" valign="top" width="130">
  <div align="center">
    <center>
    <table style="border-collapse: collapse;" id="AutoNumber1" border="0" cellpadding="2" cellspacing="5" width="100%">
      <tbody><tr>
        <td bgcolor="#ffffff">
        <p align="center">
    <font color="#000080" face="Verdana" size="2"><a name="eMail Broadcast">eMail</a> 
    CRM</font><font face="Verdana"><font color="#000080" size="2"><br> <a name="eMail Broadcast">Broadcast</a><br> </font> 
    <font color="#ff0000" size="2">Freeware</font><font size="2"><br> </font> <font color="#ff0000"><b>  <a href="http://www.mailsbroadcast.com/download.ecrm.freeware.htm"> 
    <font size="2"> 
    <img src="how.email.works_files/clickhere.gif" border="0" height="16" width="68"></font></a></b></font></font></p></td>
      </tr>
      <tr>
        <td bgcolor="#ffffff">
        <p align="center">
      <font face="Verdana" size="2"> <a href="http://www.mailsbroadcast.com/index.htm" style="text-decoration: none;">Home</a></font></p></td>
      </tr>
      <tr>
        <td bgcolor="#ffffff">
        <p align="center">
      <font face="Verdana" size="2">
      <a href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/1.index.email.bolts&amp;nuts.htm" style="text-decoration: none;">&lt;&lt;back to&gt;&gt;<br>
      eMail<br>
      Bolts &amp; Nuts</a></font></p></td>
      </tr>
    </tbody></table>
    </center>
  </div>
  <p>&nbsp;</p>
  <div align="center">
    <center>
    <table style="border-collapse: collapse;" id="AutoNumber3" border="0" cellpadding="3" cellspacing="0" width="120">
      <tbody><tr>
        <td align="center" bgcolor="#ffff00"><b><font color="#ff0000" face="Arial">
        SPAM<br>
          driving<br>
        you crazy?</font></b></td>
      </tr>
      <tr>
        <td align="center" bgcolor="#ffffff">
      <font face="Arial" size="2"><b>
          <font color="#004993">In a few minutes time, you will have the easiest 
          &amp; most powerful</font> <font color="#ff0000">way to stop it...</font>
      <a href="http://www.mailsbroadcast.com/bm1/stopspam.htm" style="text-decoration: none;">Click here</a></b><a href="http://www.mailsbroadcast.com/bm1/stopspam.htm" style="text-decoration: none;"><br>
          </a><a href="http://www.mailsbroadcast.com/bm1/stopspam.htm">for more info</a></font></td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
      </tr>
    </tbody></table>
    </center>
  </div>
  <div align="center">
    <center>
    <table style="border-collapse: collapse;" id="AutoNumber2" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="3" width="120">
      <tbody><tr>
        <td>
        <p align="center">
          <b><font color="#808000" face="Verdana" size="2">
          <img src="how.email.works_files/new2.gif" border="0" height="5" width="34"></font><font color="#ff0000" face="Arial" size="2">
          Freeware<br>
        </font></b><font color="#808000" face="Arial" size="2">
        <img src="how.email.works_files/bounce.jpg" border="0" height="139" width="109"><br>
        </font><font face="Arial" size="2"><font color="#004993">Auto-manage smtp pop3 bounce email</font>
          <a href="http://www.bouncemailmanager.com/" style="text-decoration: none;">
          <b>Click here</b><br>
          </a><a href="http://www.bouncemailmanager.com/">for more info?</a></font></p></td>
      </tr>
    </tbody></table>
    </center>
  </div>
  </td></tr></tbody></table></center></div><div align="center"><center><table style="border-collapse: collapse;" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" width="650"><tbody><tr> 
  <td bgcolor="#ffffff" valign="top" width="70"> &nbsp;</td> 
  <td bgcolor="#ffffff" valign="top" width="395"><p class="MsoNormal"><span style="font-family: Verdana;"><font size="2">
  <font color="#004993"><b><br>
  Many ISP (or your)</b></font>
mail servers can be programmed to make multiple attempt delivery of
undelivered email, some up-to 250 times before returning them as
undeliverable.</font></span></p><p><font face="Verdana" size="2">
  <font color="#004993"><b>In many countries,</b></font>
local legislation requires ISP service operator to grant security
service access to the users correspondence--so, your emails are
probably stored in your ISP's system for some time before being
delivered.</font></p>
  <div align="center">
    <center>
    <table style="border-collapse: collapse;" bgcolor="#e8ffe8" border="0" cellpadding="7" cellspacing="0" width="100%">
      <tbody><tr>
        <td>
  <p align="left">
<font face="Arial"><font size="2">MailsBroadcast send emails continuously in groups of 10 (default 
  setting) or up to 250 emails per group to your ISP mail server or to your PCs mail server for distribution -- as 
  fast as your ISP or mail server can <b>cache</b> them for distribution. Therefore, 
  the speed of sending emails is not due to the MailsBroadcast program.<br>
<b>See</b>
</font>
<a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/email.speed.htm">
<font size="2">Email 
Speed</font></a></font></p>
        </td>
      </tr>
    </tbody></table>
    </center>
  </div>
  <p><font face="Verdana"><font size="2">
  <font color="#004993"><b>If you sent 500</b></font> emails to your ISP mail server, it will accept all (store them) and put them in queue for delivery or 
  you may experience </font> <b><font color="#004993" size="2">server-time-out</font></b><font size="2"> (connection terminated) because many ISP mail server are programmed to limit the amount of mail that you can sent, 
  <font color="#ff0000">by quantity or by limiting</font> the server access 
  time.</font></font></p>
  <p>
  <font color="#808080" face="Verdana" size="-1">Server-</font><font color="#800000" face="Verdana" size="-1">time-out</font><font color="#808080" face="Verdana" size="-1">, 
  if the sending and receiving mail server have different </font>
  <font color="#800000" face="Verdana" size="-1">
  timeouts</font><font color="#808080" face="Verdana" size="-1">, one of them may 
  give-up while the other is still trying and unexpectedly, terminate the 
  connection.</font></p><p>
  <font color="#004993"><b><font size="2"><span style="font-family: Verdana;">
  Many</span></font></b></font><span style="font-size: 10pt; font-family: Verdana;"><font color="#004993"><b> 
  ISP mail servers</b></font><font color="#606060"> </font> also reduce the number of <font color="#ff0000">concurrent connection</font>--meaning 
  that even thought your ISP mail server have accepted all your emails--they may 
  not be delivered or accepted by the intended recipient ISP mail server. </span>
<span style="background-color: rgb(255, 255, 255);"><font face="Verdana" size="2">
  <b><font color="#000080">See:</font></b><font color="#800000"> </font></font></span>
<font face="Verdana" size="2">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/9.server.time.out.email.faq.htm">Server-time-out
  </a>
  <font color="#000080">and i</font>dentifying mail delivery 
  failures...<b>
  See:</b>
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/smtp.return.codes.error.htm">SMTP 
  Return Error Codes</a></font></p><p><font face="Verdana"><font size="2">
  <font color="#004993"><b>Assuming that</b></font> all your 500 emails are sent to</font>
  <font color="#800000" size="2">different domain</font><font size="2"> recipients, for example:<font color="#004993"> </font>
  <font color="#606060">july_@aol.com&nbsp; march_@mail.com&nbsp;&nbsp;may_@hotmail.com</font> etc., your ISP mail server will have to deliver each of your 500 emails to 500 different ISP mail servers...</font></font></p>
  </td> <td bgcolor="#ffffff" valign="top" width="54"> &nbsp;</td> <td width="1"><p align="right"><font face="Arial">
<img src="how.email.works_files/w_002.gif" border="0" height="5" width="1"></font></p></td> <td background="how.email.works_files/z.gif" bgcolor="#808040" valign="top" width="130"><p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> 
<p align="center"><font color="#cae4ff" face="Arial"><a href="#eMail%20Broadcast" style="text-decoration: none;"> <font color="#cae4ff">To top of page</font></a></font></p> </td></tr></tbody></table></center></div>
<div align="center">
  <center><table style="border-collapse: collapse;" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" width="650"><tbody><tr> 
    <td bgcolor="#ffffff" width="69">&nbsp;<p align="center"><font face="Arial" size="2"> <br> &nbsp;</font></p> </td>
    <td bgcolor="#ffffff" width="396"> <p><font face="Verdana"><font size="2">
    <b>
  <font color="#800000"><br>
    </font>
    </b> </font> <b> <font color="#004993" size="2"><a name="The Conversation">The Conversation</a></font></b></font><br>
    <font color="#004993" face="Verdana" size="2">H</font><font face="Verdana" size="2">ow 
    two
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/44.message.transfer.agent.email.faq.htm">
    MTAs</a><a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/44.message.transfer.agent.email.faq.htm" style="text-decoration: none;">
    
    </a>
    </font>
  <font face="Verdana" size="2">(Message Transfer Agent)</font><font color="#ff0000" face="Verdana" size="2"> </font>
  <font face="Verdana" size="2">communicate with each 
  other using a single TCP connection?</font></p> <p>
    <font face="Verdana" size="2">
    <b>
  <font color="#004993">After your ISP</font></b><font color="#004993"> </font>
    mail server have collected all your emails, put them in queue and then send 
    them out--to each recipient ISP mail server by establishing a conversation 
    with a </font>  
  <font color="#004993" face="Verdana" size="2"><a name="SMTP server">SMTP server</a></font><font face="Verdana" size="2">--connecting to  </font>
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/port.numbers.htm">
    <span style="font-size: 10pt; font-family: Verdana;"> port 25</span></a><font face="Verdana" size="2"> on the 
    recipient SMTP mail server and wait for it to identify itself first....</font></p> <p>
    <font face="Verdana" size="2">...the recipient mail server will tell the 
    sending server if it is prepared to receive mail</font><font face="Verdana" size="-1">--<font color="#ff0000">if not</font>--the sending 
  mail server terminate the connection and try again later...</font></p> <p>
    <font face="Verdana" size="-1">...after a predetermined undeliverable 
    attempts, all undeliverable message will be returned </font><font face="Verdana" size="2">(<span lang="EN"><font color="#004993"><a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/rfc821.txt">rfc 821</a></font></span>)</font><font face="Verdana" size="-1"> with an error report containing the 
  first part (</font><font face="Verdana" size="2"><a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/3.faq.email.broadcast.htm">message 
  headers</a></font><font face="Verdana" size="-1">) to the sender mail server.</font></p> <p>
  <font color="#808080" face="Verdana" size="-1">Server-</font><font color="#800000" face="Verdana" size="-1">time-out</font><font color="#808080" face="Verdana" size="-1">, 
  if the sending and receiving mail server have different </font>
  <font color="#800000" face="Verdana" size="-1">
  timeouts</font><font color="#808080" face="Verdana" size="-1">, one of them may 
  give-up while the other is still trying and unexpectedly, terminate the 
  connection.</font></p> 
    <p align="left">
  <font face="Verdana" size="2">
  <font color="#004993"><b>Basically, email consist of:</b></font><br>
  (<font color="#ff0000">1</font>) The <b>envelope</b>&nbsp;&nbsp; (<font color="#ff0000">2</font>)
    <a href="http://www.mailsbroadcast.com/email.broadcast.faq/3.faq.email.broadcast.htm">headers</a>&nbsp;&nbsp; 
  (<font color="#ff0000">3</font>) Message<b> body</b></font></p>
    <p align="left">
  <font face="Verdana" size="2">
  (<font color="#ff0000">1</font>) </font><b><font face="Verdana" size="2">
  Envelope</font></b><br>
  <font face="Verdana" size="2"> <span lang="EN"> <font color="#004993">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/rfc821.txt">rfc 821</a></font></span> specifies the contents and interpretation of the
  <b><font color="#808000">envelope--used</font></b> by the
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/44.message.transfer.agent.email.faq.htm">
    MTAs</a>
  for delivery specified by these two SMTP commands (<font color="#808000">MAIL 
  From:</font> and <font color="#808000">RCPT To:</font>)<font color="#808080"><br>
  </font>
  <br>
  <b><font color="#808000">MAIL From:</font></b><font color="#808080">&lt;mable@sun.tuc.test.org&gt;</font><br>
  <b><font color="#808000">RCPT To:</font></b><font color="#808080">&lt;mable@test.org&gt;</font></font></p>
    <p align="left">
  <font face="Verdana" size="2">
  (<font color="#ff0000">2</font>)
    <a href="http://www.mailsbroadcast.com/email.broadcast.faq/3.faq.email.broadcast.htm">headers</a> are used by the 
  <font color="#ff00ff">user agent</font> and each header field contains a name, followed by a colon, followed by the field 
  value.<br>
  </font><font color="#9f9fff" face="Verdana" size="2"><b>Received:</b> </font>
  <font color="#808080" face="Verdana" size="2">by sun.tuc.test.org. (4.1/SMI-4.1)<br>
  id AA01301; Tue, 21 May 98 11:37:22 MST</font><font color="#800000" face="Verdana" size="2"><br>
          </font><font color="#9f9fff" face="Verdana" size="2">
          <b>Message-Id:</b></font><font color="#800000" face="Verdana" size="2">
          </font><font color="#808080" face="Verdana" size="2">&lt;6210181836.AA00502@sun.tuc.test.org.&gt;</font><font color="#800000" face="Verdana" size="2"><br>
          </font><font color="#9f9fff" face="Verdana" size="2"><b>From:</b> </font>
  <font color="#808080" face="Verdana" size="2">mable@sun.tuc.test.org (Mable 
          Merliney)</font><font color="#9f9fff" face="Verdana" size="2"><br>
  <b>Reply-To:</b> </font><font color="#808080" face="Verdana" size="2">mable@test.org</font><font color="#9f9fff" face="Verdana" size="2"><br>
  <b>X-Phone:</b> </font><font color="#808080" face="Verdana" size="2">+0 202 671 2761</font><font color="#9f9fff" face="Verdana" size="2"><br>
  <b>X-Mailer:</b> </font><font color="#808080" face="Verdana" size="2">Mail User’s Shell (9.1.0 12/02/98)</font><font color="#9f9fff" face="Verdana" size="2"><br>
  <b>To: </b></font><font color="#808080" face="Verdana" size="2">mable@test.org</font><font color="#9f9fff" face="Verdana" size="2"><br>
  <b>Subject:</b> </font><font color="#808080" face="Verdana" size="2">testing</font><font face="Verdana" size="2"><br>
  <br>
  Headers beginning with an X- are user-defined fields and
  RFC 822 specifies the format and interpretation of the header fields. </font></p>
    <p align="left">
  <font face="Verdana" size="2">
  (<font color="#ff0000">3</font>) Message <b>body</b> is the content of the message from the sender to the 
  recipient and transferred using the DATA command--the headers are sent first,
  followed by a blank line, followed by the body.
  Each line transferred using the DATA command must be less than 1000 bytes.</font></p>
    <p align="left">
  <font face="Verdana" size="2">The user agent takes what the sender specify as a body,
  adds some headers and passes the result to the <font color="#800000"><b>MTA</b></font><br>
  The <font color="#800000"><b>MTA</b></font> adds a few headers, adds the envelope and sends the result to another 
  <font color="#800000"><b>MTA</b></font>.</font></p>
    <p align="left">
  &nbsp;</p>
    <p>
    <font color="#004993" face="Verdana" size="2"><b>Operational Sequent of:<br>
    SMTP </b>Simple Mail Transfer Protocol</font></p><p><font face="Verdana"><font size="2">
  A </font> <b><font color="#004993" size="2">HELO</font></b><font size="2"> command and 
  recipient mail server identify its self--at this stage--it may decide to terminate the connection--if it 
    don't want to talk to the sender for example: 
  mailbox full or blocked, etc., if it is accepted...</font></font></p>
    <p><font face="Verdana"><font size="2">
  A <font color="#004993"><b>Mail-</b></font></font><font color="#004993" size="2"><b>FROM</b></font><font size="2"><font color="#004993">
    </font>command is issued by the sender mail server, followed by the 
  <font color="#800000">from (sender) address</font>--again, the mail server may decide to terminate the connection, if it does not wish to receive mail from the sender...</font></font></p>
    <p><font color="#808080" face="Verdana" size="2">...at this stage, m</font><font face="Verdana"><font color="#808080" size="2">ost mail servers will conduct a </font><b> 
    <font color="#808080" size="2">reverse 
    lookup </font></b><font color="#808080" size="2">nslookup on the domain name specified for the </font> <b>
    <font color="#808080" size="2">HELO</font></b><font color="#808080" size="2"> or</font><b><font color="#808080" size="2"> FROM</font></b><font color="#808080" size="2"> command 
    and if the IP address of the sender mail server is not registered (<b>see</b>
    <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/5.faq.mailserver.htm#About%20MX%20or%20Mail%20Exchangers">
    MX records</a>) to that domain--considered 
  an (imposter)</font><font size="2"><font color="#808080"> </font> <b>
    <font color="#808080">non-local</font></b><font color="#808080">--the 
  connection terminated and </font><font color="#800000">if it is accepted...</font></font></font></p>
    <p><font face="Verdana"><font size="2">A</font><b><font color="#000080" size="2"> </font>
    <font color="#004993" size="2">RCPT-TO</font></b><font size="2"><font color="#004993">
    </font>command is issued, followed by the  email address of the intended recipient--at this point, the mail server may reject 
  emails sent to the specified address, ie; </font> <b> <font color="#800000" size="2">
  non local user</font></b><font size="2">--if all goes well at this stage, your ISP mail server may issue multiple</font><b><font color="#000080" size="2"> </font>
    <font color="#004993" size="2">RCPT-TO</font></b><font size="2"><font color="#004993">
    </font>commands to the server thus </font> 
  <font color="#800000" size="2">adding</font><font size="2"> more recipients to the 
    message:</font></font></p><p><font face="Verdana"> 
  <font color="#800000" size="2">adding</font><font size="2"> more--</font></font><font color="#606060" face="Verdana" size="2">means that, if you 
    have 100 AOL email recipients, all of them are all delivered 
    to the mail server.</font><font face="Verdana"><font size="2"> When it is through with adding recipients, it issues the</font><font color="#000080" size="2">...</font></font></p><p><font face="Verdana"><b>
    <font color="#004993" size="2">DATA</font></b><font size="2"> command to the server 
  and if it is accepted ....at this point--again, the mail server may reject emails 
  being delivered...</font></font></p><p><font face="Verdana" size="2">A&nbsp;</font><font face="Verdana"><b><font color="#004993" size="2">DATA</font></b><font size="2">
command is accepted and your ISP mail server proceeds to send the
message headers, followed by a blank line, followed by the message body
and file attachment data. When it is done with sending the message
data, it sends a carriage return, followed by a period, followed by a
carriage return, to indicate the <font color="#ff0000">end</font> of the message...</font></font></p>
    <p><font face="Verdana"><font size="2">
  A&nbsp;</font><b><font color="#004993" size="2">QUIT</font></b><font size="2"> 
    command is issued to terminate the conversation </font></font>
  <font face="Verdana" size="2">If you have sent 500 emails and all of them are 
    to 500 different email domain, the above process is repeated with each 
  and every 500 different ISP mail server.</font></p> 
    <div align="center">
      <center>
      <table style="border-collapse: collapse;" bgcolor="#e8ffe8" border="0" cellpadding="5" cellspacing="0" width="100%">
        <tbody><tr>
          <td>
  <p class="MsoNormal">
  <font face="Arial" size="2"><font color="#800000">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/4.faq.email.broadcast.htm#What%20is%20a%20mail%20Daemon" style="font-weight: 700;">Email Daemon</a></font> 
  - An email software program residing in a mail server that manage incoming and 
  outgoing mails.</font></p>
          </td>
        </tr>
      </tbody></table>
      </center>
    </div>
    <p align="left">
  <font face="Verdana">
<b><font color="#004993" size="2">If your are sending emails using your own mail server 
  program. </font></b><font size="2">Emails will first be sent from your email client to your mail server for delivery and if you are 
off-line (not connected to the Internet) your mail server will <b>cache</b> or 
store them in queue for delivery--And follow 
  the same SMTP protocols as 
  <a href="#The%20Conversation">described above</a> 
  it 
  makes no difference, whether it is your own mail server or your ISPs mail server. </font></font></p> 
    <p align="left">
  <font color="#004993" face="Verdana" size="2">H</font><font face="Verdana" size="2">ow 
  two </font>
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/44.message.transfer.agent.email.faq.htm">
  <font face="Verdana" size="2">
  MTAs </font></a>
  <font face="Verdana" size="2">(Message Transfer Agent)</font><font color="#ff0000" face="Verdana" size="2"> </font>
  <font face="Verdana" size="2">communicate with each 
  other using a single TCP connection. A </font> <font face="Verdana">
  <font size="2">typical 
  transcript conversation between two mail server (below)</font><font color="#004993" size="2"><b>.
  </b> </font> <font size="2">SENDER in<b> bold </b>and the<b> </b>
  <font color="#ff0000">5 SMTP</font> email transaction commands. 
  <font color="#800000">220, 250, 
  345?  </font><b>See:</b> </font></font><font face="Verdana" size="2">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/smtp.return.codes.error.htm">
  SMTP Return Codes</a></font></p> </td><td bgcolor="#ffffff" width="54">&nbsp;</td><td width="1"><p align="right"><font face="Arial" size="2">
  <img src="how.email.works_files/w_002.gif" border="0" height="5" width="1"></font></p></td> <td background="how.email.works_files/z.gif" bgcolor="#808000" valign="top" width="130"> <p align="center"><br> &nbsp;</p> <p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center"><font color="#cae4ff" face="Arial"><a href="#eMail%20Broadcast" style="text-decoration: none;"> <font color="#cae4ff">To top of page</font></a></font></p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><div align="center">
      <center>
      <table style="border-collapse: collapse;" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="3" width="120">
        <tbody><tr>
          <td>
  <font face="Arial" size="2"><font color="#ff00ff"><b>User Agent?<br>
          </b></font> A 
          program (ie: Eudora) or editor that let users create, edit, compose, 
          store and send mails to a mail server, polls a mail server for mails, 
          download and display mails, as well as using </font>
  <font color="#800000" face="Arial" size="2">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/pop3.protocol.htm">POP3</a></font><font face="Arial" size="2"> 
          to talk to mail servers.</font></td>
        </tr>
      </tbody></table>
      </center>
    </div>
    <p align="center"><br>
&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><div align="center">
      <center>
      <table style="border-collapse: collapse;" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="3" width="120">
        <tbody><tr>
          <td>
  <font face="Arial" size="2">
          <b>Message Transfer Agent</b> </font>
  <font face="Verdana" size="2">(<b><a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/44.message.transfer.agent.email.faq.htm" style="text-decoration: none;">MTA</a></b>) </font>
  <font face="Arial" size="2">
  the exchange of mail using
  <a href="http://www.mailsbroadcast.com/email.broadcast.faq/37.tcp.ip.email.faq.htm" style="font-weight: 700;">
  TCP/IP</a> is performed by <b>MTA</b> that defines how email messages are transmitted between 
  two users. </font></td>
        </tr>
      </tbody></table>
      </center>
    </div>
    </td></tr></tbody></table> 
  </center>
</div>
<div align="center">
  <center>
  <table style="border-collapse: collapse;" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="800">
    <tbody><tr>
      <td width="12">&nbsp;</td>
      <td valign="top" width="362">
  <font color="#004993" face="Arial" size="2"><b><br>
  </b></font>
  <font face="Arial" size="2">220 mailhost.immxx-isp.com ESMTP Sendmail 8.8.5/1.4/8.7.2/1.13; Tue, Mar 18 
  1997 14:38:58 -0800 (PST)<br>
      <br>
  <font color="#ff0000">HELO</font><b> mail.sender.org<br>
  </b><font color="#808080">250 mailhost.immxx-isp.com&nbsp; Hello mail.sender.org</font></font><p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>
  <font face="Arial" size="2"><br>
  <font color="#ff0000">MAIL FROM</font><b><font color="#000080">:</font> antispam@sender.org</b><br>
  250 antispam@sender.org... Sender ok</font></p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>
  <font face="Arial" size="2"><br>
      <br>
  <font color="#ff0000">RCPT TO</font><b><font color="#000080">:</font> myfriend@immxx-isp.com</b><br>
  250 myfriend@immxx-isp.com... Recipient ok</font></p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>
  <font face="Arial" size="2"><br>
  <font color="#ff0000">
  DATA</font><br>
  354 Enter mail, end with "<b>.</b>" on a line by itself<br>
  <font color="#ff0000">Received</font><b><font color="#004993">:</font> from alpha.sender.org (alpha.sender.org [124.211.3.11]) by 
  mail.sender.org (8.8.5) id 004A21; Tue, Mar 18 1997 14:36:17 -0800 (PST)<br>
      <font color="#808080">From: antispam@sender.org (Anti-Spammer)<br>
  To: myfriend@immxx-isp.com<br>
  Date: Tue, Mar 18 1997 14:36:14 PST<br>
  Message-Id: &lt;antispam031897143614-00000298@mail.sender.org&gt;<br>
  X-Mailer: Microsoft Outlook Express 5.50.4133.2400<br>
  Subject: Meeting this evening?<br>
  Let's go to the movie after dinner?</font><br>
  <br>
  --antispam.<br>
  </b>250 LAA20869 Message accepted for delivery</font></p>
      <p>
  <font face="Arial" size="2">
  <font color="#ff0000">
  QUIT</font><br>
  221 mailhost.immxx-isp.com closing connection</font></p>
      <div align="center">
        <center>
        <table style="border-collapse: collapse;" bgcolor="#e8ffe8" border="0" cellpadding="0" cellspacing="0" width="100%">
          <tbody><tr>
            <td><font face="Arial" size="2"><b><br>
            <br>
            Example of undeliverable notification<br>
      </b>in 
      respond to a message send by<br>
      <b><font color="#808080">john@</font><font color="#800000">MAIL</font></b><font color="#800000">
      </font>&nbsp;via <b><font color="#800000">&nbsp;</font><font color="#ff00ff">mail2</font></b>&nbsp; 
      to <b>&nbsp;mail3</b>&nbsp; with<br>
      relay instructions to
      <font color="#60aeae"><b>mail4 </b></font></font>
      <p><font face="Arial" size="2">S: MAIL FROM:&lt;&gt;<br>
      R: 250 ok<br>
      S: RCPT TO:&lt;@<font color="#ff00ff"><b>MAIL2</b></font><b>.</b>ARPA<b>:</b>JOHN@<font color="#800000"><b>MAIL</b></font><b>.</b>ARPA&gt;<br>
      R: 25O ok<br>
      S: DATA<br>
      R: 354 send the mail data, end with <b>.</b><br>
      S: Date:&nbsp; 23 Nov 19&nbsp; 10:21:23<br>
      S: From: SMTP@<b>MAIL3</b><br>
      S: To:&nbsp;&nbsp;&nbsp;&nbsp; JOHN@<b><font color="#800000">MAIL</font><font color="#808080">.</font></b>ARPA<br>
      S: Subject: Mail System Problem<br>
      S:<br>
      S: Sorry JOHN, your message to ANN@<font color="#60aeae"><b>MAIL4.</b></font>ARPA 
      lost<br>
      S: <font color="#60aeae"><b>MAIL4.</b></font>ARPA said this:<br>
      S: "550 No Such User"<br>
      S:<br>
      R: 250 ok</font></p><p>&nbsp;</p></td>
          </tr>
        </tbody></table>
        </center>
  </div>
      </td>
      <td width="6">&nbsp;</td>
      <td valign="top" width="484"><font face="Arial" size="2"><font color="#ff0000">
      <br>
      <br>
      HELO</font> command, identifies the sending 
  mail machine;<br>
  <b>HELO 
  mail.sender.org </b>to the receiving mail machine...<br>
      <font color="#808080"><b><br>
      and receiving mail machine to the sending machine;<br>
      </b></font></font>
  <font color="#808080" face="Arial" size="2">250 mailhost.immxx-isp.com&nbsp; Hello mail.sender.org</font><p><font face="Arial" size="2">At this initial stage <b>NO</b> transaction takes place, 
  the receiving 
  machine can terminate the process with a 
      <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/smtp.codes.command.group.htm">501 failure reply</a> and the sending machine will try again or return the mail as undeliverable.<font color="#808080"><br>
  At the </font><font color="#ff0000">HELO </font>
        <font color="#808080">command, the sender can lie, nothing can 
  prevents </font>
  <font color="#800000">mail.sender.org</font><font color="#808080"> from saying  </font>
  <font color="#ff0000">HELO</font><font color="#004993"> </font>
  <font color="#800000">makemoney.gov</font><font color="#808080">  </font>
  <font color="#808080">that's how spammers fake and mask their message headers.</font></font><br>
  --------------------------------------------------------<font color="#ff0000" size="2"><font face="Verdana"><br>
  <br>
  </font> 
  <font face="Arial">MAIL FROM</font></font><font face="Arial" size="2"> 
  command, initiates mail processing and the address given turns into <b>From: </b> </font>
  <font color="#808000" face="Arial" size="2">antispam@sender.org</font>--<font color="#004993" face="Arial" size="2">the sender email can be 
  valid, invalid or fake--in short; the sender can use just about any email<br>
  </font>
  <font color="#808080" face="Arial" size="2"><br>
  This is where </font>
        <font face="Arial">
        <font color="#808080" size="2">most mail servers will conduct a <b>
  nslookup</b></font><font size="2">
        <font color="#808080">on the domain name specified for the</font> </font> 
    <font color="#004993" size="2">HELO</font><font size="2"> <font color="#808080">and</font></font><b><font color="#000080" size="2"> </font>
    </b>
    <font color="#004993" size="2">FROM</font><font size="2"> <font color="#808080">
  --if the sender machine IP address is not registered (</font></font><font color="#808080" size="2"><b>see</b>
  <a target="_blank" href="http://www.mailsbroadcast.com/email.broadcast.faq/5.faq.mailserver.htm#About%20MX%20or%20Mail%20Exchangers">
  MX records</a></font><font size="2"><font color="#808080">) to that domain--will 
  be considered 
  an</font> </font><font color="#800000" size="2">imposter or</font><font size="2"> <b>
    <font color="#808080">non-local</font></b><font color="#808080">--the 
  connection terminated.</font></font></font><font face="Arial" size="2"><br>
  At this stage, the receiving mail machine can terminate the 
  process, the sending machine will try again 
  or return the mail as undeliverable.<br>
  ----------------------------------------------------------------------------------</font></p>
  <p><font face="Arial"><font color="#ff0000" size="2">RCPT TO</font><font size="2"> 
  command, specifies
  </font></font>
  <font face="Arial" size="2">and identify the intended recipient of the mail  <b>
  myfriend@immxx-isp.com </b>and the given address becomes 
  the <b>To:</b> </font><font face="Arial"><font size="2">that determines who the mail will be delivered to,
  </font><font color="#ff0000" size="2">regardless</font><font size="2"> of what the</font><font color="#ff0000" size="2">
  </font><font size="2"> <b>To:</b></font><font color="#ff0000" size="2">
  </font><font size="2">line in the message says</font></font><font face="Arial" size="2">--at 
  this point, the mail server can still reject the  mail. </font>
  <font color="#808080" face="Arial" size="2">RCPT TO is also used 
        to identify multiple recipients within the same domain by multiple use 
        of this command and if the mail contains a <b>forward path</b> (FW to 
        someone not local) and if the receiving machine do not allow <b>relay</b> the mail will be returned as: </font>
  <font face="Arial" size="2">550 Unknown local user</font><font color="#808080" face="Arial" size="2"><b><br>
  </b>
  -------------------------------------------------------------------------------</font></p>
  <p><font face="Arial"><font color="#ff0000" size="2">DATA</font><font size="2"> 
  command, starts the mail input and <b>the receiving machine must process the transaction,</b> store the mail and send an OK 
  reply to the sending machine. </font></font> <font face="Arial" size="2">If 
  the the transaction failed (at this point) the receiving machine must send a 
  <font color="#808080">503 </font></font>
  <span style="font-size: 10pt; font-family: Arial;">
  <font color="#808080">encountered bad sequence of commands</font><font color="#004993"><b>
  
  </b></font></span> <font face="Arial" size="2">failure reply to the sending machine.<br>
  <br>
  When the receiving machine accepts a message 
  either for relaying or for local delivery, it inserts a time line to indicates the identity of the host that send the mail 
  and the host that receive the mail. (Relayed mails will have multiple time 
  lines.<font color="#ff0000"><br>
  Received</font><b><font color="#004993">:</font> from alpha.sender.org (alpha.sender.org [124.211.3.11]) by 
  mail.sender.org (8.8.5) id 004A21; Tue, Mar 18 1997 14:36:17 -0800 (PST)<br>
  </b>
  ------------------------------------------------------------------------------</font></p>
  <p><font face="Arial"><font color="#ff0000" size="2">QUIT</font><font size="2"> 
  command, the receiving machine must send an OK reply to the 
  sending machine--<font color="#800000">at 
  this point</font>--the receiving machine do not close the transmission 
  yet--until it receives and reply to the QUIT command from the sender machine. The sender machine 
  will also not close the transmission until it sends the QUIT command 
  and receives a reply.</font></font></p>
  <p><font face="Arial" size="2"><font color="#808080">If the connection is closed prematurely, 
  a 504 command not implemented failure reply to the sending machine and the receiving 
  machine will act as if a</font> <font color="#ff0000">RSET</font>
  <font color="#808080">command had been received, cancel pending 
  transaction due to temporary error. </font><font color="#ff0000">RSET</font> 
  command, specify that; current mail 
  transaction is to be aborted and the receiver machine must send an OK reply.</font></p>
  <p>
  <font face="Verdana" size="2"><b>RSET</b> command aborts current mail 
  transaction and causes both ends to reset and any stored information about sender, recipients or mail data is discarded.</font></p>
  <p>
      <font face="Verdana" size="-1">A mail transaction may be aborted by the RSET 
  command.</font></p>
  <p>
      &nbsp;</p>
  <p>
      <font face="Verdana" size="-1"><font color="#ff0000">QUIT</font> command 
      is the last session and it cannot be used at any other time during a session.</font></p>
  <p>
      <font face="Verdana" size="-1">If the transaction beginning command 
  argument is not acceptable a 501 failure reply must be returned.</font></p>
  <p>
      <font face="Verdana" size="-1">If the commands in a transaction are <b>out 
  of order</b> a 503 failure reply must be returned. </font></p>
      </td>
      <td width="15">&nbsp;</td>
    </tr>
  </tbody></table>
  </center>
</div>
<div align="center"> <center><table style="border-collapse: collapse;" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" width="650"><tbody><tr> 
  <td bgcolor="#ffffff" valign="top" width="67">
  <p align="center"><font color="#ffffff" size="2">.</font></p>
  <p>&nbsp;</p>
  <p align="center"><font face="Arial" size="2"> <br> &nbsp;</font></p> </td>
  <td bgcolor="#ffffff" width="414"> 
  <font color="#ff0000" face="Verdana" size="2">SMTP has a few more 
  commands:</font><p>
      <font face="Verdana" size="-1"><b>SEND</b> </font>
  <font face="Verdana" size="2">command </font>
      <font face="Verdana" size="-1"><b>SOML</b> </font>
  <font face="Verdana" size="2">command</font><font face="Verdana" size="-1"> <b>SAML
  </b></font>
  <font face="Verdana" size="2">command</font><br>
      <font face="Verdana" size="-1">begin a mail 
      transaction, once started a mail transaction consists of HELO, MAIL FROM 
  and one or more RCPT commands, follows by DATA 
      command. </font>
  <font color="#800000" face="Verdana" size="2">They (SEND SOML SAML) replace 
  the MAIL command and allow mails to be delivered directly to the recipient 
  mailbox or user terminal.</font></p>
  <p><font face="Verdana" size="2"><b>Help</b> command </font>
      <font face="Verdana" size="-1">ask the receiver machine to send help 
  information to the sender HELP request command.</font></p>
  <p>
  <font face="Verdana" size="2"><b>RSET</b> command that aborts current mail 
  transaction and causes both ends to reset and any stored information about sender, recipients or mail data is discarded.</font></p>
  <p>
  <font face="Verdana" size="2"><b>VRFY</b> command lets the client ask the 
  sender to verify a recipients address, identifies a user, name, specified 
  mailbox and returned a reply, without sending mail to the recipient. </font>
  </p>
  <p>
  <font face="Verdana" size="2"><b>NOOP</b> command force the server to respond with an OK 
  reply code <font color="#000080"><b>200</b></font> - NOOP command does nothing 
  else.</font></p>
  <p>
  <font face="Verdana" size="2"><b>EXPN</b> expands a mailing list, </font><font face="Verdana" size="-1">
  asks the receiver to confirm that the argument identifies a mailing list, and 
  if yes, return the membership of that list with full name of the users and 
  specified mailboxes.</font></p>
  <p>
  <font face="Verdana" size="2"><b>TURN</b> command lets the client and server switch roles,<br>
  to send mail in the reverse direction without having to create a new one TCP 
  connection. The receiver </font>
      <font face="Verdana" size="-1">must send an OK reply and then take 
      on the role of the sender-SMTP <font color="#800000"><b>or send a refusal</b></font> 
      502 reply and retain the role of the receiver-SMTP.</font></p>
  <p>
      <font face="Verdana" size="-1"><b>HELP</b>,<b> NOOP</b>,<b> EXPN</b>, and  <b>VRFY</b> commands 
  can be used at any time during a session between SMTP mail machine.<br>
&nbsp;</font></p>
  <p align="center"><font face="Verdana"><b><font color="#004993" size="2">SMTP is fully 
  defined in</font><font color="#800000" size="2"> </font> 
  </b>
  <font size="2">RFC 821<br>
  </font></font>
  <font face="Verdana" size="2"><span lang="EN"> <b><font color="#004993">
  <a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/rfc821.txt">rfc2821</a></font></b><a target="_blank" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/rfc821.txt"> for the 
  basic specification of SMTP</a></span></font><font color="#004993" face="Verdana" size="2"><b><br>
  </b></font><font face="Verdana" size="2">It is worth
  reading to sheds light on the 
  mysteries
  and&nbsp;intricacies of email processing.</font></p><p align="center">
  <font color="#606060" face="Verdana" size="2">&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;</font></p><p align="center">&nbsp;</p><div align="center">
    <center>
    <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="1" width="389">
      <tbody><tr>
        <td width="121">&nbsp;</td>
        <td width="150"><p align="center"><font face="Arial" size="2"> <a style="text-decoration: none;" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/1.index.email.bolts&amp;nuts.htm">&lt;&lt;back to&gt;&gt;</a><br> <a style="text-decoration: none;" href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/1.index.email.bolts&amp;nuts.htm">eMail Bolts&amp;Nuts</a></font></p><hr>
        </td>
        <td width="117">&nbsp;</td>
      </tr>
    </tbody></table>
    </center>
  </div>
  <p>&nbsp;</p>
  <p>&nbsp;</p></td> <td bgcolor="#ffffff" width="38">&nbsp;</td><td width="1"><p align="right"><font face="Arial" size="2">
  <img src="how.email.works_files/w_002.gif" border="0" height="5" width="1"></font></p></td> <td background="how.email.works_files/z.gif" bgcolor="#808000" valign="top" width="130"> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> 
  <p align="center"><br>
&nbsp;</p> 
  <div align="center">
    <center>
    <table style="border-collapse: collapse;" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="3" width="120">
      <tbody><tr>
        <td>
  <b>
    <font color="#800000" face="Arial" size="2">Command</font></b><font color="#808080" face="Arial" size="2"> </font>
    <font face="Arial" size="2">- a request for mail 
    service action sent by the sender SMTP to the receiver SMTP</font></td>
      </tr>
    </tbody></table>
    </center>
  </div>
  <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p><p align="center">&nbsp;</p></td></tr></tbody></table> </center></div>
<div align="center">
  <center><table style="border-collapse: collapse;" border="0" bordercolor="#111111" cellpadding="0" cellspacing="0" width="650"><tbody><tr><td bgcolor="#ffffff">
    <p align="center"><br>
    <font face="Arial" size="2"> <a href="http://www.mailsbroadcast.com/ecrm.archive.01.htm">Art of eMail CRM</a>&nbsp;|&nbsp;<a href="http://www.mailsbroadcast.com/email.bolts&amp;nuts/1.index.email.bolts&amp;nuts.htm">eMail Bolts&amp;Nuts</a></font><br>
    <font face="Arial" size="2"><a href="http://www.mailsbroadcast.com/index.htm">Home</a>&nbsp;|&nbsp;<a href="http://www.mailsbroadcast.com/help.contact.us.htm">Contact Us</a> |&nbsp;<a href="http://www.mailsbroadcast.com/privacy.policy.htm">Privacy Policy</a> | <a href="http://www.mailsbroadcast.com/form.guest.book.htm">Guest Book</a> |<b>&nbsp;</b><a href="http://www.mailsbroadcast.com/useful.sites/1.index.useful.sites.htm">Useful Sites</a></font><br>
    <font face="Arial" size="2"><a href="http://www.mailsbroadcast.com/help.support.htm">Support</a> |<b>&nbsp;</b><a href="http://www.mailsbroadcast.com/purchase.htm">Purchase</a>&nbsp;|&nbsp;<a href="http://www.mailsbroadcast.com/product.info.htm">Product Info</a> |<b>&nbsp;</b><a href="http://www.mailsbroadcast.com/quick.tour-1.htm">Quick Tour</a>&nbsp;| <a href="http://www.mailsbroadcast.com/download.ecrm.freeware.htm">eMail CRM Freeware</a></font><br>
    <font face="Arial" size="2">
  <img src="how.email.works_files/w.gif" alt="Line with surfer" border="0" height="31" width="490"></font></p>
    <p align="center"><font color="#808080" face="Arial" size="2">©Copyright June 2002&nbsp; Permission to re-print, please <a style="text-decoration: none;" href="http://www.mailsbroadcast.com/help.copyright.htm"> <font color="#808080">click here</font></a></font></p><p align="center">&nbsp;</p> 
    <p align="left"> <font face="Arial" size="2"> Keywords: </font>
              <font color="#808080" face="Arial" size="2">Email strategy ezine 
              email strategies Emails broadcast emails broadcasting eMails ecrm 
              emailing eCRM E-mail Ecrm e-mail e-crm Emails crm e-mails bulk CRM 
              e-mailing promoting marketing e-Mailing sales Mail selling&nbsp; 
              mail e-marketing shareware Mails customise Shareware mails 
              customised freeware Mailing customize Freeware mailing anti spam 
              customized mass group broadcast Anti Spam Spamming abuse</font></p> </td><td width="1"><p align="right"><font face="Arial" size="2">
  <img src="how.email.works_files/w_002.gif" border="0" height="5" width="1"></font></p></td> <td background="how.email.works_files/z.gif" bgcolor="#808000" valign="top" width="130"> 
    <div align="center">
      <center>
      <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody><tr>
          <td width="100%">
          <p align="center">
        <font color="#cae4ff" face="Verdana" size="2">Any feed-back or suggestions? Please<br> 
        </font><font color="#000080" face="Verdana" size="2">
        <a href="http://www.mailsbroadcast.com/form.feedback.htm"> 
        <font color="#cae4ff">Drop us a note</font></a></font><font face="Arial" size="2"><br>
          <a href="http://www.mailsbroadcast.com/form.feedback.htm"> 
    <img src="how.email.works_files/zban.gif" alt="email icon" border="0" height="94" width="94"></a></font></p></td>
        </tr>
      </tbody></table>
      </center>
    </div>
    <p align="center"><font color="#cae4ff" face="Arial"><a href="#eMail%20Broadcast" style="text-decoration: none;"> <font color="#cae4ff">To top of page</font></a></font></p>
    </td></tr></tbody></table> 
  </center>
</div>

</body>
</pre>


]]></description>
</item>

</channel>
</rss>
