[AMaViS-user] Bypass/whitlist a sender

2007-06-28 Thread Azfar Hashmi
Is it possible to whitelist or bypass spam check for specific local sender.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Bypass/whitlist a sender

2007-06-28 Thread Mike Kenny
look at either 'bypass_spam_checks' or 'score_sender_maps'


I think the latter is what you require. assign the local sender a negative
score, this will reduce any spam score they aquire  by that amount. I think
the first option above may be just for incoming, not sure about this

mike


On 6/28/07, Azfar Hashmi [EMAIL PROTECTED] wrote:

 Is it possible to whitelist or bypass spam check for specific local
 sender.
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amavis-user
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
 AMaViS-HowTos:http://www.amavis.org/howto/

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Bypass/whitlist a sender

2007-06-28 Thread Gary V
Mike wrote:

 Azfar Hashmi wrote:

 Is it possible to whitelist or bypass spam check for specific local
 sender.

 look at either 'bypass_spam_checks' or 'score_sender_maps'

 I think the latter is what you require. assign the local sender a negative
 score, this will reduce any spam score they aquire  by that amount. I think
 the first option above may be just for incoming, not sure about this

 mike

Yes, the latter, @bypass is for recipients. If you are referring to
system generated messages (or anything submitted via sendmail):
http://www200.pair.com/mecham/spam/bypassing.html#11

If you are referring to mail submitted to smtp from 127.0.0.1/32 or other
local network address you might consider using the MYNETS policy bank.
A sample configuration is here:
http://www200.pair.com/mecham/spam/bypassing.html#1

Using a MYNETS policy bank will affect any clients placed in
@mynetworks. If you had to limit it not to a client, but to one
particular sender, you might be able to use (a more complex):
http://www200.pair.com/mecham/spam/bypassing.html#7

with one change. Instead of something like this (which limits bypassing
to certain recipients):

$policy_bank{'SENDERBYPASS'} = {
 bypass_spam_checks_maps = [[qw( [EMAIL PROTECTED] [EMAIL PROTECTED] )]],
};

you would bypass_spam_checks for all recipients:

$policy_bank{'SENDERBYPASS'} = {
 bypass_spam_checks_maps = [1],
};

Remember that senders can be spoofed. This third method tries to
verify that the sender is from a specified network.

Gary V



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/