LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-08-2013, 05:17 PM   #1
newbiebd
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Rep: Reputation: 0
Angry postfix configure problem


dear all,

I have two mail server running with postfix and dovecot for pop3.
dns recoreds for them are like follows,

aaabbb.net MX preference = 10, mail exchanger = smtp.aaabbb.net
aaabbb.net MX preference = 50, mail exchanger = mail.aaabbb.net

and all mail users are created in mail.aaabbb.net server with mail box.
and smtp server only for mail transfer.

my mail.aaabbb.net servers postconf are like follows,

[root@mail postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason}
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_size_limit = 1048576000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydomain = aaabbb.net
myhostname = mail.aaabbb.net
mynetworks = 168.100.189.0/28, 127.0.0.0/8, xx.xxx.xxx.0/21, xxx.xx.xx.0/20
myorigin = aaabbb.net
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unverified_recipient, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net, permit
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
[root@mail postfix]#

Now problem is that, when i send any mail to same domain user or any other sender send me from other domain that mail returned to sender and shows

error "Diagnostic-Code: smtp; 554 5.4.0 Error: too many hops".

What should i do now?? this is very urgent for me.


Thanking you,

Newbie
 
Old 04-27-2013, 01:39 AM   #2
Andy Alkaline
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware32-stable, Debian-wheezy-amd64, LFS 7.1
Posts: 355

Rep: Reputation: 33
Have you checked your logs for any clues?

http://www.onlamp.com/2004/01/22/postfix.html
Quote:
Postfix Logging

Whenever something is not working as expected, the first step for troubleshooting the problem is checking your log. Postfix logs all operations whether successful or not. Postfix uses your system's syslog facility to write messages to your log file. Because system logging differs on different platforms, you should review your system documentation to learn about syslog. Most likely, you can find where Postfix logging occurs by checking your system's /etc/syslog.conf file. In the examples below, we'll assume that the log file is located at /var/log/maillog.
 
  


Reply


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
How to configure postfix? sathiesh Linux - Newbie 6 12-30-2011 05:14 AM
Configure SASL with Postfix problem halvorls Linux - Server 7 11-27-2008 07:44 PM
Postfix: How to configure postfix to process mail from another host m1ckey78 Linux - Server 3 10-15-2008 11:59 AM
Postfix: help required to configure postfix to redirect email. Wheddod Linux - Software 3 08-20-2008 08:55 AM
Configure postfix, please help! snickie Linux - Server 10 02-28-2007 11:59 AM


All times are GMT -5. The time now is 01:59 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration