OSEC

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 (wietseporcupine.org)
Date: Mon Oct 01 2001 - 21:29:52 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Specify sendmail -f userdomain.

            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: jasonmastaler.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: johndoenightshade.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.qmailnightshade.la.mastaler.com>
    > From: jasonmastaler.com
    > To: johndoenightshade.la.mastaler.com
    >
    > hello.
    >
    > $ /usr/local/sbin/sendmail johndoe < ~/blank_message.txt
    >
    > From jasonrmpostfix.la.mastaler.com Mon Oct 1 17:23:07 2001
    > Return-Path: <jasonrmpostfix.la.mastaler.com>
    > Delivered-To: johndoepostfix.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: jasonmastaler.com
    > To: johndoepostfix.la.mastaler.com
    > Message-Id: <20011001232306.018C81BC00Bpostfix.la.mastaler.com>
    > Date: Mon, 1 Oct 2001 17:23:06 -0600 (MDT)
    >
    > hello.
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users