public boolean receForeignMail(String conncetServer){
		//ӳɹ
		Util.println(ps, "250-"+Util.getLocalHostName());
		Util.println(ps, "250-mail");
//		Util.println(ps, "250-SIZE "+Util.getFileSize());//ļеĴС
		Util.println(ps, "250-8BITMIME");
		System.out.println("250-8BITMIME");
		
		String sentMailer = "";
		String receMailer = "";
		String foreSendMailer = "";
		String foreReceMailer = "";
		int time = 0;
		while(true){
			String mess;
			try {
				mess = br.readLine();
			} catch (IOException e) {
				// TODO Auto-generated catch block
//				e.printStackTrace();
				return false;
			}
//			mess = mess.toLowerCase().trim();
				System.err.println("receForeignMail:"+mess);
			if (mess.contains("<") && mess.contains(">") && mess.contains(":")){
				if(time++==0){
					Util.saveLog(conncetServer+Util.getNowTime()+"ӳɹ");
				}
				//ȡϵַs[0]洢s[1]洢
				String s[] = Util.dealString(mess);
				//жʼǷһʼַ
				String mailName = s[1];
//				if(mailName.endsWith(localService.getMailSuffix()) && userMap.containsKey(mailName)){
				//վڵʼ
				if(s[0].equalsIgnoreCase("mail from")){
					//
					sentMailer = mailName;
					foreSendMailer = mess;
					doOk();
				}else if(s[0].equalsIgnoreCase("rcpt to")){
					foreReceMailer = mess;
					//ռ
					if(receMailer.equals(""))
						receMailer = mailName;
					else
						receMailer += "/"+mailName;
					doOk();
				}else{
					//վʼڱվ󣬷͸Ŀ
					doWrongCommand();
				}
			}else if(mess.equalsIgnoreCase("data")){
				//Ӧdataظ
				responseData();
				/////////////////////////////ʼʼ
				if(receMailer.endsWith(localService.getMailSuffix())){
					//ϵͳڵʼ
					String sendState = receForeignMailContext(receMailer);
					if(sendState.equals("NullPointerException")){
						Util.saveLog(sentMailer+Util.getClientInfo(client)+"SMTP쳣жϡ");
						return false;
					}else if(sendState.equals("quit")){
						Util.saveLog(sentMailer+""+Util.getNowTime()+""+receMailer+"һʼɹ");
						return true;
					}else if(sendState.equals("ok")){
						Util.saveLog(sentMailer+""+Util.getNowTime()+""+receMailer+"һʼɹ");
//										return ;
					}
				}else if(mess.equalsIgnoreCase("quit")){
					//ֹʼỰý̡
					doQuit();
					Util.saveLog(Util.getClientInfo(client)+"SMTP˳");
					return true;
				}else{
					doWrongCommand();
				}
			}
		}//while(true)
	}