Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 03-13-2008, 04:42 AM
Intermediate Member
 
Posts: 21
Default

Freddie,

How can I delete all mails from "MAILER-DAEMON", because with ID deleteing thousands mail is beyond impossible.
Reply With Quote
  #12 (permalink)  
Old 03-13-2008, 08:47 AM
Moderator
 
Posts: 1,027
Default

Quote:
Originally Posted by sandiphw View Post
Hi,

Sorry for misunderstanding. The files I attached are original one without any modification by me recently.
There is one line in zmmta.cf
POSTCONF smtpd_recipient_restrictions FILE postfix_recipient_restrictions.cf

which I understand points to file postfix_recipient_restrictions.cf which need to be modified to block unknown receipent. So I had added the following line in this file:

reject_unknown receipent

(seeing syntax of rest parameters)

Then I restart zimbra, but it didn't work. Where I am wrong?

Thanks for your co-operation to understand my problem
Sandip,

If you insist on modifying it in this file instead of zmmta.cf, then the syntax needs to be
Quote:
smtpd_reject_unlisted_recipient
Note it must start with "smtpd" and the word is "unlisted" rather than "unknown." Both of these elements are sourced here at Postfix. In addition, there is no space between any of the words, each is separated by an underscore character (_).

You may need to add "=yes" to the end of that expression if there is a setting somewhere else in a file you haven't found that has made it "no" but according to Postfix the default for that setting is "yes" if you have inserted it.

This is not one of those places where the computer understands what you MEANT to say, you have to be precise to every character.

Cheers,

Dan
Reply With Quote
  #13 (permalink)  
Old 03-13-2008, 10:23 PM
Elite Member
 
Posts: 281
Default

Quote:
Originally Posted by sandiphw View Post
Freddie,

How can I delete all mails from "MAILER-DAEMON", because with ID deleteing thousands mail is beyond impossible.
Read the man page for postsuper. And check the docs on The Postfix Home Page. There are examples of perl scripts and awk scripts for deleting all messages with a specific e-mail address in there. I've never had to do more than 15-20 at a time, and never more than 2-3 times a year, so I haven't automated it beyond using the middle mouse button to copy/paste while typing -d in between.
__________________
Freddie
Reply With Quote
  #14 (permalink)  
Old 03-14-2008, 12:33 AM
Intermediate Member
 
Posts: 21
Default

Thank you both for your guidance. I shall try for both and let you know.

We are presently on FC4 with kernel version 2.6.11

If we want to upgrade zimbra to latest version, should we need to upgrade kernel also?


Best Regards,

Sandiip
Reply With Quote
  #15 (permalink)  
Old 03-14-2008, 08:05 AM
Moderator
 
Posts: 1,027
Default

Quote:
Originally Posted by sandiphw View Post
We are presently on FC4 with kernel version 2.6.11

If we want to upgrade zimbra to latest version, should we need to upgrade kernel also?
Well, the current version (see downloads page) is for Fedora 7. The latest 4.x version, 4.5.11, is still available for Fedora Core 4, so I would think if you have it fully patched you should be OK.

But I'm reasonably certain there is more different in the distro than just the kernel; upgrading kernel only would probably leave you lacking a few dependencies when it comes to 5.x.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.