 
    
-  Ask
 
 
 
		
			
	+ Responder ao Tópico
	
	
	
	
	
	
		
			
- 
	
	
		
		
			
				
				
				
					 Ask Ask
					
						
							Ola galera! A coisa ta feia pro meu lado! rs
 Não consigo fazer funcionar a opção de comandos remotos pelo ASK.
 
 Vejam meu .askrc:
 
 [ask]
 rc_mymails = [email protected], [email protected], [email protected]
 rc_myfullname = fernando
 rc_mymailbox = /var/spool/mail/fernando
 rc_mailkey = palavrachave
 rc_md5_key = 3k8f4hdj40ds
 #
 rc_remote_cmd_enable = on
 rc_remote_cmd_htmlmail = off
 rc_basic_headers = From:,To:,Cc:,Bcc:,Date:,Subject:,Return-Path:,Received:,Message-ID:
 rc_max_attach_lines = 0
 rc_askdir = /home/fernando/.ask
 rc_msgdir = %(rc_askdir)s/queue
 rc_tmpdir = %(rc_askdir)s/tmp
 # Templates Padrão para Todos
 rc_confirm_dirs = /usr/share/ask-2.5.3/templates
 rc_whitelist_on_mailkey = true
 rc_confirm_langs = ptbr
 rc_whitelist = %(rc_askdir)s/whitelist.txt, %(rc_askdir)s/whitelist-local.txt
 rc_ignorelist = %(rc_askdir)s/ignorelist.txt, %(rc_askdir)s/ignorelist-local.txt
 rc_mta_command = /usr/sbin/sendmail -t < MAILFILE
 
 Então eu envio uma mensagem para mim mesmo, com o titulo por exemplo: "ASK HELP" e no corpo da mensagem eu coloco o rc_mailkey, no caso "palavrachave"
 
 O email chega pra mim como se fosse um email normal!
 Vejam o log:
 
 2007/05/07 10:55:13 [18022]: ----- ASK v2.5.3 Started -----
 2007/05/07 10:55:13 [18022]: Message from:    fernando <[email protected]>
 2007/05/07 10:55:13 [18022]: Message to:       <[email protected]>
 2007/05/07 10:55:13 [18022]: Message Subject: ASK HELP
 2007/05/07 10:55:13 [18022]:   is_confirmation_return(): Didn't find conf#MD5 tag on subject
 2007/05/07 10:55:13 [18022]:   is_remote_command(): Verifying the subject...
 2007/05/07 10:55:13 [18022]:   process_remote_commands(): Found subject="ASK HELP"
 2007/05/07 10:55:13 [18022]:   process_remote_commands(): Checking only. Returning true
 2007/05/07 10:55:13 [18022]: Not matched in the whitelist
 2007/05/07 10:55:13 [18022]: Sender is not mailer-daemon
 2007/05/07 10:55:13 [18022]:   __get_auth_tokens(): No X-ASK-Auth SMTP header found
 2007/05/07 10:55:13 [18022]:   validate_auth_md5(): Cannot read authorization tokens. Authentication Failed.
 2007/05/07 10:55:13 [18022]:   is_confirmation_return(): Didn't find conf#MD5 tag on subject
 2007/05/07 10:55:13 [18022]: Message is not a confirmation return
 2007/05/07 10:55:13 [18022]:   __add_to_list(): "[email protected]" is listed as one of our emails. It will not be added to the list (/home/fernando/.ask/whitelist.txt)
 2007/05/07 10:55:13 [18022]: Found mailkey. Adding to whitelist
 2007/05/07 10:55:13 [18022]: Our key was found in the message. Delivering...
 2007/05/07 10:55:13 [18022]:   deliver_mail(): Delivering mail
 2007/05/07 10:55:13 [18022]:   generate_auth(): Authentication = 1178546113-1fcf0077bb4bbd027828390b01e21cec
 2007/05/07 10:55:13 [18022]:   deliver_mail_file: Delivering mail from /home/fernando/.ask/tmp/@18022.0.18022.msg to mailbox -
 2007/05/07 10:55:13 [18022]:   deliver_mail_file: delivering to stdout
 2007/05/07 10:55:13 [18022]:   deliver_mail_file: Message delivered to stdout
 
 Que será que pode ser isso heim???
 Por favor me ajudem...
 Obrigado a todos,
 
 Fernando.