Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

To find Return-Path from postfix queue

77 views
Skip to first unread message

Anirudha Patil

unread,
Mar 23, 2012, 4:25:36 AM3/23/12
to
Hello,

Is there any way, in which we could see  Return-Path  for a mail in postfix queue via any command or referring to any file.

Using postcat -q <queueid> one can see the From address, sender:, but no  Return-Path 

Also when is the  Return-Path  added into the postfix ?

I was referring to one article (http://www.linuxquestions.org/questions/linux-server-73/postfix-change-return-path-and-writing-own-script-for-master-cf-657934/) which states that "The Return-Path is added by Postfix's cleanup agent just before final delivery." Is it true ?



With Regards
Anirudha Patil
mobile no: 9221306620
email-id: anirudh...@hotmail.com

Reindl Harald

unread,
Mar 23, 2012, 4:28:29 AM3/23/12
to


Am 23.03.2012 09:25, schrieb Anirudha Patil:
> Hello,
>
> Is there any way, in which we could see Return-Path for a mail in postfix queue via any command or referring to
> any file.
>
> Using *postcat -q <queueid>* one can see the From address, sender:, but no Return-Path

the MTA is not interested in the From/To-Headers
it woks always with envelopes

signature.asc

Anirudha Patil

unread,
Mar 23, 2012, 4:33:49 AM3/23/12
to
Thank you

Yes, i do know that, but i wanted to know if we can see the return-path for a mail ?

Also any thoughts on if the "Return-Path" is added by postfix in header or its the same as the envelope sender.


With Regards
Anirudha Patil
mobile no: 9221306620
email-id: anirudh...@hotmail.com


Wolfgang Zeikat

unread,
Mar 23, 2012, 4:57:07 AM3/23/12
to
In an older episode, on 2012-03-23 09:33, Anirudha Patil wrote:

> Also any thoughts on if the "Return-Path" is added by postfix in header
> or its the same as the envelope sender.

The envelope sender is written into the mail as "Return-Path" by the
MDAs (Mail Delivery Agents) when the mail is finally delivered.

So yes, they are the same, but the "Return-Path" is only a reflection of
the envelope sender.

Hope this helps.

wolfgang

Wolfgang Zeikat

unread,
Mar 23, 2012, 5:02:05 AM3/23/12
to
In an older episode, on 2012-03-23 09:57, Wolfgang Zeikat wrote:
> The envelope sender is written into the mail as "Return-Path" by the
> MDAs (Mail Delivery Agents) when the mail is finally delivered.
>
> So yes, they are the same, but the "Return-Path" is only a reflection of
> the envelope sender.

See
http://en.wikipedia.org/wiki/Return-Path

Wietse Venema

unread,
Mar 23, 2012, 7:00:49 AM3/23/12
to
Anirudha Patil:
> Hello,
>
> Is there any way, in which we could see Return-Path for a mail in postfix
> queue via any command or referring to any file.

Use the mailq command. This shows the envelope sender (and
still to be delivered recipients).

Wietse

Nikolaos Milas

unread,
Mar 23, 2012, 7:49:13 AM3/23/12
to
On 23/3/2012 10:33 πμ, Anirudha Patil wrote:

> Also any thoughts on if the "Return-Path" is added by postfix in
> header or its the same as the envelope sender.

See also:

http://tech.groups.yahoo.com/group/postfix-users/message/283690

Nick

0 new messages