View Single Post

  #2 (permalink)  
Old 09-19-2006
Greg Hackney
 
Posts: n/a
Default Re: postfix mail filtering

yo wrote:

> The problem is I need to configure postfix to deliver mail to
> /var/spool/mail/ in alphabetical order.
>
> Example:
>
> Auser would have the local mail delivered to /var/spool/mail/a/auser
> Buser would have the local mail delivered to /var/spool/mail/b/buser
> Cuser would have the local mail delivered to /var/spool/mail/c/cuser



virtual_mailbox_maps = pcre:/etc/postfix/mailboxes

--< etc/postfix/mailboxes >--
/(.)(.*)/ /var/spool/mail/$1/$1$2

Test with:

postmap -q Auser pcre:/etc/postfix/mailboxes


> Also what do you guys use for a pop3 server


Dovecot

--
Greg
Reply With Quote