ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] SMTP Greylisting Retry Hints + PRDR

2019-02-07 12:21:57
Hello Paul,

you want to know how the server knows, whether two distinct mail addresses, 
have the equivalent mai-rejection-policy.

There is no definitive answer.  The way I do it, a system where all users share 
the same spam training, if two addresses share the Sieve script, then they 
share the mail rejection policy.  The handling of all other RCPT handling is 
postponed.

Strictly speaking, the bytewise equivalent Sieve script for two recipients does 
not imply equivalent mail-rejection-policy for both recipients: an IF ENVELOPE 
"to" test can cause different mail rejection policy, but in practice this is 
not relevant.

Otherwise, always postponing the handling of all recipients, except the first 
one, is a possible approach.

Regards
  Дилян

On February 7, 2019 6:27:03 PM GMT+01:00, Paul Smith 
<paul(_at_)pscs(_dot_)co(_dot_)uk> wrote:
On 07/02/2019 17:14, Dilyan Palauzov wrote:
imagine a mail with an empty Subject: for two recipients.  The first
recipient does not want to receive emails without subject, the second
recipient has no problem with this.

This is what happens at SMTP level:

EHLO xx
250 blah blah
MAIL FROM:<me(_at_)example(_dot_)org>
250 OK
RCPT TO:<one(_at_)example(_dot_)com>
250 Okay
RCPT TO:<two(_at_)example(_dot_)com>
421 Retry soon retry=00:00:00
DATA
Subject:
From: me(_at_)example(_dot_)org
Message-Id: 12a
To: one(_at_)example(_dot_)com, two(_at_)example(_dot_)com
....
.
550  You forgot to fill the Subject!

How would the server know to give the two different responses to the 
RCPT TO?

Or does it just always temporarily reject any messages for 
'two(_at_)example(_dot_)com', just in case?

_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp

<Prev in Thread] Current Thread [Next in Thread>