script to configure postfix with no smtp relay hos

Discussion in 'General' started by coryjsanders, Jun 2, 2010.

  1. coryjsanders

    Joined:
    Mar 25, 2010
    Messages:
    181
    Likes Received:
    0
    I have a switch at a colocation data center. There is no relay host to pass through. To get voicemail to email to work I did the following:

    In the network tab I set the Host as elastix.<my_URL_address_hosted_at_1and1.com>

    In main.cf
    #myorigin = $myhostname
    myorigin = $mydomain

    mydestination = elastix.<my_URL_address_hosted_at_1and1.com>, $mydomain2 -- so this line read: mydestination = elastix.myabcdomain.com, $mydomain2

    and at the bottom of main.cf

    mydomain = <my_URL_address_hosted_at_1and1.com>
    myhostname = yb-server.example.com
     

Share This Page