diff --git a/Changes b/Changes index acf5463..99bab6b 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,8 @@ Make the clamdscan plugin temporarily deny mail if if can't talk to clamd (Filippo Carletti) + Improve Qpsmtpd::Transaction documentation (Fred Moyer) + 0.32 - 2006/02/26 diff --git a/lib/Qpsmtpd/Connection.pm b/lib/Qpsmtpd/Connection.pm index 8492755..a415df4 100644 --- a/lib/Qpsmtpd/Connection.pm +++ b/lib/Qpsmtpd/Connection.pm @@ -136,6 +136,14 @@ These API docs assume you already have a connection object. See the source code if you need to construct one. You can access the connection object via the C object's C<< $qp->connection >> method. +=head2 new ( ) + +Instantiates a new Qpsmtpd::Connection object. + +=head2 start ( %args ) + +Initializes the connection object with %args attribute data. + =head2 remote_host( ) The remote host connecting to the server as looked up via reverse dns. @@ -144,11 +152,25 @@ The remote host connecting to the server as looked up via reverse dns. The remote IP address of the connecting host. +=head2 remote_port( ) + +The remote port. + +=head2 hello( ) + =head2 remote_info( ) If your server does an ident lookup on the remote host, this is the identity of the remote client. +=head2 local_ip( ) + +The local ip. + +=head2 local_port( ) + +The local port. + =head2 hello( ) Either C<"helo"> or C<"ehlo"> depending on how the remote client @@ -168,4 +190,14 @@ set after a successful return from those hooks. Connection-wide notes, used for passing data between plugins. +=head2 clone( ) + +Returns a copy of the Qpsmtpd::Connection object. + +=cut + +=head2 relay_client( ) + +True if the client is allowed to relay messages. + =cut