Results 1 to 7 of 7

Thread: Local Mail Delivery Bouncing

  1. #1
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default Local Mail Delivery Bouncing

    I'm having an issue with mail local to the Zimbra machine (ie tripwire scripts, etc) not getting to their destination. for instance
    adam@somedomain.com is handled by Zimbra, and my mailserver is named mail.

    Nov 21 14:30:23 mail postfix/smtp[4944]: EBB62CFC80: to=<adam@mail.somedomain.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=24449-09, from MTA([127.0.0.1]:10025): 250 Ok: queued as 203F7D002E)

    Nov 21 14:30:23 mail postfix/smtp[5377]: 203F7D002E: to=<adam@mail.somedomain.com>, relay=none, delay=0, status=bounced (mail for mail.somedomain.com loops back to myself)


    Normally a local MTA would deliver mail to the appropriate users.. do I have to add "mail.somedomain.com" to the Zimbra "Domains" and create aliases to get delivery?

  2. #2
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default

    yes you could create a domain for that host in Zimbra.

    You could also make use of local_recipient_maps, if you so prefer, to deliver mail to /var/spool/mail for address@machinename.example.com. Look into mydestination also in postconf documentation.

    The former method of creating the addresses in Zimbra is probably better/simpler for most use cases.

  3. #3
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default thanks

    thanks for the reply.

    i agree that adding a domain to the zimbra console is probably the simplest thing to do here.

    i've manually added mail.emplifyhr.com manually to the mydestination string, and am now getting a rejection during the SMTP session that the mailbox does not exist.

    if i want to add it to the local_recipient_maps, is it as simple as adding:

    local_recipient_maps = ldap:/opt/zimbra/conf/ldap-vam.cf

    to the main.cf?

  4. #4
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default saved from rewrite

    also, will those conf items be overwritten during your rewrite?

  5. #5
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default other machines

    it might also be worth noting that local mail on other machines, which use mail.somedomain.com as their relay get properly delivered.

    that is, mail sent to adam@other.somedomain.com to the local MTA on other.somedomain.com are then relayed to mail.somedomain.com and delivered to adam@somedomain.com.

    i guess i don't understand what the difference is.
    Last edited by adobrin; 11-21-2005 at 01:07 PM.

  6. #6
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default

    adobrin - no need to touch mydestination and local_recipient_maps if you are just creating domain in Zimbra for the hostname. Revert those to what they were. I was suggesting those as alternates if you did NOT want the local machine mail inside Zimbra.

  7. #7
    adobrin is offline Special Member
    Join Date
    Sep 2005
    Posts
    135
    Rep Power
    9

    Default understood

    right, i understood all that.

    i wanted to move forward without adding the domain alias to the admin console; fooled around with it a bit and then decided to just do the alias.

    incidentally, theres another thread somewhere where someone is asking about exactly what would be my prefered solution, which is a domain alias--so i don't have to add individual aliases for each and every account i want forwarded.

    i.e. i have an internal users domain, and i want an alias, so all my internal users can also use another domain.

    please add an RFE :>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •