NAME

POEST::Plugin::Check::Hostname - Check for a proper host in HELO.

ABSTRACT

Check for a proper host in the HELO command sent from the client.

DESCRIPTION

Events

HELO

Intercept the HELO event. If configured to require a hostname in the HELO sent by the client, it will check the acceptible hosts list for the host specified. If said host is in the list, execution will continue on to the standard HELO implementation that greets the client. If it fails, an error will be sent to the client.

Configuration

requirehost

If true, a specified (and correct) host will be required. Otherwise these checks will be bypassed. Kind of useless without this, isn't it?

allowedhost

This option has multiple values. A list of hosts that are allowed for this SMTP server.

AUTHOR

Casey West, <casey@geeknest.com>

COPYRIGHT

Copyright (c) 2003 Casey West. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

perl, POEST::Server, POEST::Plugin.