postfix mail filtering

This is a discussion on postfix mail filtering within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi guys, I'm hoping someone here can point me in the right direction. I'm using the latest postfix ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-19-2006
yo
 
Posts: n/a
Default postfix mail filtering

Hi guys,

I'm hoping someone here can point me in the right direction.
I'm using the latest postfix with saslauthd using pam, which works
great.
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


So basially I need to be able to configure postfix to filter the local
mail and place it in the right directory.

Also what do you guys use for a pop3 server and what to you recommend.
Previously I was using sendmail with procmail and cucipop.

I love using cucipop but I was thinking of using qpopper although the
on-line documentation is somewhat limited.

TIA, P
Reply With Quote
  #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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0