LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PostFix Configuration (https://www.linuxquestions.org/questions/linux-software-2/postfix-configuration-125590/)

triki 12-13-2003 04:56 PM

PostFix Configuration
 
I've been reading through a bunch of Postfix tutorial and docs and I have a simple questions for everyone here
when it says in the main.cf
myorigin = $myhostname (default)
myorigin = $mydomain (probably desirable)
do I change myorigin to my actualy FQDN i registered or leave it as $mydomain

same question for this configuration

mydestination = $myhostname localhost.$mydomain www.$mydomain ftp.$mydomain

do I leave these as is or change them to my actualy domain and host name ?

Thanks

:scratch: triki :scratch:

PDR60 12-13-2003 10:35 PM

Re: PostFix Configuration
 
Quote:

Originally posted by triki
I've been reading through a bunch of Postfix tutorial and docs and I have a simple questions for everyone here
when it says in the main.cf
myorigin = $myhostname (default)
myorigin = $mydomain (probably desirable)
do I change myorigin to my actualy FQDN i registered or leave it as $mydomain

same question for this configuration

mydestination = $myhostname localhost.$mydomain www.$mydomain ftp.$mydomain

do I leave these as is or change them to my actualy domain and host name ?

Thanks

:scratch: triki :scratch:

Back in the config file there is an entry

myhostname = (put your full host name like)
myhostname = hostname.domain.com

then you have an entry like

mydomain = (put your domain name without any host like)
mydomain = domain.com

the last entry you refer to can be left alone as it will just plug in the values you entered for mydomain and myhostname.

Hope this helps. Post fix is pretty easy once you get the basics down.

mac_phil 12-14-2003 12:07 AM

You should leave them as is. They are strings (variables) and so will be 'filled in' with your real hostname.

If you want to forge your 'from' field (to make it look like you're emailing from work, or whatever) just do that in your email program.

PDR60 12-14-2003 12:42 AM

you still have to put in a hostname and a domain though.

triki 12-14-2003 01:08 PM

Thanks for the input Gents !
I appreciate the help I'm going to give that a try !!!
triki


All times are GMT -5. The time now is 05:00 AM.