On Thu, 26 Jan 2006 16:31:28 EST, "linux-os (Dick Johnson)" said: > "It doesn't...." even though I can run sendmail by hand, using > telnet port 25, over the network, and know that the "." in the > first column is the way it knows the end-of-message after it > receives the "DATA" command. Right. That's how an MTA talks to another MTA. However, your mail needs to be properly escaped. RFC821, section 4.5.2: 4.5.2. TRANSPARENCY Without some provision for data transparency the character sequence "<CRLF>.<CRLF>" ends the mail text and cannot be sent by the user. In general, users are not aware of such "forbidden" sequences. To allow all user composed text to be transmitted transparently the following procedures are used. 1. Before sending a line of mail text the sender-SMTP checks the first character of the line. If it is a period, one additional period is inserted at the beginning of the line. 2. When a line of mail text is received by the receiver-SMTP it checks the line. If the line is composed of a single period it is the end of mail. If the first character is a period and there are other characters on the line, the first character is deleted. In other words, the on-the-wire protocol is specifically designed so that you *cant* accidentally lose the rest of the message by sending a bare '.'. The fact that some programs implement it when talking to the user is merely a convenience hack on the program's part.
Attachment:
pgpzUBureP5LJ.pgp
Description: PGP signature
- References:
- e100 oops on resume
- From: Stefan Seyfried <[email protected]>
- Re: e100 oops on resume
- From: Mattia Dongili <[email protected]>
- Re: e100 oops on resume
- From: Olaf Kirch <[email protected]>
- Re: e100 oops on resume
- From: Olaf Kirch <[email protected]>
- Re: sched_yield() makes OpenLDAP slow
- From: Howard Chu <[email protected]>
- Re: sched_yield() makes OpenLDAP slow
- From: "Christopher Friesen" <[email protected]>
- pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Howard Chu <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Lee Revell <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Howard Chu <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Nick Piggin <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Howard Chu <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Nick Piggin <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Howard Chu <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Nick Piggin <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Howard Chu <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: "linux-os \(Dick Johnson\)" <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Nick Piggin <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: "linux-os \(Dick Johnson\)" <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: Nick Piggin <[email protected]>
- Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- From: "linux-os \(Dick Johnson\)" <[email protected]>
- e100 oops on resume
- Prev by Date: Re: [BUG] debugfs: hard link count wrong
- Next by Date: Re: [patch 8/9] slab - Add *_mempool slab variants
- Previous by thread: Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- Next by thread: Re: pthread_mutex_unlock (was Re: sched_yield() makes OpenLDAP slow)
- Index(es):