postfix realyhost question

Discussion in 'Server Operation' started by gabrix, Jul 29, 2008.

  1. gabrix

    gabrix New Member

    I have my local postfix using as relayhost.
    I have also a list of senders from different domains i want to use my local postfix.
    While for local users in $myorigin i want postfix to use gmail , for users in the list i want my postfix to send straight to the recipent not using
    I hope i was clear thanks !
  2. topdog

    topdog Active Member

    you may be able to use the sender_dependent_relayhost_maps feature of postfix, am not so sure if it will work with your setup but it works if you want users to use different relayhosts, am guessing if you leave relayhost blank and the lookup does not find the address in the file it will deliver directly but YMMV

    Sample lookup file will look like this

    [email protected]           []
    [email protected]           []

Share This Page