Qpsmtpd:check smtp forward

From SME Server
Jump to navigationJump to search

Qpsmtpd#Plugins

NAME

check_smtp_forward

DESCRIPTION

This plugin checks whether SMTP forwarding would be allowed for this recipient by connecting to the internal mail server.

If the internal mail server rejects the mail, we DENY it. If the internal mail server would accept the mail, we DECLINE. If the internal mail server cannot be contacted, we DENYSOFT.

CONFIG

Reads smtproutes to determine where to send mail for various domains. Ignores any default smtproutes entries as they are for upstream mail servers (e.g. ISP).

AUTHOR

Copyright 2006 Gordon Rowell <gordonr@gormand.com.au>

This software is free software and may be distributed under the same terms as qpsmtpd itself.

Based in part on the smtp-forward plugin from the qpsmtpd distribution.