PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > MaxForwardEntries
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

MaxForwardEntries

Réponse
 
LinkBack Outils de la discussion
Vieux 22/10/2006, 10h46   #1
No One
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut MaxForwardEntries

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.
  Réponse avec citation
Vieux 22/10/2006, 20h36   #2
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: MaxForwardEntries

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08679 seconds with 10 queries