OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Aleksey Perov (algardosura.ru)
Date: Mon Mar 11 2002 - 05:20:26 CST

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

    Hello Steve,

    Write a script that executes 'sendmail -bs' and speaks SMTP thru the
    pipe. You then will be able to set required envelope sender address:
      open(PIPE,"|/usr/sbin/sendmail -bs");
      ...
      print PIPE "MAIL FROM:<bounced\signup4sex.com>\r\n";

    Sendmail will insert it into Return-Path field itself, you don't have to
    set it manually.

    On Sat, 9 Mar 2002 11:22:06 +1300, "Steve J" <stevejozxrated.com> wrote:

    > Hello,
    >
    > Is there anyway to change the Return-Path header in postfix when sending out
    > through a perl script..
    > The programmer has changed it in the perl script to rewrite the header but
    > it still sends out as nobodyoohlalaholdings.com
    > and sends everything out as nobody ..
    >
    > We have to have it sending as the orginal recipient the message was
    > delivered to which is
    > bouncedsignup4sex.com
    >
    > I'm piping it to the script in /etc/aliases when its recieved with the
    > execute command ..
    > Headers of the outgoing message sent by the script below..
    >
    > Any Ideas..
    > Steve J ..
    > Return-Path: <nobodyoohlalaholdings.com>
    >
    > Delivered-To: filter-dotmatrix.net-supportdotmatrix.net
    >
    > Received: (qmail 71592 invoked from network); 8 Mar 2002 21:46:12 -0000
    >
    > Received: from unknown (HELO server1.oohlalaholdings.com) (66.216.95.26)
    >
    > by mail.bluegravity.com with SMTP; 8 Mar 2002 21:46:12 -0000
    >
    > Received: by server1.oohlalaholdings.com (Postfix, from userid 99)
    >
    > id 28E9C5816B; Fri, 8 Mar 2002 15:46:09 -0600 (CST)
    >
    > To: supportdotmatrix.net
    >
    > From: bouncedsignup4sex.com
    >
    > Subject: Your membership is Active
    >
    > Content-type: text/html
    >
    > Message-Id: <20020308214609.28E9C5816Bserver1.oohlalaholdings.com>
    >
    > Date: Fri, 8 Mar 2002 15:46:09 -0600 (CST)
    >
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >

    -- 
    Aleksey A. Perov
    Postmaster
    JSC Svyazinform, Penza, Russia
    e-mail: algardosura.ru
    phone: +7 8412 520215
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users