Results 1 to 4 of 4

Thread: users sending email to host.domain.com instead of domain.com

  1. #1
    eaperezh is offline Senior Member
    Join Date
    Feb 2006
    Posts
    68
    Rep Power
    9

    Question users sending email to host.domain.com instead of domain.com

    Hi there,
    I have a perfectly working ZCS installation, however I have noticed that several hundred users (we have over 4k in a single server users are spread all over the world) are sending their emails to user@host.domain.com instead of user@domain.com

    Just in case you ask: No, I cannot tell the users not to do it.

    This behavior presents the following errors:

    All these test were done using accounts on the same server.
    User01 using zimbra webmail send a message to user02@mail.domain.com, same zimbra server.
    Result:
    user01 gets "mail for mail.domain.com loops back to myself" from zimbra mta.

    So I tried to solve it by:
    zmprov cd mail.domain.com zimbraDomainType alias zimbraMailCatchAllAddress @mail.domain.com zimbraMailCatchAllForwardingAddress @domain.com

    But the error is:
    ERROR: service.FAILURE (system failure: unable to create domain: mail.domain.com)
    com.zimbra.common.soap.SoapFaultException: system failure: unable to create domain: mail.domain.com
    ExceptionId:btpool0-26:1213892498686:0130e1dc1c43dba4
    Code:service.FAILURE
    at com.zimbra.common.soap.Soap12Protocol.soapFault(So ap12Protocol.java:88)
    at com.zimbra.common.soap.SoapTransport.extractBodyEl ement(SoapTransport.java:245)
    at com.zimbra.common.soap.SoapTransport.parseSoapResp onse(SoapTransport.java:221)
    at com.zimbra.common.soap.SoapHttpTransport.invoke(So apHttpTransport.java:251)
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:297)
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr ansport.java:261)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:174)
    at com.zimbra.cs.account.soap.SoapProvisioning.create Domain(SoapProvisioning.java:350)
    at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:443)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1974)
    My server is hosted in public IPs, no nat, no internal IPs, etc.
    My DNS server (godaddy) has a valid A for mail.domain.com but for MX I only have @domain.com (as usual).
    I do not have a DNS server installed on the zimbra server. I use Godaddy managed DNS.

    Questions:
    1- Should I create a MX record for host mail.domain.com, so users can send emails to user@mail.domain.com
    2- What can I do to tell zimbra that when a user sends emails to @mail.domain.com should be internally forwarded to @domain.com?

    Thanks in advance,

  2. #2
    eaperezh is offline Senior Member
    Join Date
    Feb 2006
    Posts
    68
    Rep Power
    9

    Default

    Just to let u know.
    trying ldap method instead of SOAP produces:

    ERROR: service.FAILURE (system failure: unable to create domain: mail.domain.com) (cause: javax.naming.NameNotFoundException [LDAP: error code 32 - No Such Object])
    com.zimbra.common.service.ServiceException: system failure: unable to create domain: mail.domain.com
    ExceptionId:main:1213892704104:b98942cf643d82be
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.account.ldap.LdapProvisioning.create Domain(LdapProvisioning.java:1435)
    at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:443)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1974)
    Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dc=mail,dc=domain,dc=com'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3030)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2951)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2758)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapC tx.java:1374)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_mod ifyAttributes(ComponentDirContext.java:235)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.modifyAttributes(PartialCompositeDirContext.java :147)
    at javax.naming.directory.InitialDirContext.modifyAtt ributes(InitialDirContext.java:143)
    at com.zimbra.cs.account.ldap.LdapUtil.modifyAttribut es(LdapUtil.java:1364)
    at com.zimbra.cs.account.ldap.LdapProvisioning.create Domain(LdapProvisioning.java:1408)
    ... 2 more
    thanks,

  3. #3
    eaperezh is offline Senior Member
    Join Date
    Feb 2006
    Posts
    68
    Rep Power
    9

    Default

    Comments will be welcomed!!!

  4. #4
    Keemat is offline Member
    Join Date
    Jun 2008
    Posts
    12
    Rep Power
    6

    Default

    Hi,

    Create Domain under Domains Option in Config Menu and change the Email domain for User.

    Thanks
    Keemat

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. restrict users from sending email
    By s10n in forum Installation
    Replies: 1
    Last Post: 10-24-2007, 02:43 PM
  2. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

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