|
NAMEMail::Milter::Authentication::Client - Client for connecting back to the authmilter server VERSIONversion 3.20241024 SYNOPSISConnect to the Authentication Milter and pass it email, returning the result. DESCRIPTIONClient to the Authentication Milter CONSTRUCTORnew( $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',
});
METHODSr()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 Arguments
Net::MilterThis 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. AUTHORMarc Bradshaw <marc@marcbradshaw.net> COPYRIGHT AND LICENSEThis 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.
|