Revision bc4894ce
Added by Marc Dequènes almost 16 years ago
- ID bc4894ce6f5f8d03839e298436bfdc93887b6ccf
lib/cyborghood/mail.rb | ||
---|---|---|
require 'cyborghood/base'
|
||
require 'delegate'
|
||
require 'tmail'
|
||
require 'tmail_extra'
|
||
require 'gpgme'
|
||
|
||
# This class handles RFC3156 signed messages, validates them, and extract orders properly.
|
||
# Encrypted content are not implemented yet.
|
||
module CyborgHood
|
||
class Mail < Delegator
|
||
def initialize(msg)
|
lib/cyborghood/objects.rb | ||
---|---|---|
require 'cyborghood/base'
|
||
require 'delegate'
|
||
require 'cyborghood/objects/ldap'
|
||
|
||
module CyborgHood
|
lib/cyborghood/objects/ldap.rb | ||
---|---|---|
require 'active_ldap'
|
||
|
||
module CyborgHood
|
||
class LdapDnsDomain < ActiveLdap::Base
|
||
ldap_mapping :dn_attribute => 'cn', :prefix => '', :classes => ['genericDomain']
|
postman | ||
---|---|---|
|
||
$: << "./lib"
|
||
|
||
require 'net/imap'
|
||
require 'tmail'
|
||
require 'tmail_extra'
|
||
#require 'socket'
|
||
#require 'fileutils'
|
||
#require 'tempfile'
|
||
require 'gpgme'
|
||
require 'active_ldap'
|
||
require 'shellwords'
|
||
require 'cyborghood/base'
|
||
require 'cyborghood/objects'
|
||
require 'cyborghood/imap'
|
||
require 'cyborghood/mail'
|
||
require 'cyborghood/objects'
|
||
|
||
#Socket.gethostname
|
||
|
Also available in: Unified diff
[evol] reorganized dependencies