Results 1 to 6 of 6

Thread: [SOLVED] Block outgoing messages

  1. #1
    tommy is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    20
    Rep Power
    8

    Default [SOLVED] Block outgoing messages

    Hello, this is very straightforward:

    Is there a simple way to allow outgoing messages to recipients present inside a shared address book only?

    Example of use: User using the Zimbra MTA can send mail only if the receiver address is present in "Shared addressbook". Any mail sent to other recipients is ignored or bounced.

    Thank you!

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    You could export the list to a file and then use something like:
    Restrict sending to certain domains - ZimbraWiki
    (make use of individual addresses or entire domains)

    And don't forget to make an RFE in bugzilla if your looking for simpler methods via the admin console/CLI etc

  3. #3
    tommy is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    20
    Rep Power
    8

    Default

    It's not exactly what I expected, mostly because of lack of dynamic changes in the list...
    but with some scripting and cron I could get the list to update every once in a while, so this is fine too.

    Guess its bugzilla time, then!

    Two things though:
    1. Is there a zimbra particular command to poll ldap for a certain address book? (Meaning "cat"-ing -sort of- the address book, so that the output can be grepped, diffed and filtered to send to the whitelist file.)
    2. Will postfix read the whitelist file each time it has to send mail, or does it have to be reloaded for every change made? (hope it's the first one!)

    Thanks again!

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Bug 9620 - Mail policies and access control for sending to distribution lists
    Make check boxes for:
    User can send email outside of his domain
    User can receive mail from outside his domain.
    The current methods-
    Keep mail internally: (yes the name makes it confusing with the next one)
    Restrict sending to certain domains - ZimbraWiki
    Who can send mail to certain addresses:
    RestrictPostfixRecipients - ZimbraWiki

    Also related:
    Bug 7104 - Distribution List Restrictions

  5. #5
    tommy is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    20
    Rep Power
    8

    Default

    Voted both bugs, even if they're not exact, that's why I'd like to post a new one
    In particular, our client wants to have mail-to recipients restricted to a single - shared, perhaps - address book.

    From the wiki Restrict sending to certain domains - ZimbraWiki I suppose that postfix has to be restarted in order to make lists active, am I right?

    Thanks for the links mmorse!

    Anyone on the 1st question - LDAP polling?

  6. #6
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    be sure to post a link back here so people searching this thread later can find it if you make a new RFE

    correct, command is "postfix reload"
    Last edited by mmorse; 08-01-2007 at 06:29 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outgoing messages marked as spam
    By jimramsey in forum Administrators
    Replies: 5
    Last Post: 01-10-2008, 03:18 PM
  2. Filter Outgoing Messages
    By rajahd in forum Users
    Replies: 0
    Last Post: 03-05-2007, 09:09 AM
  3. Keep a copy of all incoming and outgoing messages
    By bjquinn in forum Administrators
    Replies: 2
    Last Post: 12-18-2006, 12:37 PM
  4. Spam assassain not traiing properly!
    By Mike T in forum Administrators
    Replies: 1
    Last Post: 10-09-2006, 01:34 PM
  5. Other servers block my messages (sees it as spam)
    By Gysie2701 in forum Administrators
    Replies: 5
    Last Post: 09-18-2006, 06:19 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
  •