Re: [plug] Setting up postfix to use maildir for one account…

Top Page

Reply to this message
Author: Ludwig Isaac Lim
Date:  
To: fooler mail, Philippine Linux Users' Group (PLUG) Technical Discussion List
Subject: Re: [plug] Setting up postfix to use maildir for one account only
Hi Fooler:
I managed to solve it after trying out your idea along with trial & error and googling, 
The working solution turns out to be following :
I added the following to .forward:| "/usr/bin/procmail"

I created a file .procmailrc which contains:HOME="/home/username"DEFAULT="$HOME/Maildir/"MAILDIR="$HOME/Maildir/"

I created the $HOME/Maildir folder along with its needed sub folders (new, tmp & cur)
Thank you so much for the guidance and putting me on the right track. It is a great solution as I don't to edit postfix configuration (though I have to install procmail)
Very much appreciated.
Regards,Ludwig


      From: fooler mail <fooler.mail@???>
 To: Ludwig Isaac Lim <ludz_lim@???>; Philippine Linux Users' Group (PLUG) Technical Discussion List <plug@???> 
 Sent: Friday, September 9, 2016 7:00 PM
 Subject: Re: [plug] Setting up postfix to use maildir for one account only


Hi Ludwig,

Can you try to play with .forward (dot forward) file and procmail?

/home/username/.forward:
| "/usr/bin/procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/

MAILDIR=$HOME/Maildir"

http://www.postfix.org/local.8.html for more details

fooler.

On Thu, Sep 8, 2016 at 4:03 AM, Ludwig Isaac Lim <ludz_lim@???> wrote:
> Hello:
>
> How can I configure postfix on a linux machine so that only one particular
> account uses "maildir" style of mail box? I have 1 user account that receive
> multiple system emails and I want to use maildir format to avoid locking as
> I have a script that reads / deletes the emails. I don't want to convert
> every email account to maildir as the machine might already scripts that
> read mbox files for monitoring.
>
> Thanks in advance.
>
> Ludwig.
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph




_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph