Difference between revisions of "Qpsmtpd check earlytalker"

From SME Server
Jump to navigationJump to search
m (Added template Request_for_deletion according to http://forums.contribs.org/index.php/topic,46234.msg226418.html#msg226418 it is obsolete.)
Line 1: Line 1:
 +
{{Request_for_deletion}}
 
== qpsmtpd: check_earlytalker ==
 
== qpsmtpd: check_earlytalker ==
 
When a remote mail server sends email to your SME server, the SMTP specifications stipulate that it must wait until your SME server says "go ahead" before transmitting anything.
 
When a remote mail server sends email to your SME server, the SMTP specifications stipulate that it must wait until your SME server says "go ahead" before transmitting anything.

Revision as of 11:23, 2 July 2010

Delete.png Request for Deletion:
This article or section should be removed. Please help to correct all links to it or discuss the issue on the talk page


qpsmtpd: check_earlytalker

When a remote mail server sends email to your SME server, the SMTP specifications stipulate that it must wait until your SME server says "go ahead" before transmitting anything.

The "go ahead" response on a SME server should look like

220 mail.mysmeserver.com ESMTP

Many spam servers do not wait for the "go ahead" from the receiving mail server. Waiting for each connection, even for as little as a second or two, would greatly increase the amount of time required to send the spam. Also, until recently most mail servers would accept the email even from impolite senders that didn't wait.

SME Server uses the qpsmtpd check_earlytalker plugin to reject email from any mail server that tries to send email without waiting for permission.

The default settings insert a 1 second delay after the remote system connects to the SME server before the SME server responds.

You can increase this default delay from 1 second (to 3 seconds in the following example) at present only with a custom template:

mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0
cd /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0
echo "check_earlytalker wait 3" > 10check_earlytalker
signal-event email-update

The following command will let you monitor your connections to verify that check_earlytalker is working as expected:

tail -f /var/log/qpsmtpd/current |tai64nlocal| egrep  "Accepted connection|check_early"

Mmccarn 17:59, 9 October 2008 (UTC)