[1558] in Moira

home help back first fref pref prev next nref lref last post

bug fix

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed May 31 19:20:49 2000

Message-Id: <200005312320.TAA24176@sweet-transvestite.mit.edu>
To: moiradev@MIT.EDU
Date: Wed, 31 May 2000 19:20:43 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>

	This fixes bugs[17876].  Basically, implement what the comment
says; we don't need to check for a valid IMAP or POP box in the case
that we're going from SMTP to SMTP.

Garry

Index: qsupport.pc
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/server/qsupport.pc,v
retrieving revision 2.23
diff -c -r2.23 qsupport.pc
*** qsupport.pc	2000/03/30 22:01:56	2.23
--- qsupport.pc	2000/05/31 23:18:56
***************
*** 87,93 ****
        /* If going from SMTP or NONE to SPLIT, make sure we have a valid
         * POP or IMAP box.
         */
!       if (!strcmp(potype, "SMTP") || !strcmp(potype, "NONE"))
  	{
  	  status = set_pobox_pop(q, argv, cl);
  	  if (status)
--- 87,94 ----
        /* If going from SMTP or NONE to SPLIT, make sure we have a valid
         * POP or IMAP box.
         */
!       if ((!strcmp(potype, "SMTP") || !strcmp(potype, "NONE")) && 
! 	   !strcmp(argv[1], "SPLIT"))
  	{
  	  status = set_pobox_pop(q, argv, cl);
  	  if (status)

home help back first fref pref prev next nref lref last post