You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by David B Funk <db...@engineering.uiowa.edu> on 2015/08/01 04:36:17 UTC

Re: Hashcash not working

On Fri, 31 Jul 2015, RW wrote:

> On Fri, 31 Jul 2015 16:47:34 +0200
> Reindl Harald wrote:
>
>> nevermind, envelope recipient, but that's also easy and contained in
>> the Received headers
>>
>>
>> Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
>> by mail-gw.thelounge.net (THELOUNGE GATEWAY) with SMTP id
>> 3mjWRW6GLQz1l for <h....@thelounge.net>; Fri, 31 Jul 2015 16:37:43
>> +0200 (CEST)
>
> It's usually there, but some servers never add it.  There are also some
> mail systems where all mail has a recipient header like Delivered-To,
> even if received for multiple recipients.

The embedding of the envelope recipient in Received headers is MTA configuration
dependent and even those that do will usually omit it when there's more
than one envelope recipient for a message.

The "Delivered-To" header and its ilk (EG: Return-Path) are usually only added
at the final delivery MTA point and may not be visible at an intermediate point.

It's best if the mail-system "glue" used explicity makes envelope sender and
recipient available to SA via reliable mechanism.
For example if using a milter, make it add synthesized X-Envelope-From &
X-Envelope-To headers to the stream it passes to SA.

-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{