|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Gabriel Rocha (icognito
neutraldomain.org)Date: Mon Jul 02 2001 - 10:18:59 CDT
having just moved to Maildir from mbox....here is my main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = lorax.neutraldomain.org
mydomain = neutraldomain.org
myorigin = $mydomain
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, $mydomain,
mail.$mydomain, www.$mydomain, ftp.$mydomain
mynetworks_style = subnet
virtual_maps = hash:/usr/local/etc/postfix/virtual
relay_domains = $mydestination
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
mail_spool_directory = $HOME/Maildir/
mailbox_command = /usr/local/bin/procmail
fallback_transport = cyrus
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
and here is my .procmailrc
VERBOSE=on
LOGFILE=$HOME/.log/procmail.log
FORMAIL=/usr/local/bin/formail
SENDMAIL=/usr/sbin/sendmail
ORGMAIL=$HOME/Maildir/
DEFAULT=$HOME/Maildir/mbox/
MAILDIR=$HOME/Maildir/
:0
* ^TO.*SF-NEWS
SECURITYFOCUS.COM*
bugtraq/
<snipped a lot for brevity>
:0
$DEFAULT
this setup works for me, i am by no means a postfix expert of any kind,
nor am i a procmail expert, but it does work ;-p feel free to ask
questions. --gabe
,----[ On Mon, Jul 02, at 10:59AM, Jon Glenn wrote: ]--------------
| I am using BSD UNIX (FreeBSD)
| To use Procmail I set main.cf with a line to direct the mail to procmail
| mailbox_command = /path/to/procmail -a "$EXTENSION"
|
| virtual table is set like
| ________________________________________________
| domain.com virtual
| boo
domain.com boo
| blue
domain.com blue
|
| ________________________________________________
|
|
| I created /etc/procmailrc file with this (only) line
| DEFAULT=$HOME/Maildir
|
| But the mail arrives at /var/mail/$username
|
| 1) How to get mail to arrive at a Maildir style mailboxes instead?
|
| 2) Also, how to get mail for users who don't have UNIX style usernames?
|
|
`----[ End Quote ]---------------------------
-- Gabriel Rocha (grochaonesecure.com) - 1-877-4-1SECURE OneSecure, Inc. Sunnyvale Security Operations Center (GMT -0700)
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia
mQCNAzrYQA8AAAEEAL/fjYD12U8QNO0PJX30zYd+0Wg1aZq+jPp34hTiMXrGg2bv VE2hwrcz4iILCaQ5KlncteycMx6VL7u0tnIkxnT0M8fAPuS4VpqB/tS/mr3RcHLa 52+TRZ45KnZt/6pp+pc9zJM8STJvGatfF+YPYKtzEM3mFL4OEnMJdtsEFkx1AAUT tCRHYWJyaWVsIFJvY2hhIDxncm9jaGFAb25lc2VjdXJlLmNvbT6JAJUDBRA62EAP cwl22wQWTHUBATrVA/9Z+/pUsd0nV6ZtOn014Q9hJ1TUzhzVcNVF1zUufTHTwLO1 gnKaomNj1Fb+pwGK3ZxNqomUTAnCXCU3HxQ0DkG8OIjzuOIr08Lv57pA9u/yjlTR IOV5REUNFWD0ogKLAlVG9wp3IsSgntjToB/rj75siVrBapqzbgR+Dcs3nb8Ijg== =HwqX -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org
iQCVAwUBO0CQ43MJdtsEFkx1AQGW2QP/RXhrf5eWp9Fy/zaJh/ImkiJty8BaeJ9/ oczRABIbOEpXJgzN6TJARP5Ioki6PwY6N8yUgGprCbfggQa3XYqrPJZw6GceDKdA DgGKiHybJayPNYEmekQ1ysqVLpZ5txlURGtnhh6+dohlqAFet2LkOFqaq1tFHujc lUHpqjpjGT8= =wqNW -----END PGP SIGNATURE-----
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]