Menu

long VCyrusDomains

Help
2008-02-18
2013-04-24
  • javier wilson

    javier wilson - 2008-02-18

    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?

     
    • Andrzej Filip

      Andrzej Filip - 2008-02-18

      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 ]

       
    • javier wilson

      javier wilson - 2008-02-19

      we have >150 domains.

      using "F{VCyrusDomains}/etc/mail/cyrus-domains" in sendmail.mc worked fine, thanks.

       
      • Mike Babble

        Mike Babble - 2008-02-19

        That is what I did, and it works well.   Good luck!

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.