ietf-mta-filters
[Top] [All Lists]

action reject and smtp RCPT TO:

2008-02-13 13:23:05

Hello,

If sieve scripts are written in the form:

if (envelope tests....) { reject; stop;}
some other tests and actions;

the scripts can be applied once after the RCPT TO: command and once after the DATA command. If the first script calling is successful (stop; is reached without trying tests, that require headers or body), and the reject action is performed, then the sieve script can reject the message at the RCPT TO: level.

The application of such scripts is, e.g. for mailing lists, with scripts like

if (recipient is a mailing list and sender is not allowed to post there) {reject; stop;}

which will save the consequent NDRs, send from the mailing list software. This approach is not considered in draft-ietf-sieve-refuse-reject-06, 2.2 Action reject...However implementations MAY refuse delivery over protocol ..., if and only if all of the following conditions are true: 2. ...

        Със здраве,
                Дилян