|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)Date: Mon Oct 01 2001 - 21:29:52 CDT
Specify sendmail -f user
domain.
Wietse
Jason R. Mastaler:
> This question concerns Postfix's Sendmail compatibility interface.
>
> If a message already contains a `Return-Path' header, and I reinject
> it, Postfix ignores it and adds a new Return-Path. qmail doesn't do
> this. This is convenient for cases where you want to write an
> incoming message to disk, then send it later with the original
> envelope sender, not the envelope sender corresponding to the user
> resending the message. With qmail, I just have to add the desired
> Return-Path header to the message before writing it to disk.
>
> For example,
>
> Take the following simple mail message `blank_message.txt':
>
> Return-Path: <>
> From: jason
mastaler.com
> To: johndoe
>
> hello.
>
> Notice how the headers differ based on whether it is sent through
> qmail or Postfix:
>
> $ /var/qmail/bin/sendmail johndoe < ~/blank_message.txt
>
> From MAILER-DAEMON Mon Oct 01 23:22:02 2001
> Return-Path: <>
> Delivered-To: johndoe
nightshade.la.mastaler.com
> Received: (qmail 1857 invoked by uid 666); 1 Oct 2001 23:22:02 -0000
> Date: 1 Oct 2001 23:22:02 -0000
> Message-ID: <20011001232202.1856.qmail
nightshade.la.mastaler.com>
> From: jason
mastaler.com
> To: johndoe
nightshade.la.mastaler.com
>
> hello.
>
> $ /usr/local/sbin/sendmail johndoe < ~/blank_message.txt
>
> From jasonrm
postfix.la.mastaler.com Mon Oct 1 17:23:07 2001
> Return-Path: <jasonrm
postfix.la.mastaler.com>
> Delivered-To: johndoe
postfix.la.mastaler.com
> Received: by postfix.la.mastaler.com (Postfix, from userid 666)
> id 018C81BC00B; Mon, 1 Oct 2001 17:23:06 -0600 (MDT)
> From: jason
mastaler.com
> To: johndoe
postfix.la.mastaler.com
> Message-Id: <20011001232306.018C81BC00B
postfix.la.mastaler.com>
> Date: Mon, 1 Oct 2001 17:23:06 -0600 (MDT)
>
> hello.
>
> -
> To unsubscribe, send mail to majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]