Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Spamassain question, whitelist?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 9th June 02:06
stan
External User
 
Posts: 1
Default Spamassain question, whitelist?



I'm setting up Spamassain, and I can't seem to find out how to create a
whitelist for it.

I will be retrieving my mail using fetchmail, then pasing it to procmail,
which will call somassain. If it matters my MUA of choice is mutt.

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote


  sponsored links


2 9th June 02:06
karsten m. self
External User
 
Posts: 1
Default Spamassain question, whitelist?



If you enable auto-whitelisting, you don't have to do anything.

Otherwise, man spamassassin will give you what you're looking for.

Peace. --
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
Backgrounder on the Caldera/SCO vs. IBM and Linux dispute.
http://sco.iwethey.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1JZ1efG8443k044RAvEGAJ9GmLdXWnleQRhLjSO7ps3iI97yxw CffnTl
r5jbb8nqJd6Jd4DyKS54BFg=
=RyIT
-----END PGP SIGNATURE-----
  Reply With Quote
3 9th June 11:53
stan
External User
 
Posts: 1
Default Spamassain question, whitelist?


Thanks, so I should just add the -a flag to where procmail invokes it, like
this:

:0fw: spamassassin.lock
* < 256000
| spamassassin -a

Correct?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
4 9th June 11:53
mark schouten
External User
 
Posts: 1
Default Spamassain question, whitelist?


http://au2.spamassassin.org/doc/Mail_SpamAssassin_Conf.html
WHITELIST AND BLACKLIST OPTIONS

Have fun.

Mark


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
5 9th June 11:54
stan
External User
 
Posts: 1
Default Spamassain question, whitelist?


Mmm, I'd seen that. Seems a bit clumsy to have to edit the config file
every time I wan't to add an address to the whitelist.

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
6 9th June 11:55
mark schouten
External User
 
Posts: 1
Default Spamassain question, whitelist?


[20:42][schoutjm@mainframe:~] % spamassassin --help
SpamAssassin version 2.60
For more information read the spamassassin man page Usage:
spamassassin [options] < *mailmessage* > *output*
spamassassin -d < *mailmessage* > <output>

spamassassin -r [-w *addr*] < *mailmessage*

spamassassin -k [-w *addr*] < *mailmessage*

spamassassin -W|-R < *mailmessage*

Options:

-P, --pipe Deliver to STDOUT (now default)
-L, --local Local tests only (no online tests)
-r, --report Report message as spam
-k, --revoke Revoke message as spam
-w addr, --warning-from=addr Send a warning mail to sender from addr
-d, --remove-markup Remove spam reports from a message
-C path, --configpath=path, --config-file=path Path to standard configuration dir
-p prefs, --prefspath=file, --prefs-file=file Set user preferences file
--siteconfigpath=path Path for site configs (def: /etc/mail/spamassassin)
-x, --nocreate-prefs Don't create user preferences file
-e, --exit-code Exit with a non-zero exit code if the
tested message was spam
-l filename, --log-to-mbox=file Log messages to a mbox file
-t, --test-mode Pipe message through and add extra
report to the bottom
--lint Lint the rule set: report syntax errors
-a, --auto-whitelist Use auto-whitelists (AWL)
-W, --add-to-whitelist Add addresses in mail to whitelist (AWL)
--add-to-blacklist Add addresses in mail to blacklist (AWL)
-R, --remove-from-whitelist Remove all addresses found in mail
from whitelist (AWL)
--add-addr-to-whitelist=addr Add addr to whitelist (AWL)
--add-addr-to-blacklist=addr Add addr to blacklist (AWL)
--remove-addr-from-whitelist=addr Remove addr from whitelist (AWL)
-M, --whitelist-factory Select whitelist factory (AWL)
-D, --debug [area=n,...] Print debugging messages
-V, --version Print version
-h, --help Print usage message


Maybe -W should do it?

Mark


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
7 9th June 22:27
stan
External User
 
Posts: 1
Default Spamassain question, whitelist?


Teo, I gad read that. What I don't understand is how to use that when the
mail messages in question are alreay stored in a mail folder. Or how to
just manually add (for instance) friends that I don't happen to have a
sample email laying around from, but whos email address O _do_ have.

Perhaps what the proble is here, is that I am misunderstnaing the proper
usage of spamassain? I'm expecting to find a simple "whitelist" concept
that I can tell it, If the emil originates from this address, It's OK, no
matter what.

Am I missing something?

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
8 9th June 22:27
mark schouten
External User
 
Posts: 1
Default Spamassain question, whitelist?


Yes, the configurationfile. But, you think that it's not good to
manually add an emailaddress. So that's you choice.

You could write a script that does it for you, but that depends on your
coding-skills.

In Mutt, you can do '|' 'spammassassin -W'. Mutt will then pipe the
message through spamassassin, which should whitelist it.

That's all I know.

Mark


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
9 10th June 08:22
karsten m. self
External User
 
Posts: 1
Default Spamassain question, whitelist?


Technically. But slow.

I'd recommend running spamc, using spamassassin in client/server mode.
This cuts the rougly one-second overhead per message of spamassasin's
startup.

In /etc/defaults/spamassassin:

OPTIONS="--local --max-children 10 --create-prefs --auto-whitelist"

...is what I've selected. You're advised to read docs to understand
what this does.


For performance reasons, I also have in /etc/security/limits:

mail hard nproc 30

...to avoid runaway conditions when large mail loads hit. Mail
processing will be limited to a max of 30 processes (generally 10 exim
processes, 10 spamassassin clients, and a bit of overhead), but the
system as a whole won't be bogged.

Peace. --
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
Spread the real scoop on Xenu and The Church of Scientology, link
<a href="http://xenu.net/";>Scientology</a> on your website.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1RylefG8443k044RAr0/AJ4ukMxLyTzpzohKg3cq1c/yhj00ewCfWuhg
5Zf/+zYOos/lYoyA4TsxHRU=
=XD1r
-----END PGP SIGNATURE-----
  Reply With Quote
10 10th June 08:23
stan
External User
 
Posts: 1
Default Spamassain question, whitelist?


Thanks, I implemented that earlier. We will see how it works.

Thanks.

--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666