Need to Change Smtp daemons behavior. (Return-Path)

Discussion in 'Site & Server Administration' started by Clark Kent, May 29, 2008.

  1. #1
    I am sending mails with Windows 2003 IIS Smtp Server.
    I need to change return path in mail header to send mail bounces (like errors user mailbox not found, etc) to another mail address.

    Example:

    Mail From:
    Mail To:
    Whenever smtp daemon sends this mails It addes a "return path: " to the mail header. And bounces goes to there.

    I am able to add a new return path to the header but smtp daemon overrides it.

    I need to find a way to stop IIS smtp server to put that header and respect my customized header
    Or
    I need to find a capable smtp server to do this?

    Do you have any idea?
    Thanks
     
    Clark Kent, May 29, 2008 IP
  2. Clark Kent

    Clark Kent Guest

    Messages:
    122
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I solved it by adding sender and return-path both to the header.

    .fields("urn:schemas:mailheader:return-path") = email
    .fields("urn:schemas:mailheader:sender") = Email
     
    Clark Kent, May 29, 2008 IP