|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: mailbox_rewrite
From: Cristian Deacu (dmc
planet.it)Date: Tue Jun 27 2000 - 11:46:57 CDT
- Next message: Florian Piekert: "(no subject)"
- Previous message: Igor Ovsec: "RE: Relay for 2nd domain, mailbox name not allowed"
- Next in thread: Cristian Deacu: "Re: mailbox_rewrite"
- Reply: Cristian Deacu: "Re: mailbox_rewrite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi everybody!
I use a snapshot-20000531 and I want to have the mailboxes in a form
like /var/mail/domain/x where "domain" is the domain of the email
and x is the first letter of the user.
I compiled Postfix with pcre support and I patched it with mailbox
location patch from http://www.uninet.ee/~ragnar/postfix/. In me configuration
file I have:
-----------------------------------------------
mail_spool_directory = /var/mail/$domain
mailbox_rewrite = pcre:/etc/postfix/mailbox.rw
-----------------------------------------------
and in mailbox.rw I have the line:
/^\/var\/mail\/([^\/]+)\/(.)(.*)$/ /var/mail/${1}/${2}/${2}${3}
and I also created the /var/mail/domain directory and x directory
(where x is the first letter of my user). But when I receive a mail
for xxx
domain, I found the mailbox in /var/mail/xxx . I'm wondering
what I'm missing.
Please help,
Thanks
Cristian
- Next message: Florian Piekert: "(no subject)"
- Previous message: Igor Ovsec: "RE: Relay for 2nd domain, mailbox name not allowed"
- Next in thread: Cristian Deacu: "Re: mailbox_rewrite"
- Reply: Cristian Deacu: "Re: mailbox_rewrite"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]