script to configure postfix with no smtp relay hos

coryjsanders

Joined
Mar 25, 2010
Messages
181
Likes
0
Points
0
#1
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
 

Members online

Latest posts

Forum statistics

Threads
30,918
Messages
130,924
Members
17,601
Latest member
andrebr
Top