change From: to when using virtual postfix (SPF too)?

Discussion in 'HOWTO-Related Questions' started by wherestheph, Feb 22, 2008.

  1. wherestheph

    wherestheph New Member

    I successfully followed the guide at :)

    However, emails are sent out as being From [email protected] rather than [email protected]. I think this is causing SPF problems because SPF is matching on rather than I tried setting the $myorigin directly to '' but that didn't seem to effect the From after restarting postfix.

    Is there some other service I need to restart? Or is there another variable I need to change? It seems like there should be a virtual domain way to do it (although it's not necessary for me).
  2. falko

    falko Super Moderator ISPConfig Developer

    You must set the correct sender address in your email client.
  3. topdog

    topdog Active Member HowtoForge Supporter

    You can also fix the mis behaving clients by use of masquerading in postfix
    masquerade_domains =
  4. wherestheph

    wherestheph New Member

    Doh! I can't believe it didn't occur to me think about the From: header being set by the email client.


Share This Page