Home Forums OS X Server and Client Discussion Mail how do i disable procmail

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #358546
    bustthis
    Participant

    i’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/procmailrc

    and 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!

    #358549
    bustthis
    Participant

    i 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.

    #358552
    bustthis
    Participant

    i’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/8

    hmm, 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

    #358555
    bustthis
    Participant

    i’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 🙁

    #358642
    bustthis
    Participant

    it’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

    #358649
    BobC
    Participant

    well,
    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.

    #358650
    bustthis
    Participant

    i’ll try not to cry… 🙁

    i found my mistake, but thanks for rubbing it in…

    #358747
    bustthis
    Participant

    i 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));

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Comments are closed