Postfix and Changing From Address

Discussion in 'Server Operation' started by vanderkerkoff, Dec 18, 2007.

  1. vanderkerkoff

    vanderkerkoff New Member

    Hello everyone

    Brand new postfix, ubuntu 7.10

    I've installed postfix, got it to send to my relay then off to the world, fantastic.

    One problem though, I cannot for the life of me work out how to change the from address properly.

    I can mask it using generic like so

    The problem with this method is that the email shows up in my Apple Mail inbox, and my Gmail inbox as coming from

    username <new email address signified in generic file>

    I don't want to show the username of the user that is sending the messages from the web server, it's a security risk.

    Anyone know how to achieve my goal? To chane the From Address and the reply to address so it doens't have the users name showing in the email.

    if you look at the raw message format you see this

    From: goodemailaddress (username of user on linux box)
    To: undisclosed-recipients:;
    Return-Path: goodemailaddress

    any help greatly appreciated
  2. vanderkerkoff

    vanderkerkoff New Member

    Am I getting myself confused over nothing here

    I just realised something, this webserver will be sending emails using forms on the webi sites is holds

    can I just specify the senders address in the forms?

    i suppose I can
  3. falko

    falko Super Moderator ISPConfig Developer

    Yes. If you're using PHP, you might want to take a look at the additional headers here:
  4. vanderkerkoff

    vanderkerkoff New Member

    Hi Falko

    We're using Rails, but it's okay, I've gone back to sendmail now and I know how to work with that MTA

    Thanks for your reply anyway.

Share This Page