Class Horde_Kolab_Filter_Content

Description

A Kolab Server filter for outgoing mails.

$Horde: framework/Kolab_Filter/lib/Horde/Kolab/Filter/Content.php,v 1.4.2.10 2010/04/15 19:47:18 wrobel Exp $

Copyright 2004-2008 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Located in /Kolab_Filter/lib/Horde/Kolab/Filter/Content.php (line 34)

Horde_Kolab_Filter_Base
   |
   --Horde_Kolab_Filter_Content
Method Summary
 mixed _deliver ( $rewrittenfrom, string $transport)
 mixed _parse (int $inh, string $transport)
 mixed _verify_sender (string $sasluser, string $sender, string $fromhdr, string $client_addr)
Variables
Methods
_deliver (line 203)

Deliver the message.

  • return: A PEAR_Error in case of an error, nothing otherwise.
mixed _deliver ( $rewrittenfrom, string $transport)
  • string $transport: The name of the transport driver.
  • $rewrittenfrom
_parse (line 44)

Handle the message.

  • return: A PEAR_Error in case of an error, nothing otherwise.
mixed _parse (int $inh, string $transport)
  • int $inh: The file handle pointing to the message.
  • string $transport: The name of the transport driver.
_verify_sender (line 296)

Check that the From header is not trying to impersonate a valid user that is not $sasluser.

  • return: A PEAR_Error in case of an error, true if From can be accepted, false if From must be rejected, or a string with a corrected From header that makes From acceptable
mixed _verify_sender (string $sasluser, string $sender, string $fromhdr, string $client_addr)
  • string $sasluser: The current, authenticated user.
  • string $sender: Sender address
  • string $fromhdr: From header
  • string $client_addr: Client IP

Inherited Methods

Inherited From Horde_Kolab_Filter_Base

 Horde_Kolab_Filter_Base::init()
 Horde_Kolab_Filter_Base::parse()
 Horde_Kolab_Filter_Base::_cleanupTmp()
 Horde_Kolab_Filter_Base::_initTmp()
 Horde_Kolab_Filter_Base::_parseArgs()

Documentation generated on Sun, 30 Jan 2011 05:16:01 +0000 by phpDocumentor 1.4.3