Cyrus-quota -r

I was getting the following system.log message repeated every minute...
Jul 27 08:52:20 servername sudo: root : TTY=unknown ; PWD=7 ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
I could not find any reference in man page or web to a "-r" option for cyrus-quota.
All users have 'Imap Only' except for one test account on the server itself which was originally Imap but then I changed it to pop only. I suspect it had something to do with this account.
I ran repair permissions, mailbfr -d and mailbfr -o. Nothing untoward in response and messages continued.
I eventually set the mail option for the local test account (via WM) to None. Restarted mail services and the messages stopped. Set the mail option for the test account to Pop & Imap, messages have not returned, everything works normally.
Can anyone enlighten me on the cyrus-quota -r option and why these messages would have appeared?
Ta.
-david

Server Admin triggers the quota report during a
refresh in any tab of the "maintenance section"
So I am almost willing to bet that whenever you get
those messages in the log, Server Admin is open
Aaaaarrgggg!
Absolutely right
It was originally open at the mail queue because I had reduced the timeout option for undeliverables and was monitoring some messages. Of course, this was when I first noticed the system messages!
It stopped after the timeout messages because I immediately clicked on the 'connections' tab to see the status of these.
Very well spotted, Alex! Thanks! I'm guessing it was the 1 minute interval bit which set you thinking along the right track?
I can now stop staring at this ARD screen and go and do something more useful (& I'll sleep better tonight too
Cheers
-david

Similar Messages

  • Problems with cyrus-quota

    Hi,
    Many Times when I execute the following command:
    +sudo -u _cyrus /usr/bin/cyrus/bin/cyrus-quota -f+
    I must to execute again because when finished, User's quotas grow more than 100% and many users are in OverQuota.
    If I execute again, the problem fix it.
    Why?
    Thanks for all,

    If mailboxes AND quotas are <1GB then either your Cyrus DB is broken or you have multiple users by the same name (but different Caps).
    Check mailaccess.log for clues
    Message was edited by: pterobyte

  • Cyradm and cyrus-quota problems

    I've been getting a cyrus-quota crash every night for a while. Here's part of the crash report:
    +Process: cyrus-quota [28870]+
    +Path: /usr/bin/cyrus/bin/cyrus-quota+
    +Identifier: cyrus-quota+
    +Version: ??? (???)+
    +Code Type: X86 (Native)+
    +Parent Process: launchd [1]+
    +Date/Time: 2008-07-10 22:42:24.139 -0500+
    +OS Version: Mac OS X Server 10.5.4 (9E17)+
    +Report Version: 6+
    +Exception Type: EXC_ARITHMETIC (SIGFPE)+
    +Exception Codes: EXCI386DIV (divide by zero)+
    +Crashed Thread: 0+
    +Thread 0 Crashed:+
    +0 cyrus-quota 0x000032c8 doquotacheck 319+
    +1 cyrus-quota 0x000037cd main 714+
    +2 cyrus-quota 0x00001ee6 start 54+
    I'm thinking it's a problem with one of the cyrus mailboxes being corrupted. I've tried stopping the Mail services and issuing:
    *sudo -u cyrusimap /usr/bin/cyrus/bin/cyrus-quota -f*
    *sudo -u cyrusimap /usr/bin/cyrus/bin/ctl_cyrusdb -r*
    *sudo /usr/bin/cyrus/bin/reconstruct*
    But the crashes persist. I wanted to go in with cyradm and weed out unnecessary mailboxes to see if that helps, but I'm unable to login with the cyradm tool:
    *cd /usr/bin/cyrus/admin/*
    *./cyradm -user cyrusimap localhost*
    Password:
    *cyradm: cannot authenticate to server with as cyrusimap*
    I've tried setting the password for the cyrusimap user, using *passwd cyrusimap*, thinking it might be an authentication problem, but I still can't login. I read usually cyrus uses sasl to check passwords, but there's no mention of saslpwcheckmethod in /etc/imapd.conf. Does OS X handle passwords differently?
    Any help on using cyradm or with cyrus-quota crashes?

    Ok, I seemed to have resolved this in my case.
    The crash appears (for me atleast) to have been caused by mailboxes in the mail store that did NOT have a quota set.
    If you execute 'sudo -u _cyrus /usr/bin/cyrus/bin/cyrus-quota it will list quotas on all mailboxes. Look down the list of users which should be something like this: -
    Quota %Used Used Root
    10240 65 6726 user/fred
    10240 0 0 user/bert
    0 15684 user/ernie
    In the example above, ernie has no quota set. This seems to cause the 'cyrus-quota -q' crash (maybe a bug where a 'null' value is causing cyrus-quota to bomb-out?).
    I resolved it by setting a quota for EVERY user, reconstructing the cyrus db and then fixing quotas via the following steps (please note this is for 10.5 Server only and will not work on earlier versions). Make sure you have a backup of everything first.
    1 - Open WGM and ensure ALL users have a quota (I set a high number for those who dont actually need to be quota'd eg. 2gb) Apply changes and quit.
    2 - Stop Mail service in server admin
    open a Terminal and issue the following commands:
    3 - sudo mv /var/imap /var/imap.old
    4 - sudo mkdir /var/imap
    5 - sudo /usr/bin/cyrus/tools/mkimap
    6 - sudo chown -R _cyrus:mail /var/imap
    7 - sudo /usr/bin/cyrus/bin/reconstruct -i
    8 - sudo -u _cyrus /usr/bin/cyrus/bin/cyrus-quota -f
    9 - check all accounts listed have THREE numbers beside them, Quota, Used% and Used.
    10 - test it with sudo -u _cyrus /usr/bin/cyrus/bin/cyrus-quota -q (if all is well it will just return a prompt with no error messages).
    11 - Start the mail service back up in Server Admin and test thoroughly.
    N.B. For me, I HAD to rebuild the database first (Steps 3 - 7), you MAY be able to skip these steps which would preserve the seen-state of your users email.
    Good luck.

  • Cannot fix Cyrus quota after server crash-n-restore

    We had a bad crash last week. AppleRAID went kaboom.
    (don't get me started on the sins of AppleRAID)
    After restoring our e-mail from back-up and performing RECONSTRUCT on our IMAP store, things are looking better... Except all user quotas are wrong.
    I tried performing this...
    % sudo -u cyrus /usr/bin/cyrus/bin/quota -f
    But it gives me this attitude:
    quota: can't read mailboxes file
    Grrrr! I need to get the quota police back on the beat! My users care little how much space their e-mail occupies on our server.
      Mac OS X (10.3.9)  

    I downloaded mailbfr and it was able to repair my quota.
    http://osx.topicdesk.com/downloads
    I'm pretty sure that the problem I was encountering was due to the fact that I was trying to repair the quota WHILE CYRUS WAS STILL RUNNING.
    I'm an idiot.
    Can I delete this thread?
    No?

  • Percentage free in mailbox quotas are wrong

    Mostly a cosmetic issue, but kind of worrying.
    The 'percentage free' column for mailbox quotas in Server Admin is completely inaccurate.
    Nearly all accounts are listed as 100% or 99%, despite actually being 30% free or some such other markedly different value. One account is even listed as 101% free.
    This doesn't bother me too much, because the actual values are there as well. The only issue might be whether users are getting their warning messages in time to actually do anything about it.
    In one or two cases the quota has been filled to the extent where the user cannot even delete messages to free up space; an IMAP quota limit error returns when attempting to delete messages in Mail.
    By the way, cyrus-quota gives accurate results.
    Any ideas?

    I have a similar problem, in Server Admin, under Mail > Maintenance > Accounts.
    I have 5 users and, let's say "user1" and "user2" show negative values under "Quota Used (MB)". As far as I managed to search there is an issue in Quota over 2 Gigs. User 1 and 2 are over that quota. All the mail that is in user mailboxes are imported via Mail.app from another pop3 server, and Outlook Express 2003 also from a pop3 server. Now we are using 10.5.5 leopard server (Imap). Mail is working fine as far as I can see, and mailfbr shows corect values. Please if anyone has this bug post here or let me know if this is a known bug.
    Thanks!

  • Quota Prob in Server Admin

    Hi!
    I have some problems with my quotas shown in Server Admin (MacOSX Server 10.5.7).
    You can see the prob in this screenshot:
    http://www.ewetel.net/~peter.borbonus/Images/quota1a
    (Link to screenshot)
    _What I did to fix it:_
    I deleted inactive mailuserdirectories via cyradm (dm 'Other Users/name')
    No problem with that.
    I rebuilt maildatabase with "mailbfr -f" (because of probs with it after user deletion)
    I tried to fix quotas with "mailbfr -q" (seemed to work)
    In Workgroup-manager I tried to give new quotas to some of the users: failed!
    So I gave new quotas with cyradm (sq 'Other Users/name' 102400): worked!
    I tried to fix quotas with "mailbfr -q" again (seemed to work)
    But my problem is still the same (see screenshot).
    In mailaccess.log are no problems announced.
    What can I do else to fix this problem.
    Apart from this problem the mailsystem seems to run fine.
    Thank you for your assistance,
    Peter.

    I found that cyrus-quota crashes every day.
    The system.log says at that point:
    May 30 19:45:34 xserver ReportCrash[10889]: Formulating crash report for process cyrus-quota[10869]
    May 30 19:45:34 xserver com.apple.launchd[1] (edu.cmu.andrew.cyrus.cyrus-quota[10869]): Exited abnormally: Floating point exception
    May 30 19:45:34 xserver ReportCrash[10889]: Saved crashreport to /Library/Logs/CrashReporter/cyrus-quota2009-05-30-194533xserver.crash using uid: 0 gid: 0, euid: 0 egid: 0
    May 30 19:46:05 xserver ctl_cyrusdb[10899]: checkpointing cyrus databases
    May 30 19:46:05 xserver ctl_cyrusdb[10899]: done checkpointing cyrus databases
    The beginning of crash-report is (if more is needed I can give it to you):
    Process: cyrus-quota [10869]
    Path: /usr/bin/cyrus/bin/cyrus-quota
    Identifier: cyrus-quota
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [1]
    Date/Time: 2009-05-30 19:45:33.454 +0200
    OS Version: Mac OS X Server 10.5.7 (9J61)
    Report Version: 6
    Anonymous UUID: 76D1EBD5-8B8B-4123-B049-4F98D20EA400
    Exception Type: EXC_ARITHMETIC (SIGFPE)
    Exception Codes: EXCI386DIV (divide by zero)
    Crashed Thread: 0
    Thread 0 Crashed:
    0 cyrus-quota 0x000032c8 doquotacheck + 319
    1 cyrus-quota 0x000037cd main + 714
    2 cyrus-quota 0x00001ee6 start + 54
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x00003194 ecx: 0x00000000 edx: 0x00000000
    edi: 0x000001b0 esi: 0x00000000 ebp: 0xbffffd88 esp: 0xbfffed20
    ss: 0x0000001f efl: 0x00010246 eip: 0x000032c8 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x561ffd6c
    I hope somebody here can help me.
    Regards,
    Peter

  • Outlook: The server responded: 'Over quota'

    I'm seeing that message on our server for accounts with the quota set to zero. I rebuilt the database this morning for an unrelated issue and this problem followed. Here is some information on one account that is failing.
    [log]# sudo -u cyrusimap /usr/bin/cyrus/bin/cyrus-quota -f user/vfr1pal
    Quota % Used Used Root
    0 812198 user/vfr1pal
    [log]#
    [mail_server]# cat database/quota/v/user.vfr1pal
    831691707
    0
    [mail_server]# ls -l database/quota/v/user.vfr1pal
    -rw------- 1 cyrusima mail 12 May 25 07:55 database/quota/v/user.vfr1pal
    [mail_server]#
    Xserve   Mac OS X (10.4.8)  

    To bring this back up to the top, here is a summary.
    Users:
    For the majority of the users, the mail storage has become read-only. If they attempt to move a message from the Exchange server to this server, they get 'Over quota'.
    Command Line:
    From the command line, everything appears normal, except if your run mailbfr -q. It reports user quotas of either zero or 2147483647 (7fffffff), with no correlation between the quota values and the failure to be able to right.
    Server Admin:
    Under the maintenance section of Server Admin, all of the user quotas are all reported to be zero, with %Free being listed as 100.00%.
    Workgroup Manager:
    Workgroup Manager also shows the Mail Quota set to zero. It has been demonstrated that changing the Mail Quota setting does not have any impact on the numbers reported by mailbfr.
    I set the Mail Quota for a user to 5600MB in Workgroup Manager yesterday. As of this morning, Server Admin and mailbfr -q both report that the quota for that account is zero.
    This is a production server, which has been unusable for a week now. We have short term workarounds, but this cannot continue.

  • Junkmail/Notjunkmail Users permanently over Quota despite set to 0=no limit

    I'm running a Leopard Server 10.5.5 (9F33) on an intel Xserve. The problem is that the junkmail and notjunkmail users are over quota which obviously is incorrect since there are 0 mails in their box. The quota has been set to 0 for these users, which should not limit the quota.
    The junk/notjunk boxes shall be shared IMAP boxes across all users, so they can participate in spam training the server. (This has proven to be working well with most users.)
    Cyrus reports this for the quota.
    $ sudo -u _cyrus /usr/bin/cyrus/bin/cyrus-quota
    Password:
    Quota % Used Used Root
    0 0 user/info
    0 0 user/junkmail
    0 0 user/notjunkmail
    I've already used pterobyte's excellent mailbfr to check and fix quotas and owner/privs. Nothing seems to help. Even after a clean install the problem arises, which I have not encountered before. Of course there is plenty of space left on the device.
    Rest of the setup is not modified much, just the usual antispam stuff and postfix style aliases.
    Mailserver config as reported by postconf -n:
    server:~ sadmin$ postconf -n
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    disablevrfycommand = yes
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 52428800
    mydomain = server.cocs.de
    mydomain_fallback = localhost
    myhostname = server.cocs.de
    mynetworks = 127.0.0.1/32
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permitsaslauthenticated, permitmynetworks,reject_rblclient zen.spamhaus.org, rejectrblclient ix.dnsbl.manitu.net, permit
    smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
    smtpdenforcetls = no
    smtpdhelorequired = yes
    smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
    smtpdpw_server_securityoptions = cram-md5,gssapi
    smtpdrecipientrestrictions = rejectinvalidhostname, rejectnon_fqdnsender, rejectnon_fqdnrecipient, permitsasl_authenticated,permit_mynetworks,reject_unauth_destination,reject_unlistedrecipient, rejectrblclient zen.spamhaus.org, rejectrblclient ix.dnsbl.manitu.net, permit
    smtpdsasl_authenable = yes
    smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
    smtpdtls_certfile = /etc/certificates/server.cocs.de.crt
    smtpdtls_keyfile = /etc/certificates/server.cocs.de.key
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    unknownvirtual_alias_rejectcode = 450
    unknownvirtual_mailbox_rejectcode = 450
    virtualaliasdomains = hash:/etc/postfix/virtual_domains
    virtualaliasmaps = hash:/etc/postfix/virtual
    virtualmailboxdomains = hash:/etc/postfix/virtualdomainsdummy
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    I know that the message size limit is set ridiculously high, customer demands this and is resistant to consulting on this subject. Temporary rejects (450s) are on purpose for the time of testing.
    Any suggestions welcome, please request any further information you may need to help. I'll be happy to provide and try out everything I can.
    Best regards
    Pepi

    Sorry for forgetting to include imapd.conf in the first place.
    Freshly installed on Saturday. Problem immediately occurs. Tried setting the quota, and setting it back to zero. Neither way a user is able to move any message to the junkmail/notjunkmail box, not even with full IMAP ACL privs on the boxes. Always get the "over quota" error.
    $ cat /etc/imapd.conf
    admins: cyrusimap dave
    configdirectory: /var/imap
    partition-default: /var/spool/imap
    unixhierarchysep: yes
    altnamespace: yes
    servername: server.cocs.de
    sievedir: /usr/sieve
    sendmail: /usr/sbin/sendmail
    lmtpdowncasercpt: 1
    unixgroupenable: 0
    berkeleytxnsmax: 400
    berkeleylocksmax: 20000
    berkeley_cachesize: 8192
    berkeleymax_logregion: 2048
    berkeleymax_logfile: 10240
    berkeleymax_logbuffer: 2048
    tlskeyfile: /etc/certificates/server.cocs.de.key
    quotawarn_frequencydays: 1
    tlscertfile: /etc/certificates/server.cocs.de.crt
    imapauth_crammd5: yes
    logrolling_daysenabled: 0
    logrollingdays: 1
    enable_pop: no
    imapauthgssapi: yes
    imapauthclear: no
    tlsserveroptions: use
    popauthclear: no
    partition-cocs: /Volumes/Postman1/cocsmailstore
    Best regards
    Pepi

  • Quota -r

    Looking in logs to see what is eating my disk space, I found some entries in my system.log that I have not seen before. Anyone know what they do and who is doing them. I don't have anyone logged in to the server (I hope)
    Jun 3 19:48:10 server sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jun 3 19:49:18 server sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jun 3 19:50:25 server sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r

    I believe I read a comment by Pterobyte (Alex) about this at one point, but I can't find the link for you. Basically, quota report is generated by the OSX Server Admin tool when it is open at the Maintenance tab -- it refreshes every minute and generates a quota report each time.

  • 10.5.8 Server, Amavisd 2.6.4 crahing perl, with BerkeleyDB Problem

    By searching the interwebs and discussions here didn't find a solution that worked for me yet.
    System Details: Quad intel Xserve, 10.5.8 Server (Security Update 2009-005 not yet applied.)
    Seems to have started this night around 2am.
    Amavisd-new 2.6.4 will not accept transport anymore. Logs the well known
    Sep 16 15:23:00 mail postfix/qmgr[3853]: warning: connect to transport smtp-amavis: Connection refused
    Sep 16 15:23:12 mail deliver[3869]: connect(/var/imap/socket/lmtp) failed: Connection refused
    messages to the log.
    Tried rebuilding amasid-new and all the needed perl modules. CPAN worked well, yet perl seems to crash anytime amavisd will access a BerkelyDB from cyrus.
    SMTP in seems to work fine, SMTP out as well, transport from postfix to cyrus via amavisd is still broken. My own user account can send and even receive mails without a problem, which stumps me a little. I only have that user for testing purposes, so it doesn't carry any amount of email beyond test mails, counting less than 100 messages.
    I have already checked for privileges and quota problems with the .db.
    Repairing the Database with ServerAdmin hasn't helped, as did a reconstruct with ServerAdmin. I'm still trying to avoid full mailbox rebuilds. I'd prefer rebuilding only the problematic mailboxes and not all mailboxes to have a few as possible users with all their unread status reset.
    For a quick fix, I'd like to be able to deliver mails to the users boxes so they get their mails for the moment, seems they are able to send without problems. This should buy me a little more time until I can fix it all properly.
    Turning off Spam and Virus filtering doesn't help the delivery, which I expected it would. doesn't this time.
    How can I find out which user's mailboxes are corrupted so I can only completely rebuild the ones really needed? I'm willing to jump through substantial hoops to prevent the need to do a full server mailbox rebuild. (ca. 90GB of mails in total… would take a looong time and upset the users.)
    I can test everything and can of course provide any more details you might need to help me.
    This setup is quite modified from Apple's stock setup mostly following pterobyte's excellent recommendations and tutorials for improvement.
    Best regards
    Pepi
    This is what the mail system logs when starting up:
    Clearly there is a problem with the cyrus databases which seem to cause amavisd/perl to crash.
    Sep 16 15:43:29 mail sudo[68375]: radmin : TTY=ttys007 ; PWD=/private/var ; USER=root ; COMMAND=/usr/sbin/serveradmin start mail
    Sep 16 15:43:30 mail master[68377]: process started
    Sep 16 15:43:30 mail postfix/postfix-script[68382]: fatal: the Postfix mail system is not running
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR db4: DBENV->logflush: LSN of 1/62288 past current end-of-log of 1/15979
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR db4: Database environment corrupt; the wrong log files may have been removed or incompatible database files imported from another environment
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR db4: /var/imap/tls_sessions.db: unable to flush page: 0
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR db4: txn_checkpoint: failed to flush the buffer cache Invalid argument
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR db4: PANIC: Invalid argument
    Sep 16 15:43:30 mail ctl_cyrusdb[68379]: DBERROR: critical database situation
    Sep 16 15:43:35 mail master[68377]: process 68379 exited, status 75
    Sep 16 15:43:35 mail idled[68430]: cleaning up corrupted database files in: /var/imap/db
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: __db.001
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: __db.002
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: __db.003
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: __db.004
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: __db.005
    Sep 16 15:43:35 mail idled[68430]: ----: removed file: log.0000000001
    Sep 16 15:43:36 mail master[68377]: Cyrus POP/IMAP Server v2.3.8 ready for work
    Sep 16 15:43:36 mail ctl_cyrusdb[68432]: checkpointing cyrus databases
    Sep 16 15:43:36 mail ctl_cyrusdb[68432]: done checkpointing cyrus databases
    Sep 16 15:44:01 mail sudo[68459]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    This is what is written to the crash report:
    $ cat perl2009-09-16-145012Buzz-Lightyear.crash
    Process: perl [2230]
    Path: /usr/bin/perl
    Identifier: perl
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [1]
    Date/Time: 2009-09-16 14:50:12.683 +0200
    OS Version: Mac OS X Server 10.5.8 (9L34)
    Report Version: 6
    Anonymous UUID: 351B0AD5-FE9F-4556-A043-7FE8E4595D06
    Exception Type: EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread: 0
    Dyld Error Message:
    Symbol not found: dbversion
    Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/BerkeleyDB/BerkeleyDB.bundl e
    Expected in: dynamic lookup
    I don't expect it to be of help in this case, but here is my postconf for completeness.
    $ postconf -n
    always_bcc = [email protected]
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter =
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    localrecipientmaps = proxy:unix:passwd.byname $alias_maps
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 20971520
    mydomain = mail.raiffeisenzeitung.at
    mydomain_fallback = localhost
    myhostname = mail.raiffeisenzeitung.at
    mynetworks = 127.0.0.1/32
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks rejectrblclient zen.spamhaus.org rejectrblclient ix.dnsbl.manitu.net permit
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = gssapi,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,hash:/etc/postfix/rejects,reject_unauth_des tination,reject_unlistedrecipient,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/mail.raiffeisenzeitung.at.crt
    smtpdtls_keyfile = /etc/certificates/mail.raiffeisenzeitung.at.key
    smtpduse_pwserver = yes
    smtpdusetls = yes
    tlsrandomsource = dev:/dev/urandom
    unknownlocal_recipient_rejectcode = 550
    virtualaliasdomains = hash:/etc/postfix/virtual_domains
    virtualaliasmaps = hash:/etc/postfix/virtual
    virtualmailboxdomains = hash:/etc/postfix/virtualdomainsdummy
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp

    Hi Alex,
    thanks for chiming in!
    I'm quite confident, that nobody installed BerkeleyDB at 2am on that server. Neither on purpose nor accidentally.
    Just for the record… the usual suspects have be checked as well:
    I've checked the filesystem, and it seems to be ok.
    I've repaired privileges, and they seem to be ok.
    I've used mailbfr to rebuild each and every mailbox. (-m)
    I've used mailbfr to repair mail system privs and quota. (-o, -q)
    The system has plenty of freespace on all drives.
    Additional info about the current behavior:
    I've turned off virus and spam filtering for the moment. Mails can be sent and do get delivered for all the accounts I've tested. The ones that are already in the queue do not get delivered. I've even tried to manually flush the queue, though postfix usually never needs that and know best when to do what. Anyway it didn't convince postfix to deliver the queued mails.
    From the logs I can see that cyrus complains about a critical database condition in
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: Log sequence error: page LSN 1 3679; previous LSN 10 7846960
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: Recovery function for LSN 1 3308 failed on forward pass
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: PANIC: Invalid argument
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR: critical database situation
    Sep 16 20:49:47 mail idled[39372]: cleaning up corrupted database files in: /var/imap/db
    These problems persist after a server restart.
    Log Details when I try to activate Spam or virus filtering again:
    Sep 16 21:19:30 mail org.amavis.amavisd[1278]: Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/BerkeleyDB/BerkeleyDB.bundl e
    Sep 16 21:19:30 mail org.amavis.amavisd[1278]: Expected in: dynamic lookup
    Sep 16 21:19:31 mail ReportCrash[1292]: Formulating crash report for process perl[1278]
    Sep 16 21:19:31 mail ReportCrash[1292]: Saved crashreport to /Library/Logs/CrashReporter/perl2009-09-16-211931Buzz-Lightyear.crash using uid: 0 gid: 0, euid: 0 egid: 0
    Sep 16 21:19:31 mail com.apple.launchd[1] (org.amavis.amavisd[1278]): Exited abnormally: Trace/BPT trap
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: dyld: lazy symbol binding failed: Symbol not found: dbversion
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/BerkeleyDB/BerkeleyDB.bundl e
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: Expected in: dynamic lookup
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: dyld: Symbol not found: dbversion
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/BerkeleyDB/BerkeleyDB.bundl e
    Sep 16 21:19:31 mail org.amavis.amavisd[1294]: Expected in: dynamic lookup
    Sep 16 21:19:31 mail ReportCrash[1292]: Formulating crash report for process perl[1294]
    Sep 16 21:19:31 mail ReportCrash[1292]: Saved crashreport to /Library/Logs/CrashReporter/perl2009-09-16-211931Buzz-Lightyear.crash using uid: 0 gid: 0, euid: 0 egid: 0
    Sep 16 21:19:31 mail com.apple.launchd[1] (org.amavis.amavisd[1294]): Exited abnormally: Trace/BPT trap
    Sep 16 21:19:31 mail com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 10 seconds
    Sep 16 21:19:34 mail org.clamav.clamd[1204]: Pid file removed.
    Sep 16 21:19:34 mail org.clamav.clamd[1204]: --- Stopped at Wed Sep 16 21:19:34 2009
    Sep 16 21:19:34 mail org.clamav.clamd[1204]: Socket file removed.
    I've already rebuilt amavisd-new 2.6.4 and ClamAV 0.95.2 (with your extras) then rebootet. As expected, the cyrus problems remain. Perl is still crashing as soon as amavisd or ClamAV shall start. Mail delivery directly to cyrus without filtering seems to work fine at the moment. Queued mails stay where they are and do not get delivered.
    Log and status output:
    This is what CPAN tells me about the installed Perl BerkeleyDB Module:
    CPAN: Storable loaded ok (v2.15)
    Going to read '/Users/radmin/.cpan/Metadata'
    Database was generated on Wed, 16 Sep 2009 07:31:39 GMT
    Module id = BerkeleyDB
    DESCRIPTION Interface to Berkeley DB version 2, 3 or 4
    CPAN_USERID PMQS (Paul Marquess <[email protected]>)
    CPAN_VERSION 0.39
    CPAN_FILE P/PM/PMQS/BerkeleyDB-0.39.tar.gz
    UPLOAD_DATE 2009-06-06
    DSLIP_STATUS RdcOp (released,developer,C,object-oriented,Standard-Perl)
    MANPAGE BerkeleyDB - Perl extension for Berkeley DB version 2, 3 or 4
    INST_FILE /Library/Perl/5.8.8/darwin-thread-multi-2level/BerkeleyDB.pm
    INST_VERSION 0.39
    This happens when I start the mail system with spam and virus filtering turned off:
    Sep 16 20:49:37 mail com.apple.launchd[1] (org.postfix.master[35692]): Exited: Terminated
    Sep 16 20:49:37 mail postfix/postfix-script[39262]: fatal: the Postfix mail system is not running
    Sep 16 20:49:40 mail net.clamav.clamd[35631]: Pid file removed.
    Sep 16 20:49:40 mail net.clamav.clamd[35631]: --- Stopped at Wed Sep 16 20:49:40 2009
    Sep 16 20:49:40 mail net.clamav.clamd[35631]: Socket file removed.
    Sep 16 20:49:40 mail com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[35710]): Stray process with PGID equal to this dead job: PID 38979 PPID 1 imapd
    Sep 16 20:49:41 mail master[39317]: process started
    Sep 16 20:49:41 mail postfix/postfix-script[39322]: fatal: the Postfix mail system is not running
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Limits: Global size limit set to 20971520 bytes.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Limits: File size limit set to 15728640 bytes.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Limits: Recursion level limit set to 10.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Limits: Files limit set to 1500.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Archive support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Algorithmic detection enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Portable Executable support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: ELF support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Detection of broken executables enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Mail files support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: OLE2 support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: PDF support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: HTML support enabled.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Self checking every 600 seconds.
    Sep 16 20:49:41 mail net.clamav.clamd[39308]: Set stacksize to 1048576
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: Log sequence error: page LSN 1 3679; previous LSN 10 7846960
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: Recovery function for LSN 1 3308 failed on forward pass
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR db4: PANIC: Invalid argument
    Sep 16 20:49:41 mail ctl_cyrusdb[39320]: DBERROR: critical database situation
    Sep 16 20:49:47 mail master[39317]: process 39320 exited, status 75
    Sep 16 20:49:47 mail idled[39372]: cleaning up corrupted database files in: /var/imap/db
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: __db.001
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: __db.002
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: __db.003
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: __db.004
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: __db.005
    Sep 16 20:49:47 mail idled[39372]: ----: removed file: log.0000000001
    Sep 16 20:49:47 mail master[39317]: Cyrus POP/IMAP Server v2.3.8 ready for work
    Sep 16 20:49:47 mail ctl_cyrusdb[39374]: checkpointing cyrus databases
    Sep 16 20:49:47 mail ctl_cyrusdb[39374]: done checkpointing cyrus databases
    Should I try to use mailbfr -f (and get about 900.000 unread mails)? If there is nothing else I can do to fix this, I'll do it. It takes what it takes.
    Thanks
    Best regards
    Pepi

  • Delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection

    All in mail in or out is sitting in the queue. I have restarted the mail server and also the entire xserve box.
    Hardware Overview:
    Machine Name: Xserve G5
    Machine Model: RackMac3,1
    CPU Type: PowerPC G5 (3.1)
    Number Of CPUs: 2
    CPU Speed: 2.3 GHz
    L2 Cache (per CPU): 512 KB
    Memory: 1 GB
    Bus Speed: 1.15 GHz
    Boot ROM Version: 5.1.7f2
    Server Version: Mac OS X Server 10.4.10 (Build 8R218)
    No matter who sends or is going to receive the email I get the following message in the queue:
    delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused
    here is the config
    ns1:~ administrator$ postconf -n
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    localrecipientmaps = proxy:unix:passwd.byname $alias_maps
    luser_relay =
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    messagesizelimit = 52428800
    mydestination = $myhostname,localhost.$mydomain,ms1.rigginsconst.com,ms1.rigginsconstruction.co m,rigginsconst.com,rigginsconstructions.com,mail.rigginsconst.com
    mydomain = rigginsconst.com
    mydomain_fallback = localhost
    myhostname = rigginsconst.com
    mynetworks = 67.94.43.194,64.208.56.97,216.237.12.146,66.162.217.99,66.162.217.100,66.162.21 7.101,66.92.226.25,208.254.27.248,194.133.15.69,66.249.2.114,64.34.161.7,74.7.73 .178,74.7.73.179,74.7.73.180,69.162.84.11,216.237.12.147,66.92.226.26,66.92.226. 27,66.92.226.28,66.92.226.29,66.92.226.30,208.254.27.249,208.254.27.250,208.254. 27.251,66.249.2.115,66.249.2.116,66.249.2.117,66.249.2.118,74.7.73.181,74.7.73.1 82,74.7.73.183,74.7.73.184,127.0.0.1,74.7.73.189,74.7.73.190
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdpw_server_securityoptions = login,plain,gssapi,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_keyfile =
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    virtualmailboxdomains =
    virtual_transport = virtual
    ns1:~ administrator$
    if I try
    sudo launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
    as was pointed out in another post, the mail log shows:
    Oct 19 14:46:20 ns1 sudo: administrator : TTY=ttyp1 ; PWD=/Users/administrator ; USER=root ; COMMAND=/bin/launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
    Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: 9 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:46:21 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:46:29 ns1 sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: 8 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:46:31 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: 7 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:46:41 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:46:50 ns1 pop3[3528]: login: [74.7.73.178] info APOP User logged in
    Oct 19 14:46:50 ns1 pop3[3527]: login: [74.7.73.178] kimiko APOP User logged in
    Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: 6 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:46:52 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: 5 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:47:02 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: 4 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:47:13 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: 3 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:47:23 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:32 ns1 sudo: root : TTY=unknown ; PWD=/ ; USER=cyrusimap ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: 2 more failures without living at least 60 seconds will cause job removal
    Oct 19 14:47:34 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: 1 more failure without living at least 60 seconds will cause job removal
    Oct 19 14:47:44 ns1 launchd: org.amavis.amavisd: will restart in 10 seconds
    Oct 19 14:47:50 ns1 pop3[3528]: login: [74.7.73.178] info APOP User logged in
    Oct 19 14:47:50 ns1 pop3[3528]: login: [74.7.73.178] kimiko APOP User logged in
    Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: exited with exit code: 255
    Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: respawning too quickly! throttling
    Oct 19 14:47:54 ns1 launchd: org.amavis.amavisd: too many failures in succession
    Oct 19 14:48:01 ns1 postfix/smtpd[3591]: auxpropfunc error no mechanism available\n
    Where to go from here?

    you can clear your queue by temporarily disabling the content filter.
    once you catch your breath, take a look at amavisd.log when you issue:
    sudo launchctl load -w /System/Library/LaunchDaemons/org.amavis.amavisd.plist
    The problem may be revealed down to the line#.
    -or-
    revert to a previous version of amavisd.conf
    Jeff

  • Problem setting up crontab for cyrusimap

    Greetings all.
    I've just finished setting up OS X Server 10.4.10 on an intel mac, and was trying to setup a crontab for cyrusimap to make sure that all mail for JUNKMAIL and NOTJUNKMAIL users is deleted automatically using ipurge.
    I created the following crontab file:
    <pre>
    0 0 */0 * * /usr/bin/cyrus/bin/cyrus-quota -q
    30 1 * * * /usr/bin/cyrus/bin/ipurge -f -d 1 user/junkmail user/notjunkmail
    </pre>
    And then tried loading it in via:
    <pre>
    sudo crontab -u cyrusimap <PATHTOCRONTAB>
    </pre>
    However crontab just hangs hogging 90%+ of the CPU!? The permissions in /var/cron/tabs seem ok, with full read/write for root.
    Any ideas? Thanks in advance,
    Mezza

    Mezza,
    cron is not used by default in OS X although it is certainly supported.
    See http://www.afp548.com/article.php?story=20050620071558293
    Since you did not explicitly state the "path to crontab"
    I wonder if you might be trying to run root's crontab as user cyrusimap, which of course won't work. See the crontab manpage for a possible exception although I wouldn't recommend it.
    The crontab file for cyrusimap is empty by default in 10.4 server

  • ClamAV appears to be unstable after 10.5.3 update

    Following the 10.5.3 update, I've now had my xserver auto-restart on 2 occasions (this is starting to follow an almost daily trend!). Each time, clamd is the current thread when the CPU ceases to respond to interrupts. As a result, I'm presuming ClamAV is the culprit.
    Each time the server restarts there is typically some form of disc corruption (on the first restart a scanned SPAM email overwrote a plist file; on the second restart the RAID array needed some TLC (this may have been related to a database update that occurred within a nearby log timeframe?)). To avoid any further issues (or worse!), I've currently switched off all virus scanning until I have a better handle on what is happening.
    Does anyone have any tips on how best to work around or debug this issue?
    Many thanks,
    Carl.
    Message was edited by: Carl Pulley

    Same exact issue. Help me out here if someone knows the internal workings to clamav, amavis, and cyrus. I still consider myself a n00bie in this arena, but trying to learn fast. Have posted logs and described as much as possible without writing a novel here below. Message me if you want more info, I'm happy to share.
    Story:
    Running 10.5.2 for a few months, all is working fine with the server, with mail. Not a heavy load, but about 25 user accounts most running on IMAP few on POP. Normal GUI setup for the most part from what I'm aware of. Junkmail filtering, learning, virus scanning, virtual hosting setup even and all working well. This is a brand new X-Serve, with clean install on it. No other things running on it, no 3rd party software. All Apple hardware, software, memory. Server monitor watches all hardware constantly for any anomalies.
    Did 10.5.3 update last Friday at noon. Restart at noonish, all still works great.
    Then server crashes (reboots on it's own) at 9:30 PM. Once the server gets back up and running Amavis seems to be failing and the SMTP logs show all email as "connection refused" (clients i think, lost these particular logs since this occurred since the newer ones overwrote the older ones).
    FYI: I get no data or RAID problems like Cari reported thankfully and sorry to hear that Cari. Just my mail stops working and of course the server reboots which I'd like to prevent from happening again.
    So I worriedly restarted the mail service through the GUI, preying it will just fix itself, and thankfully it did; all is fine again and my mail works great.
    Server works fine through Saturday and Sunday, then at 3:30 PM again crash, reboot. Amavis not delivering again, getting connection refused messages. Restart mail services through GUI and all works again.
    So using my n00bish postfix, cyrus, amavis, and clamav knowledge, it seemed as I had a corrupted cyrus database according to my logs (below). So I used mailbfr (as well as the GUI reconstruct cause I have one mailbox still that shows a negative value in server admin GUI which is another issue I'll work on later) and reconstructed the cyrus stuff. Before I had done this I was getting IOError's in my system logs "IOERROR: user.jonjones zero index/expunge record 10/207". Now these errors don't show up any longer and ... so far ... server has yet to crash *knocks on wood*
    So to you mail guru's out there, my relevant logs are below (I think). Any of you have any ideas, is it related to the cyrus stuff or am I way off base?
    And to you Cari and ruzz, or anyone else with this issue, are you experiencing the same things in your logs as far as "IOERROR's" on your user's mailboxes or cyrus messages talking about corruption? Maybe just a reconstruct is needed to fix this issue? Maybe it's not even related, again I don't know enough about how these services talk to each other, so I apologize if I sound dumb or just not know enough to talk about this intelligently.
    Here are my logs:
    /Library/Logs/PanicReporter
    Sun Jun 1 17:35:41 2008
    panic(cpu 6 caller 0x00192FD4): "pmapflushtlbs() timeout: " "cpu 1 failing to respond to interrupts, pmap=0x6829488 cpustosignal=2"@/SourceCache/xnu/xnu-1228.5.18/osfmk/i386/pmap.c:4570
    Backtrace, Format - Frame : Return Address (4 potential args on stack)
    0x5e3a3428 : 0x12b0fa (0x459294 0x5e3a345c 0x133243 0x0)
    0x5e3a3478 : 0x192fd4 (0x45f404 0x1 0x6829488 0x2)
    0x5e3a34e8 : 0x1962ee (0x1 0x68294d4 0x0 0xffffffff)
    0x5e3a35c8 : 0x15fc0e (0x6829488 0xb53000 0x0 0x48f1e)
    0x5e3a3628 : 0x160106 (0x2696d54 0x6829488 0xb53000 0x0)
    0x5e3a36a8 : 0x163736 (0x70d8000 0xb53000 0x0 0x5e3a382c)
    0x5e3a3748 : 0x16d89a (0x70d8000 0x5e3a382c 0x6829488 0xb53000)
    0x5e3a3898 : 0x3bfde9 (0xb55000 0x0 0x3 0x0)
    0x5e3a38d8 : 0x33db2e (0xb53c00 0x0 0x1000 0x0)
    0x5e3a39c8 : 0x1f3faf (0x5e3a39e0 0x2 0x5e3a3ec4 0x37f627)
    0x5e3a3a18 : 0x1e7d8e (0x7af5170 0x5e3a3ec4 0x0 0x5e3a3f1c)
    0x5e3a3f38 : 0x1e7f20 (0x1000 0x0 0x5e3a3f68 0x5e3a3f60)
    0x5e3a3f78 : 0x3dddda (0x6b16970 0x6e1c040 0x6e1c084 0xffffffff)
    0x5e3a3fc8 : 0x19f2c3 (0x6d437a0 0x0 0x1a20b5 0x6d437a0)
    No mapping exists for frame pointer
    Backtrace terminated-invalid frame pointer 0xbffff4f8
    BSD process name corresponding to current thread: clamd
    Mac OS version:
    9D34
    Kernel version:
    Darwin Kernel Version 9.3.0: Fri May 23 00:49:16 PDT 2008; root:xnu-1228.5.18~1/RELEASE_I386
    System model name: Xserve2,1 (Mac-F42289C8)
    /var/log/system.log
    Jun 1 17:35:47 ns1 org.clamav.freshclam[46]: main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
    Jun 1 17:35:47 ns1 org.clamav.freshclam[46]: daily.inc is up to date (version: 7318, sigs: 72656, f-level: 26, builder: ccordes)
    Jun 1 17:35:48 ns1 ctl_cyrusdb[157]: verifying cyrus databases
    Jun 1 17:35:48 ns1 ctl_cyrusdb[157]: skiplist: recovered /var/imap/mailboxes.db (108 records, 25580 bytes) in 0 seconds
    Jun 1 17:35:48 ns1 ctl_cyrusdb[157]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
    Jun 1 17:35:54 ns1 org.amavis.amavisd[199]: Can't send SIG 0 to process [110]: Operation not permitted at /usr/bin/amavisd line 11203.
    Jun 1 17:35:55 ns1 kernel[0]: serialnumberd 190 FSWRITEDATA SBF /dev/dtracehelper 13 (seatbelt)
    Jun 1 17:35:55 ns1 kernel[0]: serialnumberd 190 FSREADDATA SBF /dev/autofs_nowait 13 (seatbelt)
    Jun 1 17:35:55 ns1 com.apple.launchd[1] (org.amavis.amavisd[199]): Exited with exit code: 1
    Jun 1 17:35:55 ns1 kernel[0]: serialnumberd 190 FSREADDATA SBF /usr/sbin 13 (seatbelt)
    Jun 1 17:35:55 ns1 com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 9 seconds
    Jun 1 17:35:55 ns1 servermgrd[60]: servermgr_calendar: created default calendar virtual host
    Jun 1 17:35:55 ns1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[51]): Stray process with PGID equal to this dead job: PID 157 PPID 1 ctl_cyrusdb
    Jun 1 17:35:55 ns1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[51]): Exited abnormally: User defined signal 1
    Jun 1 17:35:55 ns1 master[208]: process started
    Jun 1 17:35:55 ns1 servermgrd[60]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv4 rules
    Jun 1 17:35:56 ns1 servermgrd[60]: servermgr_ipfilter:ipfw config:Notice:Flushed IPv6 rules
    Jun 1 17:35:59 ns1 ctl_cyrusdb[209]: verifying cyrus databases
    Jun 1 17:35:59 ns1 ctl_cyrusdb[209]: skiplist: recovered /var/imap/mailboxes.db (108 records, 25580 bytes) in 0 seconds
    Jun 1 17:35:59 ns1 ctl_cyrusdb[209]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Loaded 303658 signatures.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: WARNING: Socket file /var/amavis/clamd exists. Unclean shutdown? Removing...
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Unix socket file /var/amavis/clamd
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Setting connection queue length to 15
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Archive: Archived file size limit set to 10485760 bytes.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Archive: Recursion level limit set to 8.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Archive: Files limit set to 1000.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Archive: Compression ratio limit set to 250.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Archive support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Algorithmic detection enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Portable Executable support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: ELF support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Mail files support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Mail: Recursion level limit set to 64.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: OLE2 support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: PDF support disabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: HTML support enabled.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Self checking every 1800 seconds.
    Jun 1 17:36:01 ns1 org.clamav.clamd[47]: Set stacksize to 1048576
    Jun 1 17:36:02 ns1 ctl_cyrusdb[209]: done verifying cyrus databases
    Jun 1 17:36:02 ns1 master[208]: Cyrus POP/IMAP Server v2.3.8 ready for work
    Jun 1 17:36:02 ns1 ctl_cyrusdb[232]: checkpointing cyrus databases
    Jun 1 17:36:02 ns1 com.apple.KerberosAutoConfig[233]: Kerberos configuration is up to date
    Jun 1 17:36:03 ns1 com.apple.SNServer[190]: serialnumberd: recvfrom: Resource temporarily unavailable
    Jun 1 17:36:03 ns1 ctl_cyrusdb[232]: done checkpointing cyrus databases
    Jun 1 17:36:03 ns1 imap[234]: login: [172.16.2.12] junkmail CRAM-MD5 User logged in
    Jun 1 17:36:03 ns1 imap[235]: login: [172.16.2.12] rosebud CRAM-MD5 User logged in
    Jun 1 17:36:03 ns1 imap[234]: skiplist: recovered /var/imap/user/j/junkmail.seen (12 records, 14104 bytes) in 0 seconds
    Jun 1 17:36:03 ns1 imap[235]: skiplist: recovered /var/imap/user/r/rosebud.seen (4 records, 2036 bytes) in 0 seconds
    Jun 1 17:36:04 ns1 imap[234]: login: [172.16.2.12] junkmail CRAM-MD5 User logged in
    Jun 1 17:36:04 ns1 imap[240]: login: [172.16.2.12] rosebud CRAM-MD5 User logged in
    Jun 1 17:36:04 ns1 imap[241]: login: [172.16.2.12] junkmail CRAM-MD5 User logged in
    Jun 1 17:36:04 ns1 imap[242]: login: [172.16.2.12] junkmail CRAM-MD5 User logged in
    Jun 1 17:36:04 ns1 imap[243]: login: [172.16.2.12] junkmail CRAM-MD5 User logged in
    Jun 1 17:36:04 ns1 com.apple.KerberosAutoConfig[247]: Kerberos configuration is up to date
    Jun 1 17:36:04 ns1 org.amavis.amavisd[245]: Can't send SIG 0 to process [110]: Operation not permitted at /usr/bin/amavisd line 11203.
    Jun 1 17:36:04 ns1 com.apple.launchd[1] (org.amavis.amavisd[245]): Exited with exit code: 1
    Jun 1 17:36:04 ns1 com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 10 seconds
    Jun 1 17:36:06 ns1 pop3[246]: no secret in database
    Jun 1 17:36:06 ns1 pop3[246]: badlogin: [172.16.2.19] CRAM-MD5 user not found
    Jun 1 17:36:09 ns1 com.apple.launchd[1] (org.amavis.amavisd): Throttling respawn: Will start in 5 seconds
    Jun 1 17:36:10 ns1 pop3[246]: login: [172.16.2.19] stephp APOP User logged in
    Jun 1 17:36:51 ns1 sudo[609]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jun 1 17:37:19 ns1 org.amavis.amavisd[264]: Can't send SIG 0 to process [110]: Operation not permitted at /usr/bin/amavisd line 11203.
    Jun 1 17:37:19 ns1 com.apple.launchd[1] (org.amavis.amavisd[264]): Exited with exit code: 1
    Jun 1 17:37:20 ns1 postfix/smtpd[186]: warning: 190.2.37.107: hostname customer2-37-107.iplannetworks.net verification failed: nodename nor servname provided, or not known
    Jun 1 17:37:35 ns1 postfix/smtpd[185]: warning: 201.240.99.90: hostname client-201.240.99.90.speedy.net.pe verification failed: nodename nor servname provided, or not known
    Jun 1 17:37:52 ns1 sudo[1179]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jun 1 17:38:21 ns1 org.amavis.amavisd[860]: Can't send SIG 0 to process [110]: Operation not permitted at /usr/bin/amavisd line 11203.
    Jun 1 17:38:21 ns1 com.apple.launchd[1] (org.amavis.amavisd[860]): Exited with exit code: 1
    Jun 1 17:38:53 ns1 sudo[1758]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jun 1 17:39:23 ns1 org.amavis.amavisd[1444]: Can't send SIG 0 to process [110]: Operation not permitted at /usr/bin/amavisd line 11203.
    Jun 1 17:39:23 ns1 com.apple.launchd[1] (org.amavis.amavisd[1444]): Exited with exit code: 1
    and so and so on.
    The "Operation not permitted at /usr/bin/amavisd line 11203." only happens after the crash. Does not happen after mail services have been manually restarted.
    I searched the net for the past 2 days on this and just never got around to posting anything yet. Ran across this article when looking for information on outdated clamav messages and whether or not I should bother upgrading it and how to upgrade it (figured this may take care of the issue since I hadn't found anything as of yet).
    Thank you to any who read through all that mess and to any who can shed some light on this issue,
    Jessee
    Message was edited by: Oranges2Apples

  • Server log showing problems with Mail Server

    Ok, so I followed the instructions in that PDF about how to make virtual mail users in 10.5.1 since they are broken. So I did it in the WGM and the Postfix stuff as the document said. Now I get all these errors in the server log and I have no idea how to fix the problem or if what I did was even done right. Here is the error log below:
    Jan 30 23:33:26 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:34:03 xpmedia1 postfix/smtpd[53603]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:34:03 xpmedia1 postfix/smtpd[53603]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:34:04 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53603 exit status 1
    Jan 30 23:34:04 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:34:26 xpmedia1 postfix/cleanup[53611]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:34:26 xpmedia1 postfix/cleanup[53611]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:34:27 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53611 exit status 1
    Jan 30 23:34:27 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:35:04 xpmedia1 postfix/smtpd[53615]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:35:04 xpmedia1 postfix/smtpd[53615]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:35:05 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53615 exit status 1
    Jan 30 23:35:05 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:35:16 xpmedia1 sudo[53616]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jan 30 23:35:27 xpmedia1 postfix/cleanup[53625]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:35:27 xpmedia1 postfix/cleanup[53625]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:35:28 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53625 exit status 1
    Jan 30 23:35:28 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:36:05 xpmedia1 postfix/smtpd[53633]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:36:05 xpmedia1 postfix/smtpd[53633]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:36:06 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53633 exit status 1
    Jan 30 23:36:06 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:36:28 xpmedia1 postfix/cleanup[53646]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:36:28 xpmedia1 postfix/cleanup[53646]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:36:29 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53646 exit status 1
    Jan 30 23:36:29 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:37:06 xpmedia1 postfix/smtpd[53650]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:37:06 xpmedia1 postfix/smtpd[53650]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:37:07 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53650 exit status 1
    Jan 30 23:37:07 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:37:29 xpmedia1 postfix/cleanup[53662]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:37:29 xpmedia1 postfix/cleanup[53662]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:37:30 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53662 exit status 1
    Jan 30 23:37:30 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:38:07 xpmedia1 postfix/smtpd[53666]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:38:07 xpmedia1 postfix/smtpd[53666]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:38:08 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53666 exit status 1
    Jan 30 23:38:08 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:38:30 xpmedia1 postfix/cleanup[53678]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:38:30 xpmedia1 postfix/cleanup[53678]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:38:31 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53678 exit status 1
    Jan 30 23:38:31 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:39:08 xpmedia1 postfix/smtpd[53682]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:39:08 xpmedia1 postfix/smtpd[53682]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:39:09 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53682 exit status 1
    Jan 30 23:39:09 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:39:31 xpmedia1 imap[53683]: TLS server engine: cannot load CA data
    Jan 30 23:39:31 xpmedia1 imap[53683]: TLS server engine: No CA file specified. Client side certs may not work
    Jan 30 23:39:31 xpmedia1 imap[53683]: STARTTLS negotiation failed: host-12-152-82-88.orbitelcom.com [12.152.82.88]
    Jan 30 23:39:31 xpmedia1 postfix/cleanup[53695]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:39:31 xpmedia1 postfix/cleanup[53695]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:39:32 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53695 exit status 1
    Jan 30 23:39:32 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:39:46 xpmedia1 imap[53683]: starttls: TLSv1 with cipher AES128-SHA (128/128 bits new) no authentication
    Jan 30 23:39:46 xpmedia1 imap[53683]: login: host-12-152-82-88.orbitelcom.com [12.152.82.88] postmaster CRAM-MD5+TLS User logged in
    Jan 30 23:40:09 xpmedia1 postfix/smtpd[53699]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:40:09 xpmedia1 postfix/smtpd[53699]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:40:10 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53699 exit status 1
    Jan 30 23:40:10 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:40:32 xpmedia1 postfix/cleanup[53700]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:40:32 xpmedia1 postfix/cleanup[53700]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:40:33 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53700 exit status 1
    Jan 30 23:40:33 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:41:10 xpmedia1 postfix/smtpd[53719]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:41:10 xpmedia1 postfix/smtpd[53719]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:41:11 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53719 exit status 1
    Jan 30 23:41:11 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:41:33 xpmedia1 postfix/cleanup[53720]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:41:33 xpmedia1 postfix/cleanup[53720]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:41:34 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53720 exit status 1
    Jan 30 23:41:34 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:42:11 xpmedia1 postfix/smtpd[53735]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:42:11 xpmedia1 postfix/smtpd[53735]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:42:12 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53735 exit status 1
    Jan 30 23:42:12 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:42:34 xpmedia1 postfix/cleanup[53736]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:42:34 xpmedia1 postfix/cleanup[53736]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:42:35 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53736 exit status 1
    Jan 30 23:42:35 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
    Jan 30 23:43:12 xpmedia1 postfix/smtpd[53752]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:43:12 xpmedia1 postfix/smtpd[53752]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:43:13 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/smtpd pid 53752 exit status 1
    Jan 30 23:43:13 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
    Jan 30 23:43:35 xpmedia1 postfix/cleanup[53753]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
    Jan 30 23:43:35 xpmedia1 postfix/cleanup[53753]: fatal: open database /var/mailman/data/virtual-mailman.db: No such file or directory
    Jan 30 23:43:36 xpmedia1 postfix/master[49308]: warning: process /usr/libexec/postfix/cleanup pid 53753 exit status 1
    Jan 30 23:43:36 xpmedia1 postfix/master[49308]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling

    I did what you said and I don't see all those weird messages anymore, but we switched over our MX records today to our mail server in hopes that it would all work and now no one can get their mail. I can log into the mail server no problem via IMAP, but to send messages is not working. And those using POP don't seem to work at all. Even to send messages the Server is rejecting saying that my messages isn't addresed right. Which it is. I can't even send something to myself. I'm trying not to be frustrated with this thing. I'm just not sure what to do since we have a whole bunch of people needing mail and it doesn't seem to be working and I'm not a mail server expert. Any help would be appreciated.
    Here is what I with postconf -n:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    localrecipientmaps =
    luser_relay = postmaster
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 10485760
    mydestination = $myhostname,localhost.$mydomain,localhost
    mydomain = xpmedia.com
    mydomain_fallback = localhost
    myhostname = mail.xpmedia.com
    mynetworks = 98.173.129.235,98.173.129.238
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks zen.spamhaus.org permit
    smtpdpw_server_securityoptions = login,cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    virtualaliasdomains = hash:/etc/postfix/virtual_domains
    virtualaliasmaps = hash:/etc/postfix/virtual
    virtualmailboxdomains = hash:/etc/postfix/virtualdomainsxp
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    Here is what I got in the system log:
    11:29:53 xpmedia1 loginwindow[57389]: received ATSServer died message. (old server pid = 58904, new pid = 58934, session ID = 256)
    Jan 31 11:29:53 xpmedia1 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer[5 7421]: received ATSServer died message. (old server pid = 58904, new pid = 58934, session ID = 256)
    Jan 31 11:29:53 xpmedia1 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder[57422]: received ATSServer died message. (old server pid = 58904, new pid = 58934, session ID = 256)
    Jan 31 11:29:54 xpmedia1 com.apple.launchd[1] (0x10f510.login[58959]): Could not setup Mach task special port 9: (os/kern) no access
    Jan 31 11:29:54 xpmedia1 login[58959]: USER_PROCESS: 58959 ttys000
    Jan 31 11:30:03 xpmedia1 login[58959]: DEAD_PROCESS: 58959 ttys000
    Jan 31 11:30:22 xpmedia1 master[58971]: process started
    Jan 31 11:30:22 xpmedia1 org.clamav.clamd[58975]: clamd daemon 0.91.2 (OS: darwin9.0, ARCH: i386, CPU: i386)
    Jan 31 11:30:22 xpmedia1 org.clamav.clamd[58975]: Log file size limited to 1048576 bytes.
    Jan 31 11:30:22 xpmedia1 org.clamav.clamd[58975]: Reading databases from /var/clamav
    Jan 31 11:30:22 xpmedia1 org.clamav.clamd[58975]: Not loading PUA signatures.
    Jan 31 11:30:23 xpmedia1 postfix/postfix-script[58983]: fatal: the Postfix mail system is not running
    Jan 31 11:30:23 xpmedia1 ctl_cyrusdb[58973]: verifying cyrus databases
    Jan 31 11:30:23 xpmedia1 ctl_cyrusdb[58973]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/mailboxes.db (29 records, 5640 bytes) in 0 seconds
    Jan 31 11:30:23 xpmedia1 ctl_cyrusdb[58973]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/annotations.db (0 records, 144 bytes) in 0 seconds
    Jan 31 11:30:24 xpmedia1 org.clamav.clamd[58975]: Loaded 198723 signatures.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Unix socket file /var/amavis/clamd
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Setting connection queue length to 15
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Archive: Archived file size limit set to 10485760 bytes.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Archive: Recursion level limit set to 8.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Archive: Files limit set to 1000.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Archive: Compression ratio limit set to 250.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Archive support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Algorithmic detection enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Portable Executable support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: ELF support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Mail files support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Mail: Recursion level limit set to 64.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: OLE2 support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: PDF support disabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: HTML support enabled.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Self checking every 1800 seconds.
    Jan 31 11:30:25 xpmedia1 org.clamav.clamd[58975]: Set stacksize to 1048576
    Jan 31 11:30:25 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[58971]): Stray process with PGID equal to this dead job: PID 58973 PPID 1 ctl_cyrusdb
    Jan 31 11:30:25 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[58971]): Exited abnormally: User defined signal 1
    Jan 31 11:30:25 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master): Throttling respawn: Will start in 8 seconds
    Jan 31 11:30:33 xpmedia1 master[59034]: process started
    Jan 31 11:30:34 xpmedia1 ctl_cyrusdb[59035]: verifying cyrus databases
    Jan 31 11:30:34 xpmedia1 ctl_cyrusdb[59035]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/mailboxes.db (29 records, 5640 bytes) in 0 seconds
    Jan 31 11:30:34 xpmedia1 ctl_cyrusdb[59035]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/annotations.db (0 records, 144 bytes) in 0 seconds
    Jan 31 11:30:35 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[59034]): Stray process with PGID equal to this dead job: PID 59035 PPID 1 ctl_cyrusdb
    Jan 31 11:30:35 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master[59034]): Exited abnormally: User defined signal 1
    Jan 31 11:30:35 xpmedia1 com.apple.launchd[1] (edu.cmu.andrew.cyrus.master): Throttling respawn: Will start in 9 seconds
    Jan 31 11:30:43 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:30:44 xpmedia1 master[59041]: process started
    Jan 31 11:30:45 xpmedia1 ctl_cyrusdb[59042]: verifying cyrus databases
    Jan 31 11:30:45 xpmedia1 ctl_cyrusdb[59042]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/mailboxes.db (29 records, 5640 bytes) in 0 seconds
    Jan 31 11:30:45 xpmedia1 ctl_cyrusdb[59042]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/annotations.db (0 records, 144 bytes) in 0 seconds
    Jan 31 11:30:46 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:30:47 xpmedia1 ctl_cyrusdb[59042]: done verifying cyrus databases
    Jan 31 11:30:47 xpmedia1 master[59041]: Cyrus POP/IMAP Server v2.3.8 ready for work
    Jan 31 11:30:47 xpmedia1 ctl_cyrusdb[59045]: checkpointing cyrus databases
    Jan 31 11:30:47 xpmedia1 ctl_cyrusdb[59045]: done checkpointing cyrus databases
    Jan 31 11:31:09 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:31:13 xpmedia1 pop3[59050]: login: host-12-152-82-113.orbitelcom.com [12.152.82.113] jsowerby APOP User logged in
    Jan 31 11:31:13 xpmedia1 pop3[59051]: login: host-12-152-82-113.orbitelcom.com [12.152.82.113] rsowerby APOP User logged in
    Jan 31 11:31:14 xpmedia1 imap[59053]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:31:14 xpmedia1 imap[59052]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:31:14 xpmedia1 imap[59054]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:31:14 xpmedia1 imap[59055]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:31:15 xpmedia1 imap[59055]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/user/p/postmaster.seen (0 records, 144 bytes) in 0 seconds
    Jan 31 11:31:15 xpmedia1 imap[59054]: skiplist: recovered /Volumes/Kingdom/Mail_Database/imap/user/b/bcorbin.seen (2 records, 572 bytes) in 0 seconds
    Jan 31 11:31:15 xpmedia1 imap[59053]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:31:15 xpmedia1 imap[59056]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:31:16 xpmedia1 imap[59052]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:31:17 xpmedia1 imap[59057]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:31:17 xpmedia1 imap[59058]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:31:18 xpmedia1 imap[59059]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:31:25 xpmedia1 pop3[59050]: no secret in database
    Jan 31 11:31:25 xpmedia1 pop3[59050]: badlogin: 71-223-32-176.phnx.qwest.net [71.223.32.176] CRAM-MD5 user not found
    Jan 31 11:31:25 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:31:25 xpmedia1 pop3[59051]: login: [66.182.125.209] cbrundidge APOP User logged in
    Jan 31 11:31:30 xpmedia1 pop3[59051]: login: 71-223-32-176.phnx.qwest.net [71.223.32.176] kbarr APOP User logged in
    Jan 31 11:31:44 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:31:44 xpmedia1 postfix/smtpd[59063]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:32:07 xpmedia1 imap[59069]: login: [66.182.118.39] postmaster CRAM-MD5 User logged in
    Jan 31 11:32:07 xpmedia1 imap[59068]: login: [66.182.118.39] bcorbin CRAM-MD5 User logged in
    Jan 31 11:32:25 xpmedia1 pop3[59050]: login: [66.182.125.209] cbrundidge APOP User logged in
    Jan 31 11:32:29 xpmedia1 postfix/smtpd[59063]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:33:01 xpmedia1 postfix/smtpd[59036]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:33:25: --- last message repeated 1 time ---
    Jan 31 11:33:25 xpmedia1 pop3[59050]: no secret in database
    Jan 31 11:33:25 xpmedia1 pop3[59050]: badlogin: 71-223-32-176.phnx.qwest.net [71.223.32.176] CRAM-MD5 user not found
    Jan 31 11:33:25 xpmedia1 postfix/smtpd[59086]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:33:26 xpmedia1 pop3[59091]: login: [66.182.125.209] cbrundidge APOP User logged in
    Jan 31 11:33:30 xpmedia1 pop3[59091]: login: 71-223-32-176.phnx.qwest.net [71.223.32.176] kbarr APOP User logged in
    Jan 31 11:34:12 xpmedia1 postfix/smtpd[59063]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:34:23: --- last message repeated 7 times ---
    Jan 31 11:34:23 xpmedia1 pop3[59050]: login: [66.182.118.39] jrossilli APOP User logged in
    Jan 31 11:34:25 xpmedia1 pop3[59091]: login: [66.182.125.209] cbrundidge APOP User logged in
    Jan 31 11:34:31 xpmedia1 postfix/smtpd[59086]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:34:50 xpmedia1 sudo[59121]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jan 31 11:34:52 xpmedia1 sudo[59127]: root : TTY=unknown ; PWD=/ ; USER=_cyrus ; COMMAND=/usr/bin/cyrus/bin/cyrus-quota -r
    Jan 31 11:35:18 xpmedia1 pop3[59050]: login: host-12-152-82-113.orbitelcom.com [12.152.82.113] rsowerby APOP User logged in
    Jan 31 11:35:18 xpmedia1 pop3[59091]: login: host-12-152-82-113.orbitelcom.com [12.152.82.113] jsowerby APOP User logged in
    Jan 31 11:35:25 xpmedia1 pop3[59091]: no secret in database
    Jan 31 11:35:25 xpmedia1 pop3[59091]: badlogin: 71-223-32-176.phnx.qwest.net [71.223.32.176] CRAM-MD5 user not found
    Jan 31 11:35:25 xpmedia1 pop3[59050]: login: [66.182.125.209] cbrundidge APOP User logged in
    Jan 31 11:35:26 xpmedia1 postfix/smtpd[59063]: warning: unknown smtpd restriction: "zen.spamhaus.org"
    Jan 31 11:35:30 xpmedia1 pop3[59050]: login: 71-223-32-176.phnx.qwest.net [71.223.32.176] kbarr APOP User logged in
    Jan 31 11:35:35 xpmedia1 pop3[59091]: badlogin: 32-109-248-206-catv.choicecable.net [206.248.109.32] APOP (<[email protected]>) Error: -6

  • Reconstruct -i needs Speed since mailbfr crashes

    Is there anyway to speed up this;
    sudo -u cyrusimap /usr/bin/cyrus/bin/reconstruct -i
    I've got Tons of Power here and i can watch in the Activity Monitor ant the reconstruct is just CRAWLING. It's hardly using any CPU time or resources.
    I normaly use mailbfr but both the mailbfr -f and -o both cause a server crash.
    Date/Time: 2006-10-16 12:50:46.495 -0400
    OS Version: 10.4.7 (Build 8K1079)
    Report Version: 4
    Command: cyrus-quota
    Path: /usr/bin/cyrus/bin/cyrus-quota
    Parent: servermgrd [47]
    Version: ??? (???)
    PID: 335
    Thread: 0
    Exception: EXCBADACCESS (0x0001)
    Code[0]: 0x0000000a
    Code[1]: 0x001f4f68
    Tue Oct 10 22:25:24 2006 crashdump[4375]: crashdump started
    Tue Oct 10 22:25:25 2006 crashdump[4375]: Started writing crash report to: /Library/Logs/CrashReporter/saProxy.crash.log
    Tue Oct 10 22:25:26 2006 crashdump[4375]: Finished writing crash report to: /Library/Logs/CrashReporter/saProxy.crash.log
    Mon Oct 16 12:34:14 2006 crashdump[167]: crashdump invoked as panicdump
    Mon Oct 16 12:47:12 2006 crashdump[168]: crashdump invoked as panicdump
    Mon Oct 16 12:50:46 2006 crashdump[336]: crashdump started
    Mon Oct 16 12:50:46 2006 crashdump[336]: Couldn't find or create: /var/imap/Library/Logs/CrashReporter (euid: 77)
    Mon Oct 16 12:50:46 2006 crashdump[336]: Started writing crash report to: /Library/Logs/CrashReporter/cyrus-quota.crash.log
    Mon Oct 16 12:50:47 2006 crashdump[336]: Finished writing crash report to: /Library/Logs/CrashReporter/cyrus-quota.crash.log

    the next day mailbfr worked so it was much faster.
    Probably because you didn't have SA open which caused the crash.
    if mailbfr -f is doing a reconsturt -i why does it go so
    quick as compared to the command issued from the
    terminal?
    The only possible explanation is that you omitted one of the necessary steps before issuing the reconstruct, thus making that process hang.
    Anyway, glad you got it sorted.

Maybe you are looking for

  • Query Manager

    Is it possible to create page breaks for reports using Query Manager?  I would like to create a sales report that prints a separate page for each sales rep.  Here is my SQL statement: SELECT T2.SlpName as 'Sales Rep' , t1.DocDate as 'Order Date',  T1

  • Sudden Change In Multitrack Behavior (Solved)

    While mixing a session in Audition 3 today, I noticed something strange.  I have a voiceover (cold voice) on track 1, which sounds fine.  However, when I add a music clip on track 2, it seems to affect the track 1 volume.  Track 1 plays fine at the s

  • Console Error When Trying to Connect to Task Server

    I'm trying to set up an Apple Remote Desktop task server on our Xserve G5. I've successfully installed Apple Remote Desktop 3, but I'm having some weird problems with it. One thing that should be noted is that we don't have a monitor for our Xserve.

  • How trigger when-tab-page-change will fire explicitley

    Hi, When-tab-page-change trigger fires only on explicitly changeing the tab page by mouse or key board, is there any way to call this trigger implicitly. Please do not suggest option execute_trigger. Thanks, Ashish

  • Version 2.1.0.63 - Load List of Database Objects Loads Incredibly Slow

    I am using version 2.1.0.63, and when I am browsing the database objects in the connection, they load EXTREMELY slow. With the same database, using other tools, such as PLEdit, the list of objects loads in a small fraction of the time that it takes S