Eliezer Croitoru:
> Hey,
>
> I am using postfix with spamassassin and a relayhost directive.
> The way I am using spamassassin is by the content_filter option.
>
> When I am applying delivery confirmation on a message I am receiving a
> confirmation but from spamassassin
I presume that this using the DSN protocol extension to request
NOTIFY=SUCCESS.
> I want to get delivery confirmations from my upstream realyhost and not
> from spamassassin.
>
> I am using spamassassin as a unix pipe in the master.conf ie:
> spamassassin unix - n n - - pipe
> user=spamd argv=/usr/bin/spamc -f -e
> /usr/sbin/sendmail -oi -f ${sender} ${recipient}
For a workaround you could try "/usr/sbin/sendmail -N success,delay,failure
-oi..." but that will request NOTIFY=SUCCESS for all email, and
that may not be desirable.
For a correct implementation you would have to use an SMTP-based
or Milter-based approach, which can preserve the NOTIFY=SUCCESS
request. The pipe(8) daemon currently has no ${stuff} feature to
pass DSN requests on the "/usr/sbin/sendmail -oi ..." command line.
Wietse