All pastes #808305 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-07 13:39 UTC
rendered paste body
root@getec-supn2-02:~# cat fernando 
From fernando@getec-supn2-02.domain.com  Fri Dec  7 11:26:14 2007
Return-Path: <fernando@getec-supn2-02.domain.com>
X-Original-To: fernando@domain.com
Delivered-To: fernando@domain.com
Received: by getec-supn2-02.domain.com (Postfix, from userid 1000)
        id 213A14B8085; Fri,  7 Dec 2007 11:26:14 -0200 (BRST)
Date: Fri, 7 Dec 2007 11:26:14 -0200
From: Fernando Ribeiro <fernando.ribeiro@domain.com>
To: fernando@domain.com
Subject: ihhhhhhhhhhhhh
Message-ID: <20071207132613.GE17906@getec-supn2-02.domain.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.15+20070412 (2007-04-11)

hauehae

-- 
-----------------------------------------------------
- Fernando Ribeiro - SysAdmin SUMEP/GETEC
-----------------------------------------------------
Firthunands: firthu means peace, nands means daring.
"Those who do anything to maintain the peace!"




root@getec-supn2-02:~# cat fernando | apolicyd
Traceback (most recent call last):
  File "/usr/sbin/apolicyd", line 143, in <module>
    main()
  File "/usr/sbin/apolicyd", line 118, in main
    spf.set_postfix_data(postfix_data)
  File "/usr/lib/python2.5/site-packages/apolicy/validation.py", line 62, in set_postfix_data
    self.sender = postfix_data["sender"]
KeyError: 'sender'





Dec  7 11:35:44 localhost Starting validation of acl: ['bad_recipient', 'recipient', 'fernando@domain.com']
Dec  7 11:35:44 localhost Starting validation of acl: ['bad_sender', 'sender', 'fernando@getec-supn2-02.domain.com']
Dec  7 11:35:44 localhost Starting validation of action: ['deny', 'REJECT Acesso negado.']
Dec  7 11:35:44 localhost Starting validation of access: ['bad_recipient', 'deny']
Dec  7 11:35:44 localhost Starting validation of access: ['bad_sender', 'deny']
Dec  7 11:35:44 localhost SPF module loaded
Dec  7 11:35:44 localhost Could not match line: From fernando@getec-supn2-02.domain.com  Fri Dec  7 11:26:14 2007 
Dec  7 11:35:44 localhost Could not match line: Return-Path: <fernando@getec-supn2-02.domain.com> 
Dec  7 11:35:44 localhost Could not match line: X-Original-To: fernando@domain.com 
Dec  7 11:35:44 localhost Could not match line: Delivered-To: fernando@domain.com
Dec  7 11:35:44 localhost Could not match line: Received: by getec-supn2-02.domain.com (Postfix, from userid 1000) 
Dec  7 11:35:44 localhost Could not match line: ^Iid 213A14B8085; Fri,  7 Dec 2007 11:26:14 -0200 (BRST) 
Dec  7 11:35:44 localhost Could not match line: Date: Fri, 7 Dec 2007 11:26:14 -0200 
Dec  7 11:35:44 localhost Could not match line: From: Fernando Ribeiro <fernando.ribeiro@domain.com> 
Dec  7 11:35:44 localhost Could not match line: To: fernando@domain.com 
Dec  7 11:35:44 localhost Could not match line: Subject: ihhhhhhhhhhhhh 
Dec  7 11:35:44 localhost Could not match line: Message-ID: <20071207132613.GE17906@getec-supn2-02.domain.com> 
Dec  7 11:35:44 localhost Could not match line: MIME-Version: 1.0 
Dec  7 11:35:44 localhost Could not match line: Content-Type: text/plain; charset=us-ascii 
Dec  7 11:35:44 localhost Could not match line: Content-Disposition: inline 
Dec  7 11:35:44 localhost Could not match line: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) 
Dec  7 11:35:44 localhost Starting validation using: {}