Home › Forums › OS X Server and Client Discussion › Mail › Spam Assassin
- This topic has 4 replies, 1 voice, and was last updated 23 years, 7 months ago by
murlyn.
-
AuthorPosts
-
April 2, 2003 at 3:58 pm #355433
murlyn
ParticipantFor some reason Spam Assassin is only checking one of my domain names.. is there a configuration option somewhere that will have it check ALL mail going through the system?
Thanks!
Rick
April 3, 2003 at 1:08 am #355435murlyn
ParticipantIs there anybody that knows Exim out there? I have my configure file and
due to the lack of knowledge Im having a hard time configuring it 🙂 It
works as it stands right now, except it does not route all mail through spam
assassin, only certain ones.. and so far I havent found a pattern yet. I
have a mysql database that exim grabs user data from also..I wouldn’t mind sending my configure file to someone that knows what they
are doing, but I’d rather not send it to the entire list.. most of you don’t
care to see it! 🙂Cheers!
Rick
April 3, 2003 at 5:04 am #355437murlyn
Participantdnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 no_more # Spam Assassin spamcheck_router: no_verify check_local_user # When to scan a message : # - it isn't already flagged as spam # - it isn't already scanned condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}$ driver = accept transport = spamcheck mysql_sys_aliases: driver = redirect allow_fail allow_defer data = ${lookup mysql {SELECT dest FROM aliases \ WHERE email='${local_part}' AND type="system"}} mysql_aliases: driver = redirect allow_fail allow_defer data = ${lookup mysql {SELECT dest FROM aliases \ WHERE email='${local_part}@${domain}' AND type="site"}} mysql_user: driver = accept condition = ${if eq{} {${lookup mysql {SELECT home FROM passwd \ WHERE id='${local_part}@${domain}'}}} {no}{yes}} retry_use_local_part transport=mysql_delivery mysql_default_aliases: driver = redirect allow_fail allow_defer data = ${lookup mysql {SELECT dest FROM aliases \ WHERE email='*@${domain}' AND \ type="site"}} begin transports # Spam Assassin spamcheck: driver = pipe command = /usr/exim/bin/exim -oMr spam-scanned -bS use_bsmtp = true transport_filter = /usr/bin/spamc home_directory = "/tmp" # must use a privileged user to set $received_protocol on the way back in! user = exim group = exim log_output = true return_fail_output = true return_path_add = false message_prefix = message_suffix = remote_smtp: driver = smtp mysql_delivery: driver = appendfile maildir_format directory = \ /var/mail/${lookup mysql{SELECT maildir \ FROM passwd WHERE id='${local_part}@${domain}'}} delivery_date_add #envelope_to_add = true #return_path_add = true maildir_tag = ,S=$message_size quota = \ "${lookup mysql{SELECT quota FROM passwd WHERE \ user = '$local_part' AND domain = '$domain'}{${value}M}}" quota_is_inclusive = false quota_size_regex = S=(\d+): quota_warn_threshold = 75% quota_warn_message = "\ To: $local_part@$domain\n\ Subject: Mailbox quota warning\n\n\ This message was automatically generated by the mail delivery software.$ You are now using over 75% of your allocated mail storage quota.\n\n\ If your mailbox fills completely, further incoming messages will be aut$ returned to their senders.\n\n\ Please take note of this and remove unwanted mail from your mailbox.\n" user = 1100 group = 1100April 3, 2003 at 7:14 pm #355439murlyn
ParticipantOk from the look of it.. my system aliases, root, webmaster all get scanned by SA, plus my aliases.. all the ones that go to one domain.. while all the other domains on the system are not being scanned.. Ill do some more testing and see if I can come up with anything else.
Thanks!
April 18, 2003 at 3:25 pm #355499murlyn
ParticipantSo does anybody have any ideas on this one? The spam is getting bad with some of the accounts and this not scanning certain emails is getting old.. real quick! Thanks!
Rick
-
AuthorPosts
- You must be logged in to reply to this topic.