Results 1 to 3 of 3

Thread: Reject email addressed to selected domains

  1. #1
    portscanner is offline Active Member
    Join Date
    Feb 2011
    Rep Power

    Default Reject email addressed to selected domains

    I have a couple of PHB's who insist on misspelling a couple of domain names. Then that email sits in the queue for several days before it times out and bounces back. Of course, if the intended recipient does not get the email immediately, they have to resend the email with the incorrect domain name 10 or 20 times.

    I need a way to set up a list of these 10 domains they insist on sending email to so that when they send the email, the email is immediately bounced back to them

    Any suggestions?

  2. #2
    kruon is offline Loyal Member
    Join Date
    Jul 2009
    Jyväskylä, Finland
    Rep Power


    You could use postfix transport map to automatically reject the typoed domains.
    In of postfix, add another transport_maps line(below the proxy:ldap):
    transport_maps = hash:/opt/zimbra/postfix/conf/typo_domains

    add line to typo_domains: error:mail for * is not deliverable, you misspelled the domain

    run postmap /opt/zimbra/postfix/conf/typo_domains to hash the file, restart mailboxd.

    But be warned, zimbra update might wipe this config.

  3. #3
    portscanner is offline Active Member
    Join Date
    Feb 2011
    Rep Power


    Thank you! That fixed it - but I found one problem.

    The changes to are lost anytime zimbra is restarted

    To fix that I found if instead of editting you execute the following, the changes will be preserved

    su zimbra
    zmlocalconfig -e postfix_transport_maps=hash:/opt/zimbra/postfix/conf/typo_domains,proxy:ldap:/opt/zimbra/conf/

    (the zmlocalconfig line above should be one line)

    Do not know if it will remian between revisions.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. One user, two email domains, one AD authentication domain
    By aldennis in forum Administrators
    Replies: 3
    Last Post: 03-01-2013, 05:57 AM
  2. 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
  3. multiple domains and email identities
    By fisch09 in forum Administrators
    Replies: 2
    Last Post: 03-30-2007, 08:48 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

Tags for this Thread

Posting Permissions

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