diff options
| author | Sam Varshavchik | 2013-08-25 20:54:43 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2013-08-28 21:07:40 -0400 | 
| commit | 9bb1a8d85390653f702e8ad5556a2cd3793acbfe (patch) | |
| tree | 2aafb33608ec6c69182e00364d324f845a3e7325 /maildrop/mio.h | |
| parent | 2ec3d0c52bff3e27242ae214571792c5f2d5299a (diff) | |
| download | courier-libs-9bb1a8d85390653f702e8ad5556a2cd3793acbfe.tar.bz2 | |
maildrop: rfc2045-parse message when reading it initially.
At startup MIME parse the message.
maildrop no longer ignores leading blank lines, and From_ line. Use
reformail -f0 to filter the message for maildrop, if that's the case.
Get rid of msgoffset (starting offset of the message). rfc2045-parse the
message as maildrop reads it.
Diffstat (limited to 'maildrop/mio.h')
| -rw-r--r-- | maildrop/mio.h | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/maildrop/mio.h b/maildrop/mio.h index e53053f..6f5e250 100644 --- a/maildrop/mio.h +++ b/maildrop/mio.h @@ -30,8 +30,11 @@ class Mio {  	int readcnt;  	int writecnt;  	int err; -	unsigned char buf[1024]; + +	unsigned char buf[8192];  public: +	struct rfc2045 *rfc2045p; +  	Mio();  	virtual ~Mio();  	int Open(const char *, int, mode_t=0666); | 
