LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2008, 01:30 PM   #1
]SK[
Member
 
Registered: Jun 2004
Location: Nottingham, England
Posts: 89

Rep: Reputation: 15
Postfix Backup Mail Server - Conf Issues


I am trying to setup a backup postfix mail server for a few domains. I tested this at home with a personal domain and have it working fine. I've now come to build the server at my office where I have replicated the configuration. Upon testing all email for each domain bounces back stating...

"mail for domain.com loops back to myself"

The test box still works (I followed the guide from here)so I have been trying to compare configuration but haven't been able to find the answer. A lot of other sites mention the fact you need entries in the "transport" file which when testing does indeed work. This means though for every domain I plan to look after I now need to edit two files and run the command to turn the file into a binary. I also need to watch for changes my customers make to their DNS records. My test server doesn't use the transport file at all and is working as needed. It solely uses DNS to work out an MX that accepts mail for this domain.

Hopefully someone can tell me what's wrong with my production server...

Production Server:

Code:
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, domain.com
relay_recipient_maps =
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, permit_mx_backup
unknown_local_recipient_reject_code = 550
Test Server:

Code:
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, domain.com
relay_recipient_maps =
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, permit_mx_backup
unknown_local_recipient_reject_code = 550
 
Old 09-01-2008, 11:08 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
http://www.postfix.org/STANDARD_CONF...ME.html#backup
 
  


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
Postfix Backup Mail Server with Webmail ]SK[ Linux - Newbie 9 08-19-2008 02:56 PM
taking backup and restoring postfix mail files cbekannan Linux - Software 0 11-04-2005 02:49 AM
taking backup and restoring postfix mail files cbekannan Linux - Software 3 10-28-2005 04:34 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
mail server issues - POSTFIX macdafoe Linux - Newbie 2 09-14-2003 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 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