Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian ISP (http://www.linux-archive.org/debian-isp/)
-   -   Move INBOX to home directory (http://www.linux-archive.org/debian-isp/146910-move-inbox-home-directory.html)

Carlos Acedo 08-22-2008 11:40 AM

Move INBOX to home directory
 
Hello,

I'm using postfix with a very standard (debian dist) configuration, all
mails are delivered to /var/mail/<user name> as they always do, but now
I need them to be delivered to /home/<user>/INBOX


Any idea?

Thank you in advance.

Carlos.


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

randall 08-22-2008 11:46 AM

Move INBOX to home directory
 
Carlos Acedo wrote:

Hello,

I'm using postfix with a very standard (debian dist) configuration,
all mails are delivered to /var/mail/<user name> as they always do,
but now I need them to be delivered to /home/<user>/INBOX


Any idea?

Thank you in advance.

Carlos.



you could try setting something like this i think
mail_spool_directory = /home


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Keith Edmunds 08-22-2008 11:47 AM

Move INBOX to home directory
 
man pages? Did you do any work at all to try to find the answer to this?
It really isn't hard to find.

man postconf, search for home_mailbox

--
Keith Edmunds

+-------------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Specialists" | http://www.tiger-computing.co.uk |
+-------------------------------------------------------------------------+


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Andreas Moog 08-22-2008 11:54 AM

Move INBOX to home directory
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Acedo wrote:

>I'm using postfix with a very standard (debian dist) configuration, all
>mails are delivered to /var/mail/<user name> as they always do, but now
>I need them to be delivered to /home/<user>/INBOX
>
>Any idea?

I guess you are using procmail to deliver the mails? Then you can set

DEFAULT=$HOME/Maildir/mails/
(or whatever you need)

in .procmailrc.

Regards, Andreas Moog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiuqQcACgkQ06FgkPZwicQuPACgxxVd9GkOGe 3y+Jo/Jfm2/jpU
me8AnifHczL5iqp+kytvi+TLMtn4txR+
=aSRM
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Christoph Moench-Tegeder 08-22-2008 12:09 PM

Move INBOX to home directory
 
## Carlos Acedo (carlos@pangea.org):

> I'm using postfix with a very standard (debian dist) configuration, all
> mails are delivered to /var/mail/<user name> as they always do, but now
> I need them to be delivered to /home/<user>/INBOX
> Any idea?

There's home_mailbox (main.cf parameter) doing just that (or the like).

Regards,
Christoph

--
Spare Space


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Carlos Acedo 08-22-2008 12:27 PM

Move INBOX to home directory
 
you could try setting something like this i think
mail_spool_directory = /home


I'm using procmail, so this setting hasn't effect. I have tried editing
MAILDIR in /etc/procmailrc but I end with a maildir structure in my
home, I just want a mbox inbox



--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Andreas Moog 08-22-2008 02:20 PM

Move INBOX to home directory
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Acedo wrote:

>> you could try setting something like this i think
>> mail_spool_directory = /home
>>
>>
> I'm using procmail, so this setting hasn't effect. I have tried editing
> MAILDIR in /etc/procmailrc but I end with a maildir structure in my
> home, I just want a mbox inbox

Oh well. man procmailrc.

Regards, Andreas Moog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiuy0sACgkQ06FgkPZwicQlxQCcDVBjaebc8t Hle9ArYZRfN5Dx
zA4AoK5R1iIO0/2U51wzc/wevpMnOvoh
=nxbG
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Carlos Acedo 08-26-2008 09:22 AM

Move INBOX to home directory
 
Ok, for the record:

$ cat /etc/procmailrc
DEFAULT=$HOME/inbox


Carlos Acedo escribió:

Hello,

I'm using postfix with a very standard (debian dist) configuration, all
mails are delivered to /var/mail/<user name> as they always do, but now
I need them to be delivered to /home/<user>/INBOX


Any idea?

Thank you in advance.

Carlos.





--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 10:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.