On Fri, 7 Apr 2006, Caleb Walker wrote:
Caleb Walker wrote:
My server uses procmail to process mail through spamassassin and then
into the users mailbox. In Debian I have found that for deliver
(cyrdeliver) to work I have to set the sticky bit. I did an update
recently and it removed the sticky bit on cyrdeliver and therefore mail
began to be delivered to /var/mail. Procmail also removes the From line
because cyrus doesnt seem to like that. Now mail is in /var/mail
without the From line and I cannot seem to get the mail from /var/mail
back into the Cyrus database because every program I try to use doesnt
see the mail in that file as actual mail due to the missing From line.
What can I do to get the mail into the users mailboxes?
I have tried to set up pop access to it, it sees it as messed up mail.
I tried to use mutt to see the mail in it. It sees it is screwed up
mail. I tried to use formail to readd the From but it only does it on
the top line and not each message in the file.
Thanks in advance,
Caleb
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
I have asked a handful of questions and most, if not all of the time, I
do not get a response. Is it because I ask in a rude way? Do I not
provide enough info? Are my questions about things that are impossible
or too difficult?
Or we're just lazy sometimes. ;)
You can probably use the uw-imap -> cyrus migration scripts I wrote to
handle this problem. They use a combination of formail and some perl to
get it right. Check it out on the cyrus wiki at:
http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/MboxCyrusMigration
You'll need to take a close look at those to make sure you don't overwrite
existing cyrus messages. The scripts assuming they can start numbering at
1.
Andy
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html