|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello!
How does one set "MaxForwardEntries"? I came across it in receipent.c and saw it in readcf.c which led me to think that it can be set in some ..mc and consequently .cf. My guess is that the purpose of it is to limit the length of an include file? I've Google'd for it and found only snippets of receipient.c. Couldn't find anything in ../doc/op/ nor ../cf/README. Thanks. N. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In article <ehfem10nr9@news2.newsguy.com> No One <noone@invalid.add> writes:
> >How does one set "MaxForwardEntries"? I came across it in receipent.c >and saw it in readcf.c which led me to think that it can be set in some >.mc and consequently .cf. Yes, and looking around in readcf.c should tell you that a) it's just another option, i.e. it's set with a O MaxForwardEntries=NNN line in sendmail.cf (which you can put in a LOCAL_CONFIG section in your ..mc file), and b) the code to pick it up from there only gets compiled in if _FFR_MAX_FORWARD_ENTRIES is #defined (to something non-zero) at compile time. If you grep for that symbol you'll however also find this in conf.c: #if _FFR_MAX_FORWARD_ENTRIES /* Try to limit number of .forward entries */ /* (doesn't work) */ /* Randall S. Winchester of the University of Maryland */ "_FFR_MAX_FORWARD_ENTRIES", #endif /* _FFR_MAX_FORWARD_ENTRIES */ - which is a bit disappointing if you want to use it, I guess. But that's the way things are with this For Future Release stuff, it may or may not work - at least in this case there is some info about it. Digging around a bit in old sources reveals that this particular FFR has been around since at least 8.10.0, which is furhter indication that it's broken and non-trivial to fix (in some cases features are FFRs just because they are "on hold" for the next major release, but work just fine). >My guess is that the purpose of it is to limit the length of an include >file? Seems so, also .forward file I guess. >I've Google'd for it and found only snippets of receipient.c. Couldn't >find anything in ../doc/op/ nor ../cf/README. Since it doesn't formally exist, it isn't documented, and finding info elsewhere will be difficult. --Per Hedeland per@hedeland.org |
|
![]() |
| Outils de la discussion | |
|
|