|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: David C. Troy (dave_at_toad.net)
Date: Sun Nov 03 2002 - 08:16:21 CST
You want amavisd-new; it includes SpamAssassin support and works fine with
Postfix. Ask Google about amavisd-new and you'll be on your way...
Dave
=====================================================================
David C. Troy [dave
toad.net] 410-384-2500 Sales
ToadNet - Want to go fast? 410-544-1329 FAX
570 Ritchie Highway, Severna Park, MD 21146-2925 www.toad.net
On Sun, 3 Nov 2002, Maillists for Niclas
Soderlund.Org wrote:
> Hi there,
>
> since someone here on this list pointed out to me that header_checks and
> body_checks is a fairly crude way (sledgehammer i think the metaphore was)
> to kill spam, I started looking at spamassassin.
>
> Now, everywhere I read about it, on this list or elsewhere, I get the
> impression that the general setup always points to
> Spamassassin+sanitizer+postfix and not what Im out after -
> spamassissin+amavisd+postfix.
>
> So, why not give it a shot and ask the pro's :-)
>
> ANYONE out there done this? Ive gotten so far that I have my original setup
> (amavisd+postfix+maildrop) running and have installed spamassassin. Ive
> modified the /etc/default/spamassasin file so it starts with -c -x flags
> (spamd since I think thats what postfix needs, the daemon of spamassassin?).
>
> So what do I need to make this thing work, I guess a hook in master.cf and
> perhapse change content_filtering in main.cf? Only thing is, I really want
> both amavisd AND spamassassin to work..preferrably together!
>
> This is my setup (which works fine, besides the fact im using header_checks
> and body_checks):
>
> main.cf:
>
> #
> # Soderlund.Org's SMTPd-configuration
> #
>
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
>
> myhostname = soderlund.org
> mail_name = PiCkLeS
> smtpd_banner = $myhostname ESMTP $mail_name. We block/report all spam,
> viruses and abuse.
>
> setgid_group = postdrop
> biff = no
>
> header_checks = regexp:/etc/postfix/header_checks
> body_checks = regexp:/etc/postfix/body_checks
>
> content_filter = vscan:
>
> disable_mime_input_processing = yes
> append_dot_mydomain = no
>
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> #local_recipient_maps = $alias_maps, unix:passwd.byname
>
> myorigin = /etc/mailname
> mydestination = soderlund.org, hemdator.com, localhost
> relay_domain = $mydestination
> fast_flush_domains = $relay_domains
> relayhost =
> mynetworks = 127.0.0.0/8
>
> mailbox_command = maildrop -d $recipient
> mailbox_size_limit = 0
> recipient_delimiter = +
> message_size_limit = 7500000
>
> disable_vrfy_command = no
> smtpd_etrn_restrictions = permit_mynetworks, reject
>
> smtpd_recipient_restrictions = permit_mx_backup, permit_mynetworks,
> check_client_access hash:/var/lib/pop-before-smtp/hosts,
> reject_unknown_sender_domain, check_relay_domains
>
> master.cf:
>
> # ==========================================================================
> smtp inet n - - - - smtpd
> pickup fifo n - - 60 1 pickup
> cleanup unix n - - - 0 cleanup
> qmgr fifo n - - 300 1 qmgr
> rewrite unix - - - - - trivial-rewrite
> bounce unix - - - - 0 bounce
> defer unix - - - - 0 bounce
> flush unix n - - 1000? 0 flush
> smtp unix - - - - - smtp
> showq unix n - - - - showq
> error unix - - - - - error
> local unix - n n - - local
> virtual unix - n n - - virtual
> lmtp unix - - n - - lmtp
> localhost:10025 inet n - n - - smtpd -o content_filter=
>
> maildrop unix - n n - - pipe
> flags=R user=postfix argv=/usr/bin/maildrop -d ${recipient}
> vscan unix - n n - 10 pipe
> flags=q user=amavis argv=/usr/sbin/amavis ${sender} ${recipient}
>
> TIA,
>
> Niclas
>
>
>
> |_|_|_|_| Niclas Söderlund
> |_|_|_|_| Project Consultant
> |_|_|_|_| TechTrade International AB
> |_|_|_|_| "Musa sapientum fixa est in aure"
> |_|_|_|_|-------------------------------------------
> This email is intended solely for the addressee and
> is strictly confidential. If you have received this
> email in error(!please notify us!) then permanently
> delete it. We make every effort to keep our network
> free from viruses, but you should check this e-mail
> and any attachments to it for viruses, as we cannot
> accept any liability for viruses transmitted by us. If
> this message was of a private nature, It only trans-
> mitts the view of the single private person and not
> the company as such.
> |_|_|_|_|-------------------------------------------
>
>
>
> -
> To unsubscribe, send mail to majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]