Results 1 to 4 of 4

Thread: Can not sent mails to recipients of the same external maildomain

  1. #1
    Join Date
    Nov 2008
    Posts
    16
    Rep Power
    7

    Default Cannot sent mails to recipients of the same external maildomain

    hallo ,

    i installed a new zimbra zcs-7.1.0_GA_3140 64Bit at Ubuntu 10.04 LTS Server 64bit
    and it work fine for me.

    i can send and recieved mails from my externel mailserver domain at my isp.

    the only problem that i have, is that i can not send mails to recipients they are
    and the same external maildomain as the local mailserver users.

    for example:

    the local zimbra mailserver domain is: lnxserver01.local
    the external mailserver domain: example.com

    all the local zimbra mailuser looks like this: user01@lnxserver.local

    and have a aliasname: user01@example.com

    i configured at zimbra a aliasdomain called example.com.

    at the maildomain example.com are some other mailusers
    who has no local zimbra account.

    if i now send a mail to those users i got a error mail back:

    for example:

    i sent a mail to user99@example.com.

    user99 has no local account at zimbra (lnxserver01.local)

    then this mail comes back from Undelivered Mail Returned to Sender:

    ---------------------------------
    Undelivered Mail Returned to Sender

    This is the mail system at host lnxserver01.local.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <user99@lnxserver01.local>: lnxserver01.local
    ---------------------------------


    in the log file /var/log/mail.info you find the following entries:

    ---------------------------------
    Apr 12 16:00:41 lnxserver01 postfix/smtpd[11230]: connect from localhost.localdomain[127.0.0.1]
    Apr 12 16:00:41 lnxserver01 postfix/smtpd[11230]: CD2E91FC0EA2: client=localhost.localdomain[127.0.0.1]
    Apr 12 16:00:41 lnxserver01 postfix/cleanup[11233]: CD2E91FC0EA2: message-id=<dc4e9a50-f1ae-425e-b257-bf5e41acc8c3@lnxserver01.local>
    Apr 12 16:00:41 lnxserver01 postfix/qmgr[4712]: CD2E91FC0EA2: from=<user01@example.com>, size=6657, nrcpt=1 (queue active)
    Apr 12 16:00:41 lnxserver01 postfix/smtpd[11230]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 12 16:00:44 lnxserver01 postfix/smtpd[11237]: connect from localhost.localdomain[127.0.0.1]
    Apr 12 16:00:44 lnxserver01 postfix/smtpd[11237]: 9C9851FC0EA4: client=localhost.localdomain[127.0.0.1]
    Apr 12 16:00:44 lnxserver01 postfix/cleanup[11233]: 9C9851FC0EA4: message-id=<dc4e9a50-f1ae-425e-b257-bf5e41acc8c3@lnxserver01.local>
    Apr 12 16:00:44 lnxserver01 postfix/smtpd[11237]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: 9C9851FC0EA4: from=<user01@example.com>, size=7330, nrcpt=1 (queue active)
    Apr 12 16:00:44 lnxserver01 postfix/smtp[11234]: CD2E91FC0EA2: to=<user99@lnxserver01.local>, orig_to=<user99@example.com>,
    relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=0.06/0.01/0/2.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29350-09,
    from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9C9851FC0EA4)
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: CD2E91FC0EA2: removed
    Apr 12 16:00:44 lnxserver01 postfix/error[11238]: 9C9851FC0EA4: to=<user99@lnxserver01.local>, relay=none, delay=0.11, delays=0.06/0.01/0/0.04,
    dsn=5.0.0, status=bounced (lnxserver01.local)
    Apr 12 16:00:44 lnxserver01 postfix/cleanup[11233]: B72B41FC0EA5: message-id=<20110412140044.B72B41FC0EA5@lnxserver01.local>
    Apr 12 16:00:44 lnxserver01 postfix/bounce[11239]: 9C9851FC0EA4: sender non-delivery notification: B72B41FC0EA5
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: B72B41FC0EA5: from=<>, size=9236, nrcpt=1 (queue active)
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: 9C9851FC0EA4: removed
    Apr 12 16:00:44 lnxserver01 postfix/lmtp[11240]: B72B41FC0EA5: to=<user01@lnxserver01.local>, orig_to=<user01@example.com>,
    relay=lnxserver01.local[192.168.3.250]:7025, delay=0.18, delays=0.03/0.01/0/0.14, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: B72B41FC0EA5: removed
    Apr 12 16:02:04 lnxserver01 zmmailboxdmgr[11859]: status requested
    Apr 12 16:02:04 lnxserver01 zmmailboxdmgr[11859]: status OK
    ---------------------------------

    and this is my /opt/zimbra/profix/conf/main.cf

    ---------------------------------
    mail_owner = postfix
    bounce_notice_recipient = postmaster
    content_filter = smtp-amavis:[127.0.0.1]:10024
    relayhost = smtp.strato.de:25
    smtpd_sasl_authenticated_header = no
    broken_sasl_auth_clients = yes
    minimal_backoff_time = 300s
    sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
    always_add_missing_headers = yes
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_helo_required = yes
    virtual_transport = error
    sendmail_path = /opt/zimbra/postfix/sbin/sendmail
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination,
    reject_unlisted_recipient, reject_invalid_hostname, permit
    smtpd_reject_unlisted_recipient = no
    bounce_queue_lifetime = 5d
    local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_security_level = may
    smtpd_milters =
    smtpd_sender_restrictions =
    lmtp_host_lookup = dns
    delay_warning_time = 0h
    virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
    queue_run_delay = 300s
    header_checks =
    notify_classes = resource,software
    command_directory = /opt/zimbra/postfix/sbin
    smtpd_client_restrictions = reject_unauth_pipelining
    smtpd_tls_auth_only = yes
    virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
    mailq_path = /opt/zimbra/postfix/sbin/mailq
    mynetworks = 127.0.0.0/8 192.168.3.0/24
    lmtp_connection_cache_time_limit = 4s
    transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
    virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
    smtpd_sasl_auth_enable = yes
    smtpd_tls_loglevel = 1
    maximal_backoff_time = 4000s
    virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
    daemon_directory = /opt/zimbra/postfix/libexec
    non_smtpd_milters =
    setgid_group = postdrop
    alias_maps = hash:/etc/aliases
    mydestination = localhost
    myhostname = lnxserver01.local
    message_size_limit = 35840000
    recipient_delimiter =
    in_flow_delay = 1s
    queue_directory = /opt/zimbra/data/postfix/spool
    propagate_unmatched_extensions = canonical
    manpage_directory = /opt/zimbra/postfix/man
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    lmtp_connection_cache_destinations =
    newaliases_path = /opt/zimbra/postfix/sbin/newaliases
    policy_time_limit = 3600
    mailbox_size_limit = 0
    disable_dns_lookups = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password
    canonical_maps = hash:/opt/zimbra/postfix/conf/canonical
    ---------------------------------

    her are some information about the local host configuration:

    File /etc/hostname:
    hostname lnxserver01.local


    File /etc/hosts:
    127.0.0.1<----->localhost.localdomain<->localhost
    192.168.3.250<->lnxserver01.local<----->lnxserver01
    #
    # The following lines are desirable for IPv6 capable hosts
    #
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    ---------------------------------

    so, i hope my english was not so bad and anyone
    can understand my problem and there is a solution for me ...

    best regards
    gp
    Last edited by gps; 04-13-2011 at 01:47 AM. Reason: correct mail.info

  2. #2
    Join Date
    Nov 2008
    Posts
    16
    Rep Power
    7

    Default

    any help or a solution for this problem?

  3. #3
    Join Date
    Sep 2009
    Location
    Spain
    Posts
    233
    Rep Power
    6

  4. #4
    Join Date
    Nov 2008
    Posts
    16
    Rep Power
    7

    Default

    ok, i am not an expert for postfix or mta's.

    i think in my case my zimbra in configured as a slave (secondary) ??

    summery:

    all my emailuser are generally hostet on domain by an isp (strato.de)

    the domain called "example.com".

    some of these (not all) i will use with zimbra. incomming mails for
    these zimbra users are getting with fetchmail and put them in the corresponding local zimbra mailbox.

    the local zimbra domain called "lnxserver01.local"
    at zimbra i configured an alias domain "example.com" corresponding to
    hosted domain at the isp.

    this will work fine.

    all local zimbra user can send email to the internet to all domains.

    this will work fine as long the recipient has not "@example.com" as
    a part of the mailaddress and is not a local zimbrauser.

    it seems to be that postfix not recogniced that these user "user99@example.com" is not a local user and it must deliverd to
    the internet via "smtp.strato.de". see the log entries below -> "to=<user99@lnxserver01.local>, relay=none"

    ------------------
    Apr 12 16:00:44 lnxserver01 postfix/smtp[11234]: CD2E91FC0EA2: to=<user99@lnxserver01.local>, orig_to=<user99@example.com>,
    relay=127.0.0.1[127.0.0.1]:10024, delay=2.9, delays=0.06/0.01/0/2.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=29350-09,
    from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9C9851FC0EA4)
    Apr 12 16:00:44 lnxserver01 postfix/qmgr[4712]: CD2E91FC0EA2: removed
    Apr 12 16:00:44 lnxserver01 postfix/error[11238]: 9C9851FC0EA4: to=<user99@lnxserver01.local>, relay=none, delay=0.11, delays=0.06/0.01/0/0.04,
    dsn=5.0.0, status=bounced (lnxserver01.local)
    ------------------------

    ok, that the summery.

    i think it can be happend with the "domain transport setting" from postfix/zimbra ???

    how can i show what is aktually configured with the "zmprov md" command and how do i change these settings and redo these settings after i change it to previous ??
    Last edited by gps; 04-13-2011 at 04:53 AM.

Similar Threads

  1. Replies: 0
    Last Post: 02-28-2011, 06:17 AM
  2. External domain
    By jackb in forum Administrators
    Replies: 2
    Last Post: 11-13-2007, 03:11 PM
  3. Replies: 4
    Last Post: 03-05-2007, 08:59 AM
  4. External Relay
    By Winaay in forum Administrators
    Replies: 2
    Last Post: 12-06-2006, 11:39 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
  •