Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-11-2007, 05:19 PM   #1
LQ Newbie
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
postfix 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 file to reflect a fake domain name called

now what i'm trying to figure out is what i should edit into my file to get the whole thing started??

do i have to specify my domain name in 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 =
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.
Old 02-12-2007, 07:04 AM   #2
Registered: Apr 2003
Distribution: Debian
Posts: 52

Rep: Reputation: 15
been trying to set up my own mail server for a few days now. finaly got postfix working, so i can show you my file, perhaps that will help you.

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =, localhost.localdomain, localhost.localdomain, localhost,
relayhost =
mynetworks =
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/

Last edited by mvp; 02-12-2007 at 09:29 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Main use of rc.local file winxandlinx Linux - Newbie 1 11-18-2006 04:54 AM
postfix - & config varun_saa Mandriva 1 09-12-2005 12:15 PM
It that possible to use the default "" setup the Postfix? goonfui_wong Linux - Networking 3 06-22-2005 08:32 AM
postfix illtbagu Linux - Software 8 07-22-2003 12:35 AM
POSTFIX question tuantran Linux - Networking 2 06-16-2002 06:41 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration