Kyle Reynolds To: "jdow" <[EMAIL PROTECTED]> 01/26/2005 04:03 cc: PM Subject: Re: how to call procmail for spam delete?(Document link: Kyle Reynolds)
here, in main.cf: ******************************************************************************************************************** queue_directory = /var/spool/postfix command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix mail_owner = postfix myhostname = smtp.transplace.com mydomain = transplace.com myorigin = $mydomain local_recipient_maps = unknown_local_recipient_reject_code = 450 mynetworks = drycims2.dryden.weyer.com relay_domains = transplace.com, weyer.com relayhost = sheweb1.transplace.com masquerade_domains = transplace.com mailbox_command = /usr/local/bin/procmail -f- -a "$USER" debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/local/sbin/sendmail newaliases_path = /usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq setgid_group = maildrop manpage_directory = /usr/local/man sample_directory = /usr/local/etc/postfix readme_directory = no smtpd_sender_restrictions = permit_mynetworks check_sender_access hash:/usr/local/etc/postfix/sender_access reject_unknown_sender_domain #warn_if_reject reject_unverified_sender smtpd_banner = $myhostname NO UCE ESMTP ##message_size_limit = 5246976 ##smtpd_delay_reject = no ##smtpd_helo_required = yes #strict_rfc821_envelopes = yes ##strict_rfc821_envelopes = no ##smtpd_delay_reject = no depug_peer_list = drycims2.dryden.weyer.com ***************************************************************************************************************************** Kyle Reynolds 972-731-4731 [EMAIL PROTECTED] "jdow" <[EMAIL PROTECTED] To: <users@spamassassin.apache.org> et> cc: Subject: Re: how to call procmail for spam delete? 01/26/2005 03:55 PM Where do you tell postfix to use procmail? {^_^} ----- Original Message ----- From: <[EMAIL PROTECTED]> > > Thanks, but my procmailrc already looks like that. The strange thing is > that it won't delete the messages marked spam, but the one that was > previously tagged as spam and accidentally got through again was deleted... > so it appears that the procmail recipe is correct, but that procmail isn't > being called in the order that it should be? > > Here is my procmailrc: > > **************************************************************************** *********************** > LOGFILE=/var/log/procmail.log > DROPPRIVS=yes > > :0fw: spamassassin.lock > * < 256000 > | /usr/local/bin/spamc > > :0: > * ^X-Spam-Status: Yes > /tmp/spam > > :0 > * ^^rom[ ] > { > LOG="*** Dropped F off From_ header! Fixing up. " > > :0 fhw > | sed -e '1s/^/F/' > } > > **************************************************************************** ************************* > > and my postfix master.cf: > > **************************************************************************** ************************* > > # Setup Spamassassin > spamassassin unix - n n - - pipe > user=filter argv=/usr/local/bin/sa-filter.csh -f ${sender} -- ${recipient} >