Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-02-2007, 04:18 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 25

Rep: Reputation: 15
Deliver mail to different direcoties

Hi, I'm trying to get working my mail server everything is ok, but the delivering thing, I have a folder for every user to deliver their messages, I'm using mbox format for it, what I'm trying to do is to deliver messages on different folders where everything about a user is concentrate in them, so for example if I have a mail to i'd delivered it to /var/homes/test/inbox where inbox is the mbox file for this user, and test is the directory where everything about test user is located.

I was trying to change some env vars but the delivery always go to /var/spool/mail/<username> mbox.

I also tried to make hardlinks to the mboxes in the /var/spool/mail/ directory but no luck.

Thanks in advance for your help.

Distro: FC6
MTA: Sendmail
IMAP: Dovecot
LDA: Procmail (i also tried somethings with dovecot/lda)


Some other information about this. I use virtual users with LDAP, so no regular homes for users, my system is about to handle 8K users. When procmail deliver the mail to the hardlinked file it rename the file with BOGUS.something and create a new one. I'm in the process to migrate from an old box / distro to a new one so no lose of data is permitted.


Last edited by Hep; 04-02-2007 at 11:19 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to forward/deliver mail thats already in spool slackbat Linux - Networking 1 08-21-2006 04:00 PM
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 07:45 AM
procmail won't deliver mail from other machines astender Linux - Software 2 03-21-2006 08:45 PM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 04:49 PM
sendmail: deliver every mail directly to the given smarthost TobyD Linux - Networking 3 02-18-2005 05:52 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration