#1  
Old 18th December 2006, 13:33
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default postfix / procmail question

I posted this in the general linux forum as well but maybe this is a more appropriate place to ask...

I have an Ubuntu 6.06 server with ISPConfig.

Today one of the harddisks started giving some problems so I had to reboot the server a few times.

When I look in /var/mail, there are mails from earlier today that have not been delivered to the intended recipients. New mails do arrive as expected.

Question:
What can I do to trigger the correct delivery of the mails stuck in /var/mail/web(x)_user1 to /var/www/web(x)/user/web(x)_user1/Maildir/

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2006, 14:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by wr19026
Question:
What can I do to trigger the correct delivery of the mails stuck in /var/mail/web(x)_user1 to /var/www/web(x)/user/web(x)_user1/Maildir/

Thanks in advance.
You can use mb2md (mbox to Maildir) for it: http://www.howtoforge.com/forums/sho...ighlight=mb2md
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th December 2006, 15:10
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
You can use mb2md (mbox to Maildir) for it: http://www.howtoforge.com/forums/sho...ighlight=mb2md
The problem is that the Maildirs already exist; won't using mb2md overwrite the existing Maildir?

Edit: It worked and here's how I did it:
- used a fake account with no mail to import to (mb2md -s /var/mail/web[x]_[user] -d /var/www/web4/user/web[x]_postmaster/Maildir
- used mailclient to move the messages to the correct Maildirs

Question remains though: what would happen if I could not do that - would I have to import them to something like postmaster and do a forward from there?

Last edited by wr19026; 18th December 2006 at 15:58.
Reply With Quote
  #4  
Old 19th December 2006, 20:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by wr19026
Question remains though: what would happen if I could not do that - would I have to import them to something like postmaster and do a forward from there?
Forwarding doesn't work because no mailserver is involved when mb2md is called. mb2md write directly to the files.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 29th June 2006 23:20
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 20:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 00:58


All times are GMT +2. The time now is 07:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.