i noticed whenever VCyrusDomains got really long (about >2048 chars) i had to write and extra C{VCyrusDomains} so that the string is never longer than 2048 chars.
The 2048 limit on line lenght is set in sendmail/conf.h
#define MAXLINE 2048 /* max line length */
As I understand using "class file" (with one domain per line) will avoid this limit.
BTW how many domains do you use?
Most likely there is some limit on number of elements class may keep.
[ $={VCyrusDomains} and $=w ; $={VCyrusDomains} is added to list of local email domains $=w ]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i noticed whenever VCyrusDomains got really long (about >2048 chars) i had to write and extra C{VCyrusDomains} so that the string is never longer than 2048 chars.
if i put VCyrusDomains in a file as suggested in http://sourceforge.net/forum/forum.php?thread_id=1869247&forum_id=654898 will i avoid this problem?
The 2048 limit on line lenght is set in sendmail/conf.h
#define MAXLINE 2048 /* max line length */
As I understand using "class file" (with one domain per line) will avoid this limit.
BTW how many domains do you use?
Most likely there is some limit on number of elements class may keep.
[ $={VCyrusDomains} and $=w ; $={VCyrusDomains} is added to list of local email domains $=w ]
we have >150 domains.
using "F{VCyrusDomains}/etc/mail/cyrus-domains" in sendmail.mc worked fine, thanks.
That is what I did, and it works well. Good luck!