procmail
[Top] [All Lists]

Procmail on Linux / LMTP

2010-05-26 12:50:13
Not sure if this is more a procmail or postfix issue, so seeing if anyone here can help...

I run a mail server for my own domain, just me basically. I was
running on a Mac Mini, but the thing kept overheating, so I've
switched to a FC12 desktop. I installed postfix, cyrus, procmail, etc
from yum. Copied / modified my main / master.cf . Everything seemed to
be OK, but I'm guessing something was modified somewhere along the
line, not obviously by me. Difference I initially see, is added in the
main.cf is:
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
The mac had no mailbox_transport. Now it seems no matter what I do, I
can't get procmail to work with postfix.

In my /home/<username>/procmailrc, I have
MAILDIR=/var/spool/imap/e/user/eplatt/ , but procmail isn't running or
called - at least nothing's being put in /var/log/procmail.log
(verbose is on). If I rem out the mailbox_transport line in my
main.cf, procmail is run, but near as I can tell, the mail doesn't
make it to my inbox - when I comment it out, I see procmail logging,
but the mail doesn't show in the mail dir.

Basically, in short, I'd like to enable procmail, but not seeing how
to do this with the lmtp configuration.

Any guidance appreciated. I've attached my old and my current postconf
-n .

Thanks.

Evan


Old (Mac Mini) postconf -n:

 postconf -n
alias_maps = hash:/etc/postfix/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = localhost
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 1000000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 1000000000
myhostname = espphotography.com
mynetworks = 168.100.189.0/28,
127.0.0.0/8,192.168.1.0/28,206.176.229.254,192.168.1.0/24,99.11.230.251
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost = [smtp.comcast.net]:587
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtpd_client_event_limit_exceptions = static:everyone
smtpd_sasl_path = smtpd
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/access
smtpd_tls_cert_file = /System/Library/OpenSSL/certs/smtpd.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550

new (FC12) postconf -n:
 postconf -n
alias_maps = hash:/etc/postfix/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = all
mailbox_command = /usr/bin/procmail -z
mailbox_size_limit = 1000000000
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 1000000000
mydomain = espphotography.com
myhostname = espphotography.com
mynetworks = 168.100.189.0/28,
127.0.0.0/8,206.176.229.254,99.11.230.251
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/postfix
relayhost = [smtp.comcast.net]:587
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtpd_client_event_limit_exceptions = static:everyone
smtpd_sasl_path = smtpd
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/access
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>