OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: OT: postfix admin [mostly solved]

From: Abdullah Karim (dukenolami.net.id)
Date: Sun Mar 21 2004 - 01:52:41 CST


On Sat, 20 Mar 2004, Shaun T. Erickson wrote:

> I wrote:
>
> > Postfixadmin seems to want to store the maildir as:
> >
> > gattales-of-the-wanderer.com/
> >
> > which obviously isn't right.
>
> I didn't have "domain_path" and "domain_in_mailbox" set correctly in the
> conf file. Now it's storing the maildir as:
>
> tales-of-the-wanderer.com/gat/
>
> which is very close to what I want. As for why postfix is bouncing the
> email and saying the user doesn't exist, I must admit to a massive
> amount of embarrassment. For the postfixadmin install, I set up a clean
> database to test with and migrate to. Postfix is, of course, looking in
> the OLD database, where my test user hasn't been created yet .....
>
> <whacks himself in the head multiple times>
>
> I think I even know how to modify create_mailbox.php to tack the
> Maildir/ onto the end of the maildir before it stores it ...
>
> -ste

hi, i try to modify create-mailbox.php like this :
         {
            $maildir = $fDomain . "/" . $fUsername . "Maildir/";
         }
         else
         {
            $maildir = $fDomain . "/" . $_POST['fUsername'] . "Maildir/";
         }
      }
      else
      {
         $maildir = $fUsername . "Maildir/";

then I try to create mailbox, I look the Maildir still not exist :(

FYI : I'm using postfixadmin-2.0.4

Regards,

Duken