[Qmail-it] impostare Return-Path

Alessandro Barchi linuxlist at roggeroetortia.it
Mon Oct 9 14:00:04 CEST 2006


 -----Original Message-----
> From: qmail-it-bounces at lists.ziobudda.net
> [mailto:qmail-it-bounces at lists.ziobudda.net]On Behalf Of Fabio Busatto
> Sent: Friday, October 06, 2006 6:02 PM
> To: qmail-it at lists.ziobudda.net
> Subject: Re: [Qmail-it] impostare Return-Path
>

> Guarda, qmail di certo non si mette a modificare il tuo messaggio
> per rimuovere quell'header, quindi o non viene impostato correttamente
> oppure hai qualche patch/filtro che lo modifica, ti viene in mente niente?
>
> Prova a spiegare un po' piu` che configurazione hai che vediamo che si
> puo` fare.
>
> > E' possibile disabilitare quest'azione?
>
> A sapere chi la fa`, sicuramente :)
>
>

La mia configurazione di qmail e la standard 1.03 con l'aggiunta di
dell'antivirus per qmail/antispam  "Panda Qmail Secure",
il quale si antepone a qmail-queue.

l'email e generata da un programma in Python che utilizza i moduli
smtplib e l'estensione email.MIMEMultipart

imposto la keyword "Return-Path" nel medesimo modo in cui imposto
"Subject", "From", "To".

Questo e il dump della mail...

***********************************
>>> connect: ('smtpserver', 25)
connect: ('smtpserver', 25)
reply: '220 mail.domain.it ESMTP\r\n'
reply: retcode (220); Msg: mail.domain.it ESMTP
connect: mail.domain.it ESMTP
send: 'ehlo [192.168.4.2]\r\n'
reply: '250-mail.domain.it\r\n'
reply: '250-PIPELINING\r\n'
reply: '250 8BITMIME\r\n'
reply: retcode (250); Msg: mail.domain.it
PIPELINING
8BITMIME
send: 'mail FROM:<test at domain.it>\r\n'
reply: '250 ok\r\n'
reply: retcode (250); Msg: ok
send: 'rcpt TO:<ricezione at domain.it>\r\n'
reply: '250 ok\r\n'
reply: retcode (250); Msg: ok
send: 'rcpt TO:<inviati at domain.it>\r\n'
reply: '250 ok\r\n'
reply: retcode (250); Msg: ok
send: 'data\r\n'
reply: '354 go ahead\r\n'
reply: retcode (354); Msg: go ahead
data: (354, 'go ahead')
send: 'Content-Type: multipart/mixed;
boundary="===============1241738727=="\r\nMIME-Version: 1.0\r\nFrom:
test at domain.it\r\nTo: ricezione at domain.it\r\n_charset: Latin-1\r\nSubject:
"testo oggetto"\r\nReturn-Path: <replyto at domain.it>\r\nDate: Mon, 9 Oct 2006
13:54:34 +0200\r\n\r\nYou will not see this in a MIME-aware mail
reader.\r\n\r\n--===============1241738727==\r\nContent-Type: text/plain;
charset="us-ascii"\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding:
8bit\r\n\r\nIn
../cut/...
\n'
reply: '250 ok 1160394882 qp 29590\r\n'
reply: retcode (250); Msg: ok 1160394882 qp 29590
data: (250, 'ok 1160394882 qp 29590')
send: 'quit\r\n'
reply: '221 mail.domain.it\r\n'
reply: retcode (221); Msg: mail.domain.it

***********************************

n.b. domain.it e fittizio


Grazie

Alessandro



More information about the Qmail-it mailing list