OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alain Delava (Trasys) (alain.delavatrasys.be)
Date: Wed Mar 06 2002 - 10:32:23 CST

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

    > empty_address_recipient = MAILER-DAEMON

    This is not what I want to do... when a mail is generated by postfix
    (for example a mail delivery failure because of an unknown user), it is
    from:<MAILER-DAEMONhost...>, I would like to change that FROM.

    Sample :
    ------

    From: MAILER-DAEMONsynergy.energy.suez (Mail Delivery System)
    Subject: Undelivered Mail Returned to Sender
    To: blah

    This is the Postfix program at host synergy.energy.suez.

    I'm sorry to have to inform you that the message returned
    below could not be delivered to one or more destinations.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the message returned below.

                            The Postfix program

    <atrasys.be>: host relay.tractebel.be[195.16.9.26] said: 550
    <atrasys.be>:
        User unknown

    ----
    

    I would like to change that "From: MAILER-DAEMONsynergy.energy.suez" into "From: postmasterblah.."

    Is it possible (ok I could hack the postfix sources but I don't want to :-) ?

    Thanks,

    Alain

    -- Lars wrote : --

    > Is there a way to configure the alias used in the "from" RFC822 address > of a delivery notification failure ? I would like to change the > "MAILER-DAEMONthe_host" into something else (don't ask me why :). /etc/postfix/sample-rewrite.cf:

    # The empty_address_recipient specifies the destination for mail from # <> that is undeliverable (typically, bounce notifications and # other notifications). By default, such mail is sent to MAILER-DAEMON. # empty_address_recipient = MAILER-DAEMON

    - 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