OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Admin Mailing Lists (mlistintergrafix.net)
Date: Fri Aug 17 2001 - 11:14:46 CDT

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

    On Fri, 17 Aug 2001, Dylan Adams wrote:

    >
    > Is there a hidden configuration option to add the IP address of the
    > smtp client to mail before it's passed on for local delivery? Or maybe
    > a patch? I've googled around, but didn't turn up anything.
    >

    you could probably patch smtpd/smtpd.c to do something like:

    if (state->addr) {
     rec_fprintf(state->cleanup, REC_TYPE_NORM, "X-Client-IP: %s",
            state->addr)
    }

    after the var_always_bcc check

    -Tony
    .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
    Anthony J. Biacco Network Administrator/Engineer
    thelittleprinceasteroid-b612.org Intergrafix Internet Services

        "Dream as if you'll live forever, live as if you'll die today"
    http://www.asteroid-b612.org http://www.intergrafix.net
    .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

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