Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-2010, 07:01 AM
Starter Member
 
Posts: 1
Default Can't send system emails

First of all, this is my first post here, so hello to everybody who reads me


I've just installed a Zimbra OS version on a CentOS 5.5 machine, and I have a little problem.

I can send emails perfectly to example.com and external domains from any account I've created, but there are some emails that i can't send. What I'm trying to do is simple, just in a terminal:

<CODE>
echo “This was a test” | sendmail -f anyaccount@example.com root
</CODE>

This generates a response to anyaccount@example.com that says:

<code>
<root@server2.myfanta.com>: mail for server2.example.com loops back to myself
</code>

The problem is that root account points to root@server2.example.com instead root@example.com

My configuration looks like this:

hostname: server2.example.com

cat /etc/hosts
<code>
# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

11.11.11.11 server2.example.com server2

</code>

dig example.com mx

<code>

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> example.com mx

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45469

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3



;; QUESTION SECTION:

;example.com. IN MX



;; ANSWER SECTION:

example.com. 7250 IN MX 10 mail.example.com.



;; AUTHORITY SECTION:

example.com. 45157 IN NS ns1.example.com.

example.com. 45157 IN NS ns2.example.com.



;; ADDITIONAL SECTION:

mail.example.com. 7250 IN A 11.11.11.11

ns1.example.com. 7250 IN A 11.11.11.11

ns2.example.com. 7250 IN A 22.22.22.22



;; Query time: 0 msec

;; SERVER: 213.186.33.99#53(213.186.33.99)

;; WHEN: Tue Sep 28 15:29:26 2010

;; MSG SIZE rcvd: 134
</code>

db.named.example.com

<code>
example.com. 14400 IN MX 10 mail
mail 14400 IN A 11.11.11.11
server2 14400 IN A 22.22.22.22 ; Main IP

22-22-22-22 14400 IN A 11.11.11.11 ; Secondary Ip (Failover)
</code>

cat /etc/aliases

<code>
root: system-server2@example.com
</code>

The server that has installed Zimbra is the only that can send this emails to root, the rest of the servers i have send this ones normally.

This server only have one domain: example.com

Anyone have an idea of what is happening here? All comments are welcome and apreciated.

Thank you!

Last edited by surrealist; 09-30-2010 at 05:41 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.