Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-17-2006, 03:29 PM   #1
LQ Newbie
Registered: Mar 2006
Location: Milky Way
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Postfix and local domain.

Hi all, still kinda new to running my own mail server and was wondering if it's possible to setup my local network to where I only need 1 mail server running to use local ( domain ) delivery between 2 machines. Or does each machine need its own instance running in order for them to communicate? Anyone know a specific section in the documentation I should be looking at? Url's are helpful. I appreciate any help anyone gives me. Until then I'll be googlging and reading through
Old 03-18-2006, 01:55 PM   #2
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
You need postfix running on each machine if you want smtp service on those machines. An alternative is to pop mail from a central server running postfix.

I've done exactly what you're trying to do, that is, set up my internal Linux machines with postfix to email logs and such to my primary workstation.

You'll need to modify postfix's file so that it doesn't do dns lookups, doesn't append a domain name to hostnames, and so forth. Here are the relevant options and their settings in my
[root@osprey postfix]# grep -v "#"
disable_dns_lookups = yes
append_dot_mydomain = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = osprey
append_dot_mydomain = no
append_at_myorigin = no
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks =,
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES


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
POstfix domain mapping, how? kuplo SUSE / openSUSE 1 12-14-2005 10:56 PM
Setting up local DNS domain name Corxscrew Linux - Newbie 1 01-20-2005 08:49 AM
Postfix virtual domain eyt Linux - Newbie 0 02-23-2004 06:07 PM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 04:05 AM
some domain users can not own local files foehlinger Linux - Networking 1 02-18-2003 07:56 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration