Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix only receiving for one of two domains

Status
Not open for further replies.

32bitwonder

Technical User
Dec 8, 2005
2
CA
Hello,

I have postfix running on Debian (stable). Recently I've begun migrating from one domain name to another. As such I'd like to continue receiving email addressed to the old address during the migration. I'm not setting up virtual domains, as I'd like users to receive email addressed to them on either domain.

The issue is, I'm not receiving external email addressed to 32bitwonder.org. Email addressed to brownsauce.org works fine. I can however send email from one internal user to another addressed to 32bitwonder.org. From what I can tell my main.cf file is configured correctly. Am I dealing with a DNS issue? If so, can I host both with a single IP address?

Here's my main.cf file:

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = brownsauce.org
mydestination = brownsauce.org, 32bitwonder.org
relayhost = shawmail.wp.shawcable.net
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relay_domains =
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#mailbox_command = procmail -a "$EXTENSION"
#/var/spool/postfix/maildrop
mailbox_size_limit = 0
recipient_delimiter = +
smtpd_recipient_limit = 50
smtpd_helo_required = yes
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_filter.regexp
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
regexp:/etc/postfix/regexp_access,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
reject_rbl_client domain-name
permit
header_checks = regexp:/etc/postfix/header_filter.regexp
home_mailbox = Maildir/

Thanks for your help.
 
Assuming that those domains are real:

32bitwonder.org mail exchanger = 5 mail.32bitwonder.org.
Name: mail.32bitwonder.org
Address: 142.16.22.18


brownsauce.org mail exchanger = 5 mail.brownsauce.org.
Name: mail.brownsauce.org
Address: 24.76.107.138

Mail is being directed to two different hosts, though both of them seem to be on the shaw cable network. Do you have a dymanic IP address?
 
Ahh of course. When configuring hosts on No-IP, it automatically takes the IP address from which you're accessing the site and assigns it to your host. I overlooked this when configuring a new host. Correcting this solved the problem.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top