For me, it was easiest (on my small network) to simply add accounts for the users who needed to check email from my box (meaning, I didn't go 'virtual'). Using the useradd command:
useradd masterc -s /bin/bash -G users,mail
And then of course, because I'm a huge fan of maildir over mbox:
su - masterc
maildirmake Maildir
exit
And now there is the necessary Maildir directory in the new users home dir
. As for relaying for multiple domains, you simply edit the "mydestination" line:
Code:
mydestination = $myhostname, localhost.$mydomain, irule.com, linuxisthebest.com, howardtheduck.com
I also (however, it's been a while, so I cannot be certain) have a file in my /etc/postfix directory called relay-domains. Within that file I have placed the domains I am relaying for, and refer to that on the line:
relay_domains
And now to unveil the curtain, here's my postconf so you can see what I mean:
Code:
cooler root # postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
home_mailbox = Maildir/
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain $mydomain, masterc.no-ip.org, cherokeegods.com, babeecakes.com
mydomain = curvins.com
myhostname = cooler.curvins.com
mynetworks = 192.168.1.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.11
relay_domains = $mydestination, /etc/postfix/relay-domains
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 450
HTH
Cool