Home › Forums › OS X Server and Client Discussion › Mail › how do i disable procmail
- This topic has 10 replies, 3 voices, and was last updated 20 years, 8 months ago by
bustthis.
-
AuthorPosts
-
July 24, 2004 at 8:48 pm #358546
bustthis
Participanti’m really starting to hate procmail, but i forget how to disable it and still use spamassassin. i took this out of my master.cf-
procmail unix – n n – – pipe
flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user} EXTENSION=${extension} /etc/procmailrcand changed the the mail transport back to cyrus in the main.cf… am i missing something obvious? spamassassin no longer filters my mail with procmail!
July 24, 2004 at 11:54 pm #358549bustthis
Participanti am using amavisd + clamav + spamassassin… i followed your article awhile back and somehow got mixed up with procmail. i followed davids article on setting up procmail and cyrus. i now want to take procmail out of the mix, i can’t remember exactly what else i did and was hoping someone can help me. i took out the procmail transports in my postfix files, but spamassassin isn’t scanning my mail.
July 25, 2004 at 12:54 am #358552bustthis
Participanti’ve not changed anything, does this look right?
smtp-amavis unix – – y – 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n – y – – smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o mynetworks=127.0.0.0/8hmm, even reloaded spamassassin… damn that procmail!!!!
maybe i will start over, are there any advantages to using the new amavisd in your new article? i am currently using amavisd-new-20030616 and clamav 0.75
July 25, 2004 at 10:29 pm #358555bustthis
Participanti’m not sure why it’s not working, if i take out the procmail lines in main.cf and master.cf, amavisd lines are in both files.
looking at my logs, amavisd and spamassassin scan my mail –
i see spam_scan: hits= and SA check:, etc… but in mail.app it’s not adding the spamassassin headers anymore… it was with procmail and i haven’t changed anything. spamassassin -D –lint tells me it’s reading from /etc/mail/spamassassin/local.cf and allowing my users_prefs in my users directories. is this something in the amavisd.conf i’m missing?sorry to waste your time 🙁
August 3, 2004 at 1:04 am #358642bustthis
Participantit’s been awhile since i was using amavisd without procmail… just out of curosity, does amavisd add the X-Spam-Checker-Version header? this is what is throwing me off 🙂
i have searched the amavisd mail list and only see settings for v. 2.0
thanks,
charles
August 3, 2004 at 7:17 am #358649BobC
Participantwell,
don’t cry man and use google! stop the amavisd deamon using#amavisd stop
and start it in Spamassassin debug mode:
#amavisd sa-debug
. This way you will really see, if the connection is working or not.
Speaking about the headers, there is a directive always_add_headers or such, otherwise they are not included.August 3, 2004 at 7:22 am #358650bustthis
Participanti’ll try not to cry… 🙁
i found my mistake, but thanks for rubbing it in…
August 10, 2004 at 6:52 pm #358747bustthis
Participanti was looking in the wrong place… it’s not in /etc/amavisd.conf
if you want to add the X-Spam-Checker-Version header, just uncomment these lines in /usr/bin/amavisd:
# $hdr_edits->append_header(‘X-Spam-Checker-Version’,
# sprintf("SpamAssassin %s (%s) on %s",
# Mail::SpamAssassin::Version(),
# $Mail::SpamAssassin::SUB_VERSION, $myhostname)); -
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed