postfix main.cf file
Hello all.
i'm trying to setup a small test inside an internal network to get a linux email server working. i just have two computers and all i want to do is send a test email between them using my linux box as an email server. so far i've installed postfix and i've setup the main.cf file to reflect a fake domain name called mytestdomain.com now what i'm trying to figure out is what i should edit into my main.cf file to get the whole thing started?? do i have to specify my domain name in main.cf and a subdomain as well?? this is what i've cooked up so far, however i keep getting errors when i attempt to start the postfix service. mydomain = mytestdomain.com myorigin = $mydomain inet_interfaces = $myhostname, localhost mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain home_mailbox = Maildir/ its telling me that its unreasonable macro calls in localhost? have i missed something? can anyone give me any advice to steer me in the right direction? i'm completely lost on this subject. thank you so much for any help. |
been trying to set up my own mail server for a few days now. finaly got postfix working, so i can show you my main.cf file, perhaps that will help you.
myhostname = mail.myhostname.dk alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mail.myhostname.dk, localhost.localdomain, localhost.localdomain, localhost, myhostname.dk relayhost = mynetworks = 127.0.0.0/8 10.0.0.0/24 mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all home_mailbox = Maildir/ |
All times are GMT -5. The time now is 09:35 PM. |