procmail postfix maildir

RYAN vAN GINNEKEN maillist at
Tue Oct 26 11:00:51 PDT 2004

I am useing Freebsd 4.10stable, postfix 2.1.5 with SASL and TLS,  
procmail version 3.22 and binc IMAP 1.2.8 binc uses Maildir style mail 
boxes and i have everthing set up to for $HOME/IMAPdir.  Funny thing is 
pocmail sends me the mails it filters fine but the stuff it doesnt 
filter gets lost in my system mail box /var/mail/rmvg. I  have included 
my .procmailrc, rc.test (reciepe file with test rule), and 
pmlog(procmail log with verbose enabled) also a postconf -n file for all 
to see and hopefully someone can help me solve this problem.

#### Begin Variables section ####

# It is essential that you set SHELL to a Bourne-type shell if
# external commands are run from your procmailrc, for example if
# you use rc.spamassassin, rc.quarantine, or other advanced recipes.
# Setting SHELL should not be needed for the simple sorting recipes in
# this step-by-step section, but to be safe and to future proof your
# procmailrc, set it anyway! Details are in Check Your $SHELL and $PATH.

# Directory for storing procmail configuration and log files
# You can name this variable anything you like, for
# example PROCMAILDIR or don't set it (but then don't refer to it!)

# LOGFILE should be specified ASAP so everything below it is logged
# Put ## before LOGFILE if you want no logging (not recommended)

# To insert a blank line between each message's log entry,
# uncomment next two lines (this is helpful for debugging)

# Set to yes when debugging; VERBOSE default is no

# Replace $HOME/Msgs with the directory where your personal 
(non-system-spool) mail
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some NNTP clients, such as slrn & nn, use $HOME/News
# Mailboxes in maildir format or served by Courier IMAP are often in 
# Mailboxes served by UW IMAP are sometimes in $HOME
MAILDIR=$HOME/IMAPdir     # This directory must exist & be writable by 
#DEFAULT=IN-catchall                      # On most systems, your 
$MAILDIR is a sub
# IMPORTANT: Upon reading a line that begins with MAILDIR=
#            Procmail does a chdir to $MAILDIR and
#            relative paths are relative to $MAILDIR

#### End Variables section; Begin Processing section ####


# Messages that fall through all your procmail recipes are delivered
# to your default INBOX. To find out yours, see step 2 above.

#### End Processing section ####


* ^Subject:.*test


procmail: [10251] Tue Oct 26 00:11:32 2004
procmail: Assigning "MAILDIR=/home/rmvg/IMAPdir"
procmail: Assigning "INCLUDERC=/home/rmvg/Procmail/rc.testing"
procmail: No match on "^Subject:.*test"
procmail: Bypassed locking "/var/mail/rmvg.lock"
procmail: Assigning "LASTFOLDER=/var/mail/rmvg"
procmail: Opening "/var/mail/rmvg"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "rmvg at 1450267:/var/mail/rmvg"
 From skinnman at  Tue Oct 26 00:11:32 2004
Subject: procmail final
/var/mail/rmvg                                                    885

procmail: [10252] Tue Oct 26 00:11:41 2004
procmail: Assigning "MAILDIR=/home/rmvg/IMAPdir"
procmail: Assigning "INCLUDERC=/home/rmvg/Procmail/rc.testing"
procmail: Match on "^Subject:.*test"
procmail: Assigning 
procmail: Notified comsat: 
"rmvg at 0:/home/rmvg/IMAPdir/IN-testing/new/1098771101.102
 From skinnman at  Tue Oct 26 00:11:41 2004
Subject: procmail testing
IN-testing/new/             848

postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
home_mailbox = IMAPdir/INBOX/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain $mydomain
mydomain =
myhostname =
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination,,
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_loglevel = 2
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks,       
permit_mx_backup,        permit_sasl_authenticated,        
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks,        
permit_mx_backup,        permit_sasl_authenticated,        
smtpd_tls_CAfile = /usr/local/sslcerts/certs/cacert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/sslcerts/certs/mail-cert.pem
smtpd_tls_key_file = /usr/local/sslcerts/certs/mail-key.pem
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
virtual_alias_domains =,
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual

More information about the freebsd-questions mailing list