~ubuntu-branches/ubuntu/trusty/postfix/trusty

« back to all changes in this revision

Viewing changes to src/postscreen/postscreen.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, LaMont Jones, localization folks
  • Date: 2014-02-11 07:44:30 UTC
  • mfrom: (58.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140211074430-kwkoxdz0fbajn0fj
Tags: 2.11.0-1
[LaMont Jones]

* New upstream release: 2.11.0

[localization folks]

* l10n: Updated German translations.  Closes: #734893 (Helge Kreutzmann)

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
/*      A list of local \fBpostscreen\fR(8) server IP addresses where a
171
171
/*      non-whitelisted remote SMTP client can obtain \fBpostscreen\fR(8)'s temporary
172
172
/*      whitelist status.
173
 
/* BEFORE-GREETING TESTS
 
173
/* BEFORE 220 GREETING TESTS
174
174
/* .ad
175
175
/* .fi
176
176
/*      These tests are executed before the remote SMTP client
214
214
/* .IP "\fBsmtpd_service_name (smtpd)\fR"
215
215
/*      The internal service that \fBpostscreen\fR(8) hands off allowed
216
216
/*      connections to.
217
 
/* AFTER-GREETING TESTS
 
217
/* .PP
 
218
/*      Available in Postfix version 2.11 and later:
 
219
/* .IP "\fBpostscreen_dnsbl_whitelist_threshold (0)\fR"
 
220
/*      Allow a remote SMTP client to skip "before" and "after 220
 
221
/*      greeting" protocol tests, based on its combined DNSBL score as
 
222
/*      defined with the postscreen_dnsbl_sites parameter.
 
223
/* AFTER 220 GREETING TESTS
218
224
/* .ad
219
225
/* .fi
220
226
/*      These tests are executed after the remote SMTP client
221
227
/*      receives the "220 servername" greeting. If a client passes
222
228
/*      all tests during this phase, it will receive a 4XX response
223
 
/*      to RCPT TO commands until the client hangs up. After this,
224
 
/*      the client will be allowed to talk directly to a Postfix
225
 
/*      SMTP server process.
 
229
/*      to all RCPT TO commands. After the client reconnects, it
 
230
/*      will be allowed to talk directly to a Postfix SMTP server
 
231
/*      process.
226
232
/* .IP "\fBpostscreen_bare_newline_action (ignore)\fR"
227
233
/*      The action that \fBpostscreen\fR(8) takes when a remote SMTP client sends
228
234
/*      a bare newline character, that is, a newline not preceded by carriage
418
424
 /*
419
425
  * Configuration parameters.
420
426
  */
421
 
int     var_proc_limit;
422
427
char   *var_smtpd_service;
423
428
char   *var_smtpd_banner;
424
429
bool    var_disable_vrfy_cmd;
465
470
char   *var_psc_dnsbl_sites;
466
471
char   *var_psc_dnsbl_reply;
467
472
int     var_psc_dnsbl_thresh;
 
473
int     var_psc_dnsbl_wthresh;
468
474
char   *var_psc_dnsbl_action;
469
475
int     var_psc_dnsbl_ttl;
470
476
 
1093
1099
        0,
1094
1100
    };
1095
1101
    static const CONFIG_INT_TABLE int_table[] = {
1096
 
        VAR_PROC_LIMIT, DEF_PROC_LIMIT, &var_proc_limit, 1, 0,
1097
1102
        VAR_PSC_DNSBL_THRESH, DEF_PSC_DNSBL_THRESH, &var_psc_dnsbl_thresh, 0, 0,
 
1103
        VAR_PSC_DNSBL_WTHRESH, DEF_PSC_DNSBL_WTHRESH, &var_psc_dnsbl_wthresh, 0, 0,
1098
1104
        VAR_PSC_CMD_COUNT, DEF_PSC_CMD_COUNT, &var_psc_cmd_count, 1, 0,
1099
1105
        VAR_SMTPD_CCONN_LIMIT, DEF_SMTPD_CCONN_LIMIT, &var_smtpd_cconn_limit, 0, 0,
1100
1106
        0,