LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2007, 06:58 AM   #1
gr0undz3r0
LQ Newbie
 
Registered: Oct 2006
Distribution: FC 3 and 4
Posts: 24

Rep: Reputation: 15
Postfix Multiple Domains


Good day,
I have Postfix on Fedora Core 4 for my mail.
I have it set to handle mail for 3 domains. x.com y.com and z.com.
I have these domains registered via register dot com.
mail.x.com = 1.1.1.1(my mail server)
mail.y.com = 1.1.1.1
mail.z.com = 1.1.1.1

So problem is when i send email to person@x.com = Works fine
mail to person@y.com = nothing.

Partial output of Check config in Webmin:

Code:
Hostname 	mail.x.com
System 	Linux mail.x.com 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 i686 i386 GNU/Linux

main.cf

non-default parameters
alias_maps 	hash:/etc/aliases
mailbox_size_limit 	102400000
mailq_path 	/usr/bin/mailq.postfix
manpage_directory 	/usr/share/man
mydestination 	localhosts, mail.x.com, x.com, y.com, z.com
mynetworks 	1.1.1.0/24, 1.1.1.1, 192.168.1.0/24, 127.0.0.1
myorigin 	$mydomain
newaliases_path 	/usr/bin/newaliases.postfix
readme_directory 	/usr/share/doc/postfix-2.1.5/README_FILES
sample_directory 	/usr/share/doc/postfix-2.1.5/samples
sendmail_path 	/usr/sbin/sendmail.postfix
smtpd_helo_required 	yes
smtpd_recipient_restrictions 	permit_mynetworks, check_helo_access hash:/etc/postfix/helo_access reject_invalid_hostname, reject_unknown_hostname, reject_rbl_client relays.ordb.org, reject_rbl_client proxies.blackholes.wirehub.net, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl.spamhaus.org, reject_rbl_client opm.blitzed.org, reject_rbl_client dnsbl.njabl.org, reject_rbl_client list.dsbl.org, reject_rbl_client multihop.dsbl.org, check_recipient_access hash:/etc/postfix/filtered_domains, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_unauth_destination, reject_unknown_recipient_domain, check_relay_domains
strict_rfc821_envelopes 	yes

main.cf

parameters defined as per defaults
command_directory 	/usr/sbin
config_directory 	/etc/postfix
daemon_directory 	/usr/libexec/postfix
debug_peer_level 	2
html_directory 	no
setgid_group 	postdrop
unknown_local_recipient_reject_code 	550
Thanx for any help im pulling out my hair.
 
Old 02-18-2007, 12:22 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Unless you set up virual domains, postfix doesn't know which domain user belongs to, so mail to person@x.com and person@y.com will both get delivered to the mailbox of person

Is mail to person@y.com getting treated like this?

Post logs
 
Old 02-18-2007, 06:48 AM   #3
gr0undz3r0
LQ Newbie
 
Registered: Oct 2006
Distribution: FC 3 and 4
Posts: 24

Original Poster
Rep: Reputation: 15
Thats fine.
These domains dont have users specific to each domain.
person@anydomain should go to that person. 1 mail box. 1 person. any domain.
Hope that makes sense.
 
  


Reply



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
Multiple domains for Postfix sbabcock23 Linux - Server 5 12-12-2006 09:37 AM
postfix hostname parameter for multiple domains? paddyjoy Linux - Server 3 09-21-2006 04:58 PM
How to make postfix accept mail from multiple domains Farthom Linux - Newbie 4 09-14-2006 11:13 AM
Postfix multiple domains & mailboxes fatum112 Linux - Software 0 11-21-2005 01:13 PM
Postfix and multiple domains MasterC Linux - Networking 4 07-16-2003 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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