Hi, I've just set up a fedora14 box with postfix v2.7.3, and would like to use procmail as the delivery agent. In previous systems I've set up, procmail was setuid root, but on this one it is not. Without it, it seems it can't write the spool file:
Apr 18 21:39:58 mail02t postfix/local[12142]: 3B07E60053: to=<mu...@example.com>, relay=local, delay=0.26, delays=0.13/0.01/0/0.12, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/munin" ) Apr 18 21:39:58 mail02t postfix/local[12130]: 3AA966006D: to=<r...@example.com>, orig_to=<root>, relay=local, delay=20987, delays=20987/0.01/0/0.12, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/nobody" ) What is the proper way to enable procmail to deliver mail? I've seen too many varied answers when searching. I've set mailbox_command to procmail. In case it's necessary, I've included my postconf below. I'd sure appreciate any ideas you may have. alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/aliases biff = no command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix delay_warning_time = 4h disable_vrfy_command = yes header_checks = pcre:/etc/postfix/header_checks.pcre html_directory = no inet_interfaces = all mail_owner = postfix mailbox_command = /usr/bin/procmail mailbox_size_limit = 2000000000 mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man maximal_queue_lifetime = 5d message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain mydomain = inside.example.com myhostname = mail02t.example.com mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.6.0/24 newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix rbl_reply_maps = ${stress?hash:/etc/postfix/rbl_reply_maps} readme_directory = /usr/share/doc/postfix-2.7.3/README_FILES relay_domains = $mydestination, $transport_maps sample_directory = /usr/share/doc/postfix-2.7.3/samples sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtp_tls_CAfile = /etc/pki/tls/cacert.pem smtpd_recipient_restrictions = permit_sasl_authenticated, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, permit_mynetworks, reject_rbl_client zen.spamhaus.org=127.0.0.10 reject_rbl_client zen.spamhaus.org=127.0.0.11 reject_rbl_client zen.spamhaus.org check_client_access hash:/etc/postfix/client_checks, reject_invalid_hostname, reject_non_fqdn_hostname, check_helo_access hash:/etc/postfix/helo_checks, check_recipient_access pcre:/etc/postfix/recipient_checks, check_sender_access hash:/etc/postfix/sender_checks, check_client_access hash:/etc/postfix/client_checks, permit smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_local_domain = $myhostname, mail02t.example.com smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_restrictions = reject_sender_login_mismatch smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache tls_random_source = dev:/dev/urandom transport_maps = hash:/etc/postfix/transport Thanks, Alex