LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-02-2007, 05:18 PM   #1
Hep
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 test@xdomain.com 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)
FS:ext3

========================================

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.

Thanks.

Last edited by Hep; 04-03-2007 at 12:19 AM.
 
  


Reply


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 05:00 PM
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 08:45 AM
procmail won't deliver mail from other machines astender Linux - Software 2 03-21-2006 09:45 PM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 05:49 PM
sendmail: deliver every mail directly to the given smarthost TobyD Linux - Networking 3 02-18-2005 06:52 AM


All times are GMT -5. The time now is 12:43 AM.

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