Procmail trouble migrating to Mavericks - everything delivered to /var/mail/ user

My old hardware died Thanksigving afternoon, so I hastily migrated to the new machine I'd already been setting up with Mavericks. One post-migration problem was that user mail was delivered into /var/mail/<username> instead of into Maildirs. mail.log said it was delivering to procmail, but that's not where mail showed up. Removing (renaming) each user's .forward and .procmailrc files fixed this at the cost of turning off procmail's automatic filing.
In the old setup, each user had a .forward file that said |/usr/bin/procmail, also a .procmailrc that started with
# This causes delivery in maildir format.
DEFAULT=$HOME/Maildir/
In each user's home directory, Maildir was a symlink to /var/spool/imap/dovecot/mail/<some long hashcode>. Back in 10.6, each user owned their mail directory and all its contents.
In Mavericks, the mail directories have moved to /Library/Server/Mail/Data/mail/<some long hashcode>. Those directories are completely owned by _dovecot. I repointed the symlinks, but wondered if the different ownership might be a problem.
One seeming bug I found was that line 45 of /Library/Server/Mail/Config/dovecot/conf.d/10-mail.conf says
mail_location = maildir:/Library/Server/Mail/Data/mail/%u
Since %u is <username> and not <some long hashcode>, I think that should say
mail_location = maildir:/Library/Server/Mail/Data/mail/users/%u
But changing it and restarting dovecot had no effect. Only disabling procmail made mail go where it should.
My bottom line question is, how can I get procmail working again?

Possibly I've answered my own question-and-a-half. My mail is being sieved. For the record:
Setting mail_debug=yes in /Library/Server/Mail/Config/dovecot/conf.d/10-logging.conf put some helpful notes into /Library/Logs/Mail/mail-debug.log. Searching for "sieve" in there revealed that dovecot was looking for per-user sieves as /Library/Server/Mail/Data/rules/<long-hash-code>/dovecot.sieve. That path was specified with %u in the dovecot config, so%u must really mean <long-hash-code>, not <username> as I thought. (That was the half-question.)
So apart from having to create those directories and populate them, sieve was already configured and running as a dovecot plugin.

Similar Messages

  • Sendmail doesn´t deliver to /var/mail/root

    Hi all,
    I don&acute;t know how since severals days sendmail doesn&acute;t deliver mails to root account. /var/mail/root file was missing and i created it with permissions .
    -rw-rw---- 1 root mail 0 Sep 1 09:50 root.
    Although i created the file no mails are received.
    Tkank you for your help

    belisario wrote:
    Hi all,
    I don&acute;t know how since severals days sendmail doesn&acute;t deliver mails to root account. /var/mail/root file was missing and i created it with permissions .
    -rw-rw---- 1 root mail 0 Sep 1 09:50 root.
    Although i created the file no mails are received.Sendmail will create the mbox file if it needs to. I'm not sure if it will use one if you create it ahead of time. Check for a dead.letter file or the sender's account to see if it has bounced back.
    On the box itself you could try:
    /usr/lib/sendmail -v root
    test
    don't forget the period on a line by itself to send the message. This will run sendmail in verbose mode and will hopefully shed some light on what is going on.
    alan

  • Who to use Migration to keep everything on destination but id user?

    Hi, Fisrt of all please forgive my english (i'm french speaking).
    I have a G5 iMac and i'm waiting for my new MacBookPro. I will keep both machine. I have all my stuff on the iMac and i want to transfer it on the MacBookPro. I am on an airport network at home. So, i think, that i can't have 2 computers with the same principal user name and password on the network. So be it. But THE question is: When et how in the process do i use Migration. Can i use the initial SetUp and choose my new ID (leaving the one on the G5), then migrate all my stuff to my MacBook Pro. I know that i can do it after but is it possible to do it initially, on the first run?
    Thanks in advance, merci.

    If you are waiting on the Macbook Pro to arrive, since it will be a new machine you will have to go through the setup wizard. If you want everything on the iMac to be transferred to the Macbook Pro then just use the initial migration when you are first setting up the computer.
    The computer when it is first being set up will ask you if you own another mac, if you click yes it will then prompt you to decide whether or not you wish to migrate information, click yes, and hook both machines up through firewire and put your imac into target disk mode ie. restart machine and hold down 'T' when you hear the apple sound. You can then migrate your account from one machine to another.
    This will not only move all your files fine but should have no baring on whether or not both computers can be connected to your wireless network at the same time.
    Your wireless router does not use your admin username and password on either machine to connect to the network (even in this case if one account is the same as the other), instead when both computers connect to the network they will be given a seperate incremented IP address ie. 192.168.1.2 and 192.168.1.3. These tell the computers apart from one another, not only this, but both your machines have an airport card built in which have their own unique number ie. Airport ID that tells the two computers apart.
    Point being, migrate your user account at the initial step if you want too, this should be fine, even if your imac account and macbook pro account are a duplicate of one another, they can still both still connect tot he same network, as it is the hardware that uniquely identifies them, not the software.
    Hope this helps.

  • Apple Mail opens and closes right away since migrated to Mavericks

    Hello all,
    Could you please give me some safe and not too complicated solutions to solve this :
    Yesterday I migrated to os x Mavericks => Everything works fine except MAIL application (I work with 1 gmail account)
    Problem :  I click the incon, Mail app opens bu closes immediatly followed by an error message saying :
    " Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSSetM addObject:]: object cannot be nil'
    abort() called
    terminating with uncaught exception of type NSException ".
    For your information, when going to gmail account from the web, the mailbox works. So it doesn't come from Google.
    Thanks a lot in advance for your help!

    Solution from linc davies - Perfect
    Quit Mail.
    In the Finder, hold down the option key and select
    Go ▹ Library
    from the menu bar. Move the following items from the folder that opens to the Trash (some may not exist):
    Caches/com.apple.mail
    Saved Application State/com.apple.mail.savedState
    Application Support/AddressBook/MailRecents-v4.abcdmr
    Containers/com.apple.mail
    Mail
    Preferences/com.apple.mail.plist
    Preferences/com.apple.mail.searchhistory.plist
    Note: you are not moving the Mail application. You’re moving a folder named “Mail.”

  • Procmail not delivering to Cyrus instead to /var/mail

    Hey guys,
    I really need some help on this one.
    Basically I have a postmaster user setup, which uses a .procmailrc file to dish emails out to the correct people. It used to work fine on my old 10.4 client system. But now using 10.4 Server I have ran into a problem.
    Procmail manages to resend the emails to the correct people but all other emails are then moved to /var/mail/postmaster instead of going to the Postmasters inbox. Cyrus does not seem to use /var/mail/.
    How do I tell Procmail how to leave the remaining messages in the postmasters inbox and not deliver to /var/mail/postmaster?
    I don't need this for all system wide users, just this one account.
    Does it make a difference if I tick "Deliver to /var/mail when POP & IMAP are disabled"?
    My .procmailrc file is below:
    SHELL=/bin/sh
    #DEFAULT=""
    LOGFILE="procmail.log"
    XSENT="NO"
    * ^To:.*[email protected]
    ! [email protected]
    * ^To:.*[email protected]
    ! [email protected]
    Thanks in advance for any advice/help.
    Regards,
    Tommy in London.
    PowerMac G5   Mac OS X (10.4.7)  

    Just an update...
    I gave up with Procmail in the end.
    After much reading I realised that the Sieve scripting is much more powerful and userfriendly (once you get it going). You can use Squirrelmail to add and edit rules, even vacation messages too!
    I had a clean install of 10.4.7, using Open Directory authentication and had no hiccups.
    Excellent directions at http://discussions.apple.com/thread.jspa?messageID=660096#660096
    Hope this helps others - at least save a few hours!
    Cheers,
    Tommy.

  • HT5129 how do i get iPhoto to stop bothering me with Mobile Me Migration windows when everything's already on my hard drive?

    how do i get iPhoto to stop bothering me with Mobile Me Migration windows when everything's already on my hard drive?

    Click "More Info", not "o.k.".
    Then open the iPhoto Preferences "Accounts" tab and remove the "Mobile  Me" account, if it is still there.
    Quit iPhoto.
    Check, if "Mobile Me" is still enabled in the System Preferences > Mobile Me panel (if you still have this panel). if yes, sign out.
    Log off and on again.
    Test, if iPhoto still is bugging you to transfer your Mobile Me content. If yes, you need to delete your iPhoto Preferences from your User Library.
    ~/Library/Preferences/com.apple.iPhoto.plist
    And also remove the file
    ~/Library/Caches/com.apple.iPhoto/mmsunset.plist
    from the Caches in the User Library - this file contain the end date of Mobile me.

  • About three days ago my iphone5 stopped connecting to my home wifi. I've tried everything in the trouble shooting guides and everything in all the support comments here.Is there anything else it could be? my other devices connect no probs.

    About three days ago my iphone5 stopped connecting to my home wifi. I've tried everything in the trouble shooting guides and everything in all the support comments here.Ive reset network, reset all phone settings, turned wifi on and off, forgotten network. Nothing works. Is there anything else it could be? The wifi is fine as all my other devices connect to it no probs. appreciate any help?

    About three days ago my iphone5 stopped connecting to my home wifi. I've tried everything in the trouble shooting guides and everything in all the support comments here.Ive reset network, reset all phone settings, turned wifi on and off, forgotten network. Nothing works. Is there anything else it could be? The wifi is fine as all my other devices connect to it no probs. appreciate any help?

  • What is the best solution for migrating from Maverick to Yosemite?

    What is the best solution for migrating from Maverick to Yosemite? Anyone have suggestions?

    Back up all data. Update all third-party software to the latest version and remove any you don't need. Download the Yosemite installer from the App Store. Run it.

  • When migrating to mavericks my photos transferred ok, but my videos clips do not. Can you help me retrieve my videos

    When migrating to mavericks my photos transferred ok, but my videos clips do not. Can you help me retrieve my videos

    Apple doesn’t routinely monitor the discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • I have a collection of thousands of ebooks mostly in epub  & some in PDF formats.  After migrating to Maverick all books disappered from my Ipad. Please help.

    I have a collection of thousands of ebooks mostly in epub  & a few in PDF formats.  After migrating to Maverick all books disappered from my Ipad. Please help. In itunes library book option has vanished. What do I do?

    Hi Akshay,
    If you want your images to appear standalone with no other page item on the page, then you can insert Page break on an image.
    This is how you can specify a page break:
    1. Select the image
    2. Goto Object->Object Export Options
    3. Select EPUB and HTML tab
    4. Select Custom Layout check box and then check Insert Page break. You can select from the option in the dropdown-Before Image, After Image, Before and After Image as per your requirement.
    Regarding your question about images:
    You export your graphs as JPEG but are those JPEGs of good resolution? If they are, then InDesign is doing something wrong during export but if the JPEGs are not of good quality then it is not an export issue. Please provide some more details here.
    Regards,
    Pooja

  • Trouble migrating to new iMac.

    Trouble migrating to new iMac. Seems stuck in preparing information for over an hour. When I click the back button on new Mac it says authenticating  what should I do?

    Whew, I think you'll have to start over, & use Disk Utility to Verify or Repair both Hard Drives before trying again.

  • Hi I have just bought a mac book pro 2ghz 8gb ram with haswell.also it's running maverick. I am wanting to start using logic but does it work ok with maverick everything I read says it's no good please help

    Hi I have just bought a mac book pro 2ghz 8gb ram with haswell.also it's running maverick. I am wanting to start using logic but does it work ok with maverick everything I read says it's no good please help

    Which version of Logic? I have 9, but I've yet to install it. I'm just creating the images of the disks atm to install them on my Haswell. Will let you know how that performs.
    Logic 10 would most certainly work fine though.

  • Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Is the HDD in the 2009 15" MBP dead?  (The original source of your data)  If not, you might want ot take it out and put it in an enclosure.
    You might try spotlight on know files to see if that gives you any clues where your data is located.
    You might down load from the Internet OmniDiskSweeper (free) and open it.  It should show you all of the files you have on your MBP and enable to locate them.
    Ciao.

  • I am having trouble upgrading to maverick after meeting all specs and requirements

    I am having trouble upgrading to maverick after meeting all specs and requirements

    Are there any symptoms, errors or diagnostic messages related to the failure?

  • Since migrating to Mavericks Mail is not seeing Smart Groups in Contacts

    Since migrating to Mavericks, when I try to send an email to a list of people in a Contacts Smart Group, mail doesnt find the group and I am having to put the recipients in one by one

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Welcome to the world of Mac. Some ‘light’ reading to help the transition. I don’t recommend trying to get through all of this at once.
    A guide for switching to a Mac
    Anatomy of a Mac
    Mac Basics—Tutorials on using a Mac
    Mac OS X keyboard shortcuts,
    Mac Basics – Mac Find Out How
    Mac Basics – Switching From Windows
    Mac OS FAQ
    MacTips,
    Quick Assist
    Switch Basics
    Switching to Mac Superguide
    Switching to the Mac: The Missing Manual, Mountain Lion Edition
    Take Control E-books
    Welcome to the Switch To A Mac Guides

Maybe you are looking for

  • Bug in new Tmcat !!!!!!!!!!! Urgent.......

    Hi, I am working on java and jsp and I am using web server as tomcat. I have upgrade my tomcat to the newer version tomcat 5.0 and copy pasted all my jsp page from old tomcat to the new tomcat and added all the jar files and also set all classpath an

  • Multirate sampling using CLK IN with PXIe-5922

    Hi I am working in an application where I need to change the sampling rate of an acquisition between 500 ks and 5 Ms without stopping the acquisition. The idea is to be acquiring continuously and be able to change the sampling frequency live dependin

  • New user - cannot get programs to work??

    I just signed up for the full version of creative cloud and paid the $49.95.  When I try to open the applications, that were previously installed as the trial versions, they still wont open?  How do I get the programs to work? Annoying.  It is still

  • Keep getting error message and told "Indesign Needs to Close" with no other information

    Hi All - I recently upgraded to Indesign CC and have nothing but issues.  The program constantly errors out and says it "needs to close" with no other explanation.  I finally was able to finish my document by constantly restarting my computer and am

  • How to render forms (.for)  as PDF through webservice

    Hi All, Here is the situation: We are working on a product catalog project where the catalog also contains a forms library in relationship with various Insuarnce products. There is a catalog search capability being built that should be able to conduc