> > When I send a message via telnet, then submit program
> > is invoked 2 times, but it can read
>
> submit should be invoked only once.
Submit on my box is still invoked 2 times. This is part of
Jarle Aage's patch and my debug lines in courier/submit.C:
size_t headercnt=500;
int headerlimit=100000;
const char *p;
int header_line_limit=5000;
FILE *log = fopen("/tmp/courier.log", "a+");
p = getenv("ESMTP_HEADER_LINE_LIMIT"); // Max bytes (octets) on a
single
if (p && (atoi(p) >= 1024))
header_line_limit = atoi(p);
p = getenv("ESMTP_HEADERLIMIT"); // Max bytes (octets) for the entire
header
if (p && (atoi(p) >= 20000))
headerlimit = atoi(p);
fprintf(log, "header_line_limit=%dn", header_line_limit);
fprintf(log, "headerlimit=%dn", headerlimit);
fclose(log);
and this is the result in log file:
# tail -f /tmp/courier.log
header_line_limit=20000 //my value of ESMTP_HEADER_LINE_LIMIT
headerlimit=200000
header_line_limit=20000 //my value of ESMTP_HEADERLIMIT
headerlimit=200000
> Environment variables can be set up in the bofh configuration file:
>
> opt VARIABLE=value
It seems that it works. Thank you very much!
Pawel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users