[AMaViS-user] SPAM: Ms outlook test message

2007-06-28 Thread Azfar Hashmi
when ever I test ms outlook connection settings amavisd-new consider it spam
any idea how to fix it.

Samople.

Subject: ***SPAM***Microsoft Office Outlook Test Message

This is an e-mail message sent automatically by Microsoft
Office Outlook's
Account Manager while testing the settings for your POP3 account
-
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] TROUBLE in check_mail

2007-06-28 Thread Peter Huetmannsberger

Hi Marc, 

thank you. Again you were right. RPM told me I had 5.420 installed. 
Amavisd found an older version, which I had installed by hand a long time 
ago. Comes from messy administration!

All's fine now, 

.peter



 Are you sure that amavisd finds this version? Check its log at startup
 (or start with 'amavisd debug' and abort after few screenfuls),
 check for:
 
   amavis[62710]: Module MIME::Entity5.420
   amavis[62710]: Module MIME::Parser5.420
   amavis[62710]: Module MIME::Tools 5.420
 

-
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/


[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] p0f, not being queried

2007-06-28 Thread Mark Martinec
Jason,

   I've been reading some documentation, and trying to implement p0f
 fingerprint checking.
 I went ahead and turned it on in my config:
 $os_fingerprint_method = 'p0f:127.0.0.1:2345';  # to query
 p0f-analyzer.pl

 And the resulting amavisd log shows that the fingerprint code is loaded.

 I am running this from the command line for testing:
 p0f -l 'tcp dst port 25' | p0f-analyzer.pl 2345
 (with p0f-analyzer in debug mode)

 I'm not getting any queries.  So, I went ahead and fired up tcpdump.
 Amavisd does not appear to be attempting to communicate.   I can verify
 this is an external host and should not be hitting the MYNETS rules.

Is amavisd getting information about client IP from MTA through XFORWARD?
A client IP address should show (through macro %a) in the log,
and at log level 1 also in the log entry such as:

amavis[16469]: (16469-18) Checking: rhOluIzi8z9w [121.133.47.8] xxx - xxx


amavisd-new-2.4.0 release notes
  * preconditions are: $os_fingerprint_method must be configured, the
p0f-analyzer.pl process must be running, and amavisd must be receiving
client IP address information from MTA, which in a Postfix case means
the XFORWARD protocol extension to SMTP must be enabled in the Postfix
service feeding mail to amavisd, e.g. -o smtp_send_xforward_command=yes,
or in a sendmail/milter setup the more sophisticated AM.PDP protocol
must be used;
  [...]

Mark

-
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] p0f, not being queried

2007-06-28 Thread Jason Gauthier
Mark,
 
 Is amavisd getting information about client IP from MTA through
 XFORWARD?
 A client IP address should show (through macro %a) in the log,
 and at log level 1 also in the log entry such as:
 
 amavis[16469]: (16469-18) Checking: rhOluIzi8z9w [121.133.47.8] xxx
-
  xxx


My Checking line does not include the IP.
I do have xforwarding turned on in postfix's master.cf:

127.0.0.1:10025 inetn   -   y   -   -   smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtp_send_xforward_command=yes
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes


Jason

-
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] p0f, not being queried

2007-06-28 Thread Ralf Hildebrandt
* Jason Gauthier [EMAIL PROTECTED]:
 Mark,
  
  Is amavisd getting information about client IP from MTA through
  XFORWARD?
  A client IP address should show (through macro %a) in the log,
  and at log level 1 also in the log entry such as:
  
  amavis[16469]: (16469-18) Checking: rhOluIzi8z9w [121.133.47.8] xxx
 -
   xxx
 
 
 My Checking line does not include the IP.
 I do have xforwarding turned on in postfix's master.cf:
 
 127.0.0.1:10025 inetn   -   y   -   -   smtpd
 -o content_filter=
 -o local_recipient_maps=
 -o relay_recipient_maps=
 -o smtpd_restriction_classes=
 -o smtpd_helo_restrictions=
 -o smtpd_sender_restrictions=
 -o smtp_send_xforward_command=yes
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=127.0.0.0/8
 -o strict_rfc821_envelopes=yes

But what about the offical interface?

smtp  inet  n   -   -   --  smtpd
   -o receive_override_options=no_address_mappings
   -o content_filter=amavisd:[127.0.0.1]:10025
   -o smtpd_authorized_xforward_hosts=127.0.0.1
   -o smtpd_authorized_xclient_hosts=127.0.0.1


-- 
Ralf Hildebrandt (i.A. des IT-Zentrums) [EMAIL PROTECTED]
Charite - Universitätsmedizin BerlinTel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-BerlinFax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBFsend no mail to [EMAIL PROTECTED]

-
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/

[AMaViS-user] Despairing: Amavis wont start with syslog enabled!

2007-06-28 Thread Daniel Persch
Hi list,

I'm a linux developer and using amavis for years for gateway spam
filtering. Hoever: after upgrading from (please don't laugh)
amavisd-new-20030616-p7 to amavisd-new-2.5.2 and therefore reinstalling
perl (5.8.8) and all libraries in newest versions available through
cpan, it is no longer possible for me to start amavis with logging to
syslog.

Well, what I tried:
***  stracing amavisd debug: it gives debug output, opens port,
everything seems to be fine, however a telnet does not respond and no
output is given (neither debug nor syslog - see output below)
***  after hours finding out that amavis works perfectly without
DO_SYSLOG=1 (file / stdout)
***  make test for Unix::Syslog -- everything is fine
***  playing around with all syslog parameters available in config file,
testing the same settings with Unix::Syslog/test.pl -- test works,
amavis just hangs
***  Debugging with perl -D, going through every single step in amavisd:
openlog call works, strace shows me /dev/log is opened, however when
calling Unix::Syslog::syslog(...) amavis freezes when executing library
routine _isyslog($priority, $msg)
***  played around with LOTS of configuration options, chrooting, 


I've got no clue why this call works well using the test.pl but not when
amavis opens it. This is really the first time I'm writing to a mailing
list - I'm really despaired...

Regards,


Daniel

PS: Here some information - if someone wants more, please let me know

# the end of the debug output (after telnet!!!) #

Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Internal decoder for
.tnef
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Found decoder for
.exe  at /usr/local/bin/rar
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Creating db in
/var/amavis/db/; BerkeleyDB 0.31, libdb 4.5
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: SpamControl:
initializing Mail::SpamAssassin
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: SpamControl:
init_pre_fork done
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Beginning
prefork (2 processes)
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Starting
2 children
Jun 28 13:53:50 X /usr/sbin/amavisd[20614]: Net::Server: Child
Preforked (20614)
Jun 28 13:53:50 X /usr/sbin/amavisd[20615]: Net::Server: Child
Preforked (20615)
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Parent
ready for children.

## netstat -tlnp ##
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   PID/Program name   
tcp0  0 127.0.0.1:27304 0.0.0.0:*
LISTEN  20613/amavisd (mast 

## telnet localhost 27304 #
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.

## /etc/amavisd.conf (log-part) ###
# $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R
$log_level = 0;  # verbosity 0..5, -d
$log_recip_templ = undef;# disable by-recipient level-0 log entries
$DO_SYSLOG = 1;  # log via syslogd (preferred)
$syslog_facility = 'mail';   # Syslog facility as a string
   # e.g.: mail, daemon, user, local0, ... local7
$syslog_priority = 'debug';  # Syslog base (minimal) priority as a
string,
   # choose from: emerg, alert, crit, err, warning, notice,
info, debug

## some version information ###
Amavis - tried 2.4.5, 2.5.1, 2.5.2
Unix::Syslog - tried 0.99, 0.100
Perl - 5.8.8
Mail::SpamAssassin - 3.2.1

-
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] SPAM: Ms outlook test message

2007-06-28 Thread mouss
Azfar Hashmi wrote:
 when ever I test ms outlook connection settings amavisd-new consider it spam
 any idea how to fix it.
   

how can we tell without the full headers?

-
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/


[AMaViS-user] Despairing: Amavis wont start with syslog enabled

2007-06-28 Thread Daniel Persch
Hi list,

I'm a linux developer and using amavis for years for gateway spam
filtering. Hoever: after upgrading from (please don't laugh)
amavisd-new-20030616-p7 to amavisd-new-2.5.2 and therefore reinstalling
perl (5.8.8) and all libraries in newest versions available through
cpan, it is no longer possible for me to start amavis with logging to
syslog.

Well, what I tried:
***  stracing amavisd debug: it gives debug output, opens port,
everything seems to be fine, however a telnet does not respond and no
output is given (neither debug nor syslog - see output below)
***  after hours finding out that amavis works perfectly without
DO_SYSLOG=1 (file / stdout)
***  make test for Unix::Syslog -- everything is fine
***  playing around with all syslog parameters available in config file,
testing the same settings with Unix::Syslog/test.pl -- test works,
amavis just hangs
***  Debugging with perl -D, going through every single step in amavisd:
openlog call works, strace shows me /dev/log is opened, however when
calling Unix::Syslog::syslog(...) amavis freezes when executing library
routine _isyslog($priority, $msg)
***  played around with LOTS of configuration options, chrooting, 


I've got no clue why this call works well using the test.pl but not when
amavis opens it. This is really the first time I'm writing to a mailing
list - I'm really despaired...

Regards,


Daniel

-
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/


[AMaViS-user] Amavis wont start with syslog enabled

2007-06-28 Thread Daniel Persch
Hi list,

I'm a linux developer and using amavis for years for gateway spam
filtering. Hoever: after upgrading from (please don't laugh)
amavisd-new-20030616-p7 to amavisd-new-2.5.2 and therefore reinstalling
perl (5.8.8) and all libraries in newest versions available through
cpan, it is no longer possible for me to start amavis with logging to
syslog.

Well, what I tried:
***  stracing amavisd debug: it gives debug output, opens port,
everything seems to be fine, however a telnet does not respond and no
output is given (neither debug nor syslog - see output below)
***  after hours finding out that amavis works perfectly without
DO_SYSLOG=1 (file / stdout)
***  make test for Unix::Syslog -- everything is fine
***  playing around with all syslog parameters available in config file,
testing the same settings with Unix::Syslog/test.pl -- test works,
amavis just hangs
***  Debugging with perl -D, going through every single step in amavisd:
openlog call works, strace shows me /dev/log is opened, however when
calling Unix::Syslog::syslog(...) amavis freezes when executing library
routine _isyslog($priority, $msg)
***  played around with LOTS of configuration options, chrooting, 


I've got no clue why this call works well using the test.pl but not when
amavis opens it. This is really the first time I'm writing to a mailing
list - I'm really despaired...

Regards,


Daniel

-
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/


[AMaViS-user] Amavis wont start with syslog enabled

2007-06-28 Thread Daniel Persch
Hi list,

I'm a linux developer and using amavis for years for gateway spam
filtering. Hoever: after upgrading from (please don't laugh)
amavisd-new-20030616-p7 to amavisd-new-2.5.2 and therefore reinstalling
perl (5.8.8) and all libraries in newest versions available through
cpan, it is no longer possible for me to start amavis with logging to
syslog.

Well, what I tried:
***  stracing amavisd debug: it gives debug output, opens port,
everything seems to be fine, however a telnet does not respond and no
output is given (neither debug nor syslog - see output below)
***  after hours finding out that amavis works perfectly without
DO_SYSLOG=1 (file / stdout)
***  make test for Unix::Syslog -- everything is fine
***  playing around with all syslog parameters available in config file,
testing the same settings with Unix::Syslog/test.pl -- test works,
amavis just hangs
***  Debugging with perl -D, going through every single step in amavisd:
openlog call works, strace shows me /dev/log is opened, however when
calling Unix::Syslog::syslog(...) amavis freezes when executing library
routine _isyslog($priority, $msg)
***  played around with LOTS of configuration options, chrooting, 


I've got no clue why this call works well using the test.pl but not when
amavis opens it. This is really the first time I'm writing to a mailing
list - I'm really despaired...

Regards,


Daniel

PS: Here some information - if someone wants more, please let me know

# the end of the debug output (after telnet!!!) #

Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Internal decoder for
.tnef
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Found decoder for
.exe  at /usr/local/bin/rar
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: Creating db in
/var/amavis/db/; BerkeleyDB 0.31, libdb 4.5
Jun 28 13:53:48 X /usr/sbin/amavisd[20613]: SpamControl:
initializing Mail::SpamAssassin
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: SpamControl:
init_pre_fork done
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Beginning
prefork (2 processes)
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Starting
2 children
Jun 28 13:53:50 X /usr/sbin/amavisd[20614]: Net::Server: Child
Preforked (20614)
Jun 28 13:53:50 X /usr/sbin/amavisd[20615]: Net::Server: Child
Preforked (20615)
Jun 28 13:53:50 X /usr/sbin/amavisd[20613]: Net::Server: Parent
ready for children.

## netstat -tlnp ##
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   PID/Program name   
tcp0  0 127.0.0.1:27304 0.0.0.0:*
LISTEN  20613/amavisd (mast 

## telnet localhost 27304 #
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.

## /etc/amavisd.conf (log-part) ###
# $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R
$log_level = 0;  # verbosity 0..5, -d
$log_recip_templ = undef;# disable by-recipient level-0 log entries
$DO_SYSLOG = 1;  # log via syslogd (preferred)
$syslog_facility = 'mail';   # Syslog facility as a string
   # e.g.: mail, daemon, user, local0, ... local7
$syslog_priority = 'debug';  # Syslog base (minimal) priority as a
string,
   # choose from: emerg, alert, crit, err, warning, notice,
info, debug

## some version information ###
Amavis - tried 2.4.5, 2.5.1, 2.5.2
Unix::Syslog - tried 0.99, 0.100
Perl - 5.8.8
Mail::SpamAssassin - 3.2.1

-
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] Amavis wont start with syslog enabled

2007-06-28 Thread Mark Martinec
Daniel,

 ***  make test for Unix::Syslog -- everything is fine
 ***  playing around with all syslog parameters available in config file,
 testing the same settings with Unix::Syslog/test.pl -- test works,
 amavis just hangs

Try to run these tests under the same UID amavisd runs under.
Perhaps there is a permission problem on the /dev/log socket.

 ***  Debugging with perl -D, going through every single step in amavisd:
 openlog call works, strace shows me /dev/log is opened, however when
 calling Unix::Syslog::syslog(...) amavis freezes when executing library
 routine _isyslog($priority, $msg)

 ***  played around with LOTS of configuration options, chrooting, 

For starters, make it work without chrooting.

 I've got no clue why this call works well using the test.pl but not when
 amavis opens it. This is really the first time I'm writing to a mailing
 list - I'm really despaired...


  Mark

-
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/


Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-28 Thread Joshua J. Kugler
On Wednesday 27 June 2007 20:14, Gary V wrote:
 to re-enable them you have to uncomment the settings in
 /etc/amavis/15-content_filter_mode
 http://www200.pair.com/mecham/debian/2.4.2/15-content_filter_mode

I did that.  This is Ubuntu, but same difference.

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-
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/


[AMaViS-user] SOLVED! Re: Amavis/SA configured but not processing mail

2007-06-28 Thread Joshua J. Kugler
SIGH, GRR, and other frustrated noises.

I had copied over the config file from an old Debian Sarge (3.1) install, and 
hadn't really checked things thoroughly.  It turns out that Amavis on Ubuntu 
(Debian too?) doesn't even look at /etc/amavisd.conf, but only 
the /etc/amavis/conf.d/* files.  So, all the changes I had put in the 
amavisdc.conf hadn't even taken effect.  Once I moved those changes 
to /etc/amavis/conf.d/50-user, it all worked find, and I'm getting nice 
headers like:

X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[AWL=-0.000]
X-Spam-Score: 0
X-Spam-Level:

I'm assuming the tests section means actual tests are being run?

Thanks to MrC, Vincent, Gary, and Mark for all your help debugging what turned 
out to be a very frustrating problem, but ultimately, somewhat of a PEBKAC 
since I didn't understand how the configs were laid out in this package.  I'm 
used to conf.d being for *extra* configs, not the primary place for configs.

Thanks again...I think (hope) that everything is up and running and working 
now.

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-
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] Amavis/SA configured but not processing mail

2007-06-28 Thread Joshua J. Kugler
On Wednesday 27 June 2007 17:26, Mark Martinec wrote:
  Amavisd-new 2.3.3
  Spamassassin 3.1.0a

 Are you still using these old versions? The current
 versions are 2.5.2 (or 2.4.5 if need be), and SA 3.1.8 or 3.2.1.
 We are losing details of 2.3.3 from our collective mind,
 it is more likely to get a quality help if you stick
 to more recent versions.  2.3.3 is from August 2005,
 hardly anyone remembers it.

Ubuntu Dapper LTS...would rather stick with vendor supported packages if I can 
at all. :)

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-
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] SOLVED! Re: Amavis/SA configured but not processing mail

2007-06-28 Thread Gary V
Joshua wrote:

 SIGH, GRR, and other frustrated noises.
 I had copied over the config file from an old Debian Sarge (3.1) install, and 
 hadn't really checked things thoroughly.  It turns out that Amavis on Ubuntu 
 (Debian too?) doesn't even look at /etc/amavisd.conf, but only 
 the /etc/amavis/conf.d/* files.

As I said, possibly depending on how you start it. Move amavisd.conf
to prevent accidentally reading it. Always stop and start this
particular version from /etc/init.d/amavis.

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/


[AMaViS-user] (OT) freshclam error

2007-06-28 Thread Jim Knuth
Hallo und Guten Morgen AMaViS-user,

I use amavisd-new-2.5.2 (20070627) and clamav 0.90.3 and get this
in my logfile:

tail -f /var/log/clamav/freshclam.log
ClamAV update process started at Thu Jun 28 23:42:51 2007
main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
ERROR: getfile: Can't create new file ./clamav-42df18babdbd4f4571b7ecb22fb3309c 
in /var/lib/clamav/daily.inc
Hint: The database directory must be writable for UID 108 or GID 108
ERROR: getpatch: Can't download daily-3518.cdiff from db.local.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
ERROR: getfile: Can't create new file ./clamav-2b1f515d40dc735a28b16b9b88b82e78 
in /var/lib/clamav
Hint: The database directory must be writable for UID 108 or GID 108
ERROR: Can't download daily.cvd from db.local.clamav.net

UID 108 is clamav

id amavis
uid=105(amavis) gid=109(amavis) Gruppen=109(amavis),108(clamav)

What am I missing? Thanks in advance.


-- 
Viele Gruesse, Kind regards,
 Jim Knuth
 [EMAIL PROTECTED]
 ICQ #277289867
--
Zufalls-Zitat
--
Das Geheimnis einer glücklichen Ehe besteht darin, daß man 
einander verzeiht, sich gegenseitig geheiratet zu haben. 
(Sascha Guitry)
--
Der Text hat nichts mit dem Empfaenger der Mail zu tun
--
Virus free. Checked by NOD32 Version 2362 Build 10187  28.06.2007


-
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] SOLVED! Re: Amavis/SA configured but not processing mail

2007-06-28 Thread Joshua J. Kugler
On Thursday 28 June 2007 14:49, Gary V wrote:
 Joshua wrote:
  SIGH, GRR, and other frustrated noises.
  I had copied over the config file from an old Debian Sarge (3.1) install,
  and hadn't really checked things thoroughly.  It turns out that Amavis on
  Ubuntu (Debian too?) doesn't even look at /etc/amavisd.conf, but only
  the /etc/amavis/conf.d/* files.

 As I said, possibly depending on how you start it. Move amavisd.conf
 to prevent accidentally reading it. Always stop and start this
 particular version from /etc/init.d/amavis.

Right.  I was using /etc/init.d/amavis, but was not realizing it was pulling 
its config from the conf.d/* files.  Thanks again for all your help and 
pointers!

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-
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] (OT) freshclam error

2007-06-28 Thread Peter Huetmannsberger


Hi, 

it is telling you that you have a permission problem. In the 
/etc/freshclam.conf file there is a parameter: 

DatabaseOwner amavis

Default is user clamav. Depending on who is calling freshclam, you need to 
have the same owner set in this conf file. 

Also make sure that the logfile /var/log/clamav/freshclam.log is writeable 
by that user. And in your case /var/lib/clamav as well. 

Hope this helps, 

.peter


On Fri, 29 Jun 2007, Jim Knuth wrote:

 Hallo und Guten Morgen AMaViS-user,
 
 I use amavisd-new-2.5.2 (20070627) and clamav 0.90.3 and get this
 in my logfile:
 
 tail -f /var/log/clamav/freshclam.log
 ClamAV update process started at Thu Jun 28 23:42:51 2007
 main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
 ERROR: getfile: Can't create new file 
 ./clamav-42df18babdbd4f4571b7ecb22fb3309c in /var/lib/clamav/daily.inc
 Hint: The database directory must be writable for UID 108 or GID 108
 ERROR: getpatch: Can't download daily-3518.cdiff from db.local.clamav.net
 WARNING: Incremental update failed, trying to download daily.cvd
 ERROR: getfile: Can't create new file 
 ./clamav-2b1f515d40dc735a28b16b9b88b82e78 in /var/lib/clamav
 Hint: The database directory must be writable for UID 108 or GID 108
 ERROR: Can't download daily.cvd from db.local.clamav.net
 
 UID 108 is clamav
 
 id amavis
 uid=105(amavis) gid=109(amavis) Gruppen=109(amavis),108(clamav)
 
 What am I missing? Thanks in advance.
 
 
 

-
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/