GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mail::Milter::Authentication::Client(3) User Contributed Perl Documentation Mail::Milter::Authentication::Client(3)

Mail::Milter::Authentication::Client - Client for connecting back to the authmilter server

version 3.20241024

Connect to the Authentication Milter and pass it email, returning the result.

Client to the Authentication Milter

new( $args )

Instantiate a new Client object

    my $client = Mail::Milter::Authentication::Client->new({
        'mailer_name'   => 'test.mta.yoga.fastmail.com',
        'connect_ip'    => '66.111.4.148',
        'connect_name'  => 'test.fastmail.com',
        'connect_port'  => '54321',
        'connect_type'  => 'tcp4',
        'helo_host'     => 'test.helo.fastmail.com',
        'mail_from'     => 'test@marc.fastmail.com',
        'rcpt_to'       => 'marc@yoga',
        'mail_data'     => $email_content,
        'mail_file'     => '/path/to/email.txt',
    });

r()

Private method, do not call this directly

insert_header()

Private method, do not call this directly

replace_header()

Private method, do not call this directly

add_header()

Private method, do not call this directly

load_mail()

Private method, do not call this directly

process()

Send the email to the milter and process the result.

result()

Return the result of the milter run

The name (fqdn) of the MTA
The IP address of the host connecting to the mailer.
The name of the host connecting to the mailer.
The port of the connection to the mailer.
The type of connection to the mailer (eg tcp4).
The string passed in the HELO stage of the SMTP transaction.
The string passed in the MAIL FROM stage of the SMTP transaction.
The string passed in the RCPT TO stage of the SMTP transaction.
The EMail body as a string.
The EMail body can also be passed as a filename.

This project includes a modified copy of Net::Milter which is imported into the Mail::Milter::Authentication::Net::Milter namespace.

The included module has been modified to support all of the features required by Authentication Milter.

If these required features are ever merged back into Net::Milter then we may just use it instead, however at this point the modified version does the job.

Marc Bradshaw <marc@marcbradshaw.net>

This software is copyright (c) 2020 by Marc Bradshaw.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2024-10-24 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.