max line length in .cf


max line length in .cf

Postby s11976 » Tue, 09 Nov 2004 08:58:59 GMT

What is the max. line length that's allowed in ?

Re: max line length in .cf

Postby Bimble Sprocket » Tue, 09 Nov 2004 19:33:53 GMT

I presume you are trying to hard code an evry long, but informative error 

"pui ming Wong" < XXXX@XXXXX.COM > schrieb im Newsbeitrag 

I worked it out for my self a while ago, but have now forgotten. Just put a 
long error in, and count how many characters get returned. Ugly, but simple. 
Of course you must never edit the .cf directly, so you will need to edit 
your .mc and regenerate the .cf again.


Re: max line length in .cf

Postby abuse » Wed, 10 Nov 2004 10:47:59 GMT

According to a copy of a recent sendmail/readcf.c MAXLINE
is set at 2048 (actually set from sendmail/conf.h).

Hope this helps,


Return to mail


Who is online

Users browsing this forum: No registered users and 34 guest