Results 1 to 1 of 1

Thread: Can't send system emails

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    1
    Rep Power
    5

    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.

Similar Threads

  1. How to add a user that can send and receive emails
    By iwhite in forum Administrators
    Replies: 4
    Last Post: 04-30-2010, 09:41 AM
  2. Send emails grouping by domain
    By ferent in forum Installation
    Replies: 4
    Last Post: 12-11-2009, 08:09 AM
  3. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  4. mysql not starting, sort of.
    By lhutton in forum Installation
    Replies: 6
    Last Post: 06-19-2009, 10:45 AM
  5. Can't send emails out
    By jack-Z in forum Installation
    Replies: 8
    Last Post: 02-18-2006, 07:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •