Re: delivered mail split at MAXLINE
Solved my own problem....
Between Sendmail versions a code change was made so the MaxMimeHeaders
was set to 2048 even if it was not defined anywhere (it use to be read
from the config file and if not set it remained as the default value of
0)???? After this change it was also set in conf.c to MAXLINE or 2048.
THis meant when we sent a mail message embodied with a line length
greater than MAXLINE it was split. Setting MaxMimeHeaders to -1/-1 in
the config file sorted this out.....
andy
andy wrote:
> Hi,
> We are running
>
> Version 8.12.7 AIX5.1
> Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MIME7TO8 MIME8TO7
> NAMED_BIND NDBM NETINET NETUNIX NIS PIPELINING SCANF
> XDEBUG
>
> and also
>
> Version 8.13.8 AIX5.3
> Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
> NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
> NISPLUS
> QUEUE SCANF SMTP USERDB XDEBUG
>
> When I mail a file (run as sendmail receipient < FILE) to a local
> alias that dumps the file to a log and to a file, on the *.12.7 version
> that file stays intact and is identical to the original. It is sent
> embodied and has a long line length (a text data file).
>
> When done on 8.13.8 the log and the file become split at 2048
> characters - MAXLINE. When I recompile with MAXLINE set to something
> different it is split there. ON version 8.12.7 this does not happen.
>
> I know if it was sent as an attchment it would not be an issue but we
> have to send it this way.
>
> Any thoughts - what changed in the code and what part of the code
> controls buffering the body and adding newlines into it at the MAXLINE
> bounday?
>
>
> andy
|