[AMaViS-user] defang-spam text (amavisd-new)?

2007-07-30 Thread Amos
Where is the following text defined? Specially, where is the email
address defined?

Spam detection software, running on the system mf1.example.edu, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
[EMAIL PROTECTED] for details.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Jason Gauthier
All,

  Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
disappearing.  I'm sure something in cron is doing it, but I have not
located it yet.  Does anyone know?

Thanks,

Jason

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Postfix + Amavisd-new + Amavisd-milter

2007-07-30 Thread David Schweikert
On Sat, Jul 28, 2007 at 01:04:54 +0200, Mark Martinec wrote:
 Since the problem is in Socket::SOMAXCONN, this is where it should
 be fixed, probably not in Net::Server. It is unlikely the Perl
 core module will be fixed, at least not for the current version.
 But certainly, if you'd be willing to file a Perl bug report,
 it would be a contribution to a common good...

Done: http://rt.perl.org/rt3/Ticket/Display.html?id=44259

  In the mean time, it would be nice however to have a
  $listen_queue_size option in Amavisd-new :-)
 
 Already in the code, it will be in the next version (whenever it may be).

Thank you!

Cheers
David

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] /var/virusmails -- cleanup?

2007-07-30 Thread lartc
hi all,

this directory keeps filling up, so i am using tmpwatch to keep its size
within reason.

is there a directive to tell amavis to nuke these file automagically ??
as my server is becoming busier, this directory is quickly becoming
difficult to manage ...

thanks

charles


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Gary V
Jason wrote:

 All,

   Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
 disappearing.  I'm sure something in cron is doing it, but I have not
 located it yet.  Does anyone know?

Do you mean /var/run/amavis/amavisd.pid?

Are there any amavis errors in /var/log/mail.log?

grep ! /var/log/mail.log

look at:
/etc/cron.daily/amavisd-new
and:
/etc/cron.d/amavisd-new

 Thanks,
 Jason


Gary V



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Copy of released mail

2007-07-30 Thread Mark Martinec
Tomas,

 I would love to be able to get copy of each released message. I want to
 learn from messages my users release from SQL quarantine through MailZu
 interface.

 $interface_policy{'9998'} = 'AM.PDP';

 $policy_bank{'AM.PDP'} = {
 protocol = 'AM.PDP',
 inet_acl = [qw( 127.0.0.1 [::1] )],
 #forward_method = bsmtp:$MYHOME/out-%i-%n.bsmtp,
 };

  This construction doesnt work.
  Can somebody please push me in right direction ?

This should do:

$policy_bank{'AM.PDP'} = {
protocol = 'AM.PDP',
inet_acl = [qw( 127.0.0.1 [::1] )],
always_bcc_by_ccat = {CC_CLEAN, '[EMAIL PROTECTED]'},
};

but requires the following patch (to 2.5.2),
which will find its way into the next release:

--- amavisd.origWed Jun 27 12:43:00 2007
+++ amavisd Mon Jul 30 19:28:33 2007
@@ -7177,4 +7177,15 @@
  join(',', qquote_rfc2821_local(@{$msginfo-recips})) ));
   }
+  my($bcc) = $msginfo-setting_by_contents_category(cr('always_bcc_by_ccat'));
+  if (defined $bcc  $bcc ne '') {
+my($recip_obj) = Amavis::In::Message::PerRecip-new;
+# leave recip_addr and recip_addr_smtp undefined!
+$recip_obj-recip_addr_modified($bcc);
+$recip_obj-recip_destiny(D_PASS);
+$recip_obj-dsn_notify(['NEVER']);
+$recip_obj-contents_category(CC_CLEAN);
+$msginfo-per_recip_data([EMAIL PROTECTED]per_recip_data}, $recip_obj]);
+do_log(2,adding recipient - always_bcc: %s, $bcc);
+  }
   do_log(0, Quarantine %s %s: %s,
 $request_type, $quarantine_id, join(; ,@m))  if @m;


Mark

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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 and user's mailboxes

2007-07-30 Thread Mark Martinec
Jordi,

 My amavisd-new+spamasssassin runs well. At present, when SPAM mail is
 detected by SA, it is sended to my $MYHOME/$QUARANTINEDIR
 (/var/amavis/quarantine in my system). Currenly I use Postix with
 virtuals domains/users (with MySQL backend) and Dovecot as POP/IMAP server.

 My last goal is when a SPAM mail is detected, it goes to /SPAM dir in
 the user's mailbox (in false positive prevision). I don't know if I
 should modify Dovecot, Amavisd-new or SA behaviour/config files. Maybe I
 should modify all of these to get my goal...

I believe the Dovecot local delivery agent does support address extensions:

  http://wiki.dovecot.org/LDA/Postfix?highlight=%28extension%29

so you can follow the technique from:

  http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext


Mark

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Jason Gauthier
Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
  disappearing.  I'm sure something in cron is doing it, but I have
not
  located it yet.  Does anyone know?
 
 Do you mean /var/run/amavis/amavisd.pid?

I do, but mine is located in /var/amavis


 grep ! /var/log/mail.log

Nope.

 
 look at:
 /etc/cron.daily/amavisd-new
 and:
 /etc/cron.d/amavisd-new

They don't exist.  (This is a manual install)


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Luis Hernán Otegui
2007/7/30, Gary V [EMAIL PROTECTED]:
 Jason wrote:

 Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
   disappearing.  I'm sure something in cron is doing it, but I have
  not
   located it yet.  Does anyone know?
 
  Do you mean /var/run/amavis/amavisd.pid?

  I do, but mine is located in /var/amavis

  grep ! /var/log/mail.log

  Nope.

 
  look at:
  /etc/cron.daily/amavisd-new
  and:
  /etc/cron.d/amavisd-new

  They don't exist.  (This is a manual install)

 Maybe you have some script or command that is supposed to remove
 temp directories in /var/amavis that is also deleting this file.
 I might suggest setting:

 $pid_file  = /var/run/amavis/amavisd.pid;
 $lock_file = /var/run/amavis/amavisd.lock;

 mkdir /var/run/amavis
 chown -R vscan:vscan /var/run/amavis

 (or whatever you have set for $daemon_user and $daemon_group)

 You may need to change entries in your initscript too.

 Gary V



 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 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/

I've had a similar problem over two servers (debian Sarge), and it was
tracked down to Logrotate requesting a reload of Amavis (and Amavis
being unable to do it). Search the list files for it.
See if this is your case. Anyway, it looks better to leave the pid
file outside Amavis home dir, and throw it in /var/run/amavis.


Luix
-- 
-
GNU-GPL: May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Gary V
Luis wrote:

 2007/7/30, Gary V [EMAIL PROTECTED]:
 Jason wrote:

 Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
   disappearing.  I'm sure something in cron is doing it, but I have
  not
   located it yet.  Does anyone know?

 I've had a similar problem over two servers (debian Sarge), and it was
 tracked down to Logrotate requesting a reload of Amavis (and Amavis
 being unable to do it). Search the list files for it.
 See if this is your case. Anyway, it looks better to leave the pid
 file outside Amavis home dir, and throw it in /var/run/amavis.

 Luix

The cure for that is to log to syslog and not use logrotate.
$DO_SYSLOG = 1;

I do remember where someone has trying to HUP amavisd-new in the
logrotate script but this has been deprecated for some time:

http://marc.info/?l=amavis-userm=117916137901389

Gary V



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] AM.PDP connection trouble

2007-07-30 Thread Sergio Restrepo
Hello,

I am working with mailzu and I have the following lines in the amavis config
file:


## Policy
$interface_policy{'9998'} = 'AM.PDP';

$policy_bank{'AM.PDP'} = {
protocol = 'AM.PDP',
#inet_acl = [qw( 127.0.0.1 [::1] 192.168.0.ip_equipo_donde_este_ezu )],
inet_acl = [qw( 127.0.0.1 [::1] 192.168.0.254 )],
};


If I telnet to localhost:9998 I get a response, however when I telnet into
domain.name:9998 I get a connection closed by foreign host message.
domain.name resolves to 192.168.0.254

What do I have to change so that the connection on 192.168.0.254 is
accepted?

Sergio Restrepo
-- 
Pensar, analizar, inventar... no son actos anómalos, son la normal
respiración de la inteligencia. Glorificar el ocasional cumplimiento de esa
función, atesorar antiguos y ajenos pensamientos, recordar con incrédulo
estupor lo que el doctor universalis pensó, es confesar nuestra languidez o
nuestra barbarie. Todo hombre debe ser capaz de todas las ideas y entiendo
que en el porvenir lo será.
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Gary V
Jason wrote:

Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
  disappearing.  I'm sure something in cron is doing it, but I have
 not
  located it yet.  Does anyone know?
 
 Do you mean /var/run/amavis/amavisd.pid?

 I do, but mine is located in /var/amavis

 grep ! /var/log/mail.log

 Nope.

 
 look at:
 /etc/cron.daily/amavisd-new
 and:
 /etc/cron.d/amavisd-new

 They don't exist.  (This is a manual install)

Maybe you have some script or command that is supposed to remove
temp directories in /var/amavis that is also deleting this file.
I might suggest setting:

$pid_file  = /var/run/amavis/amavisd.pid;
$lock_file = /var/run/amavis/amavisd.lock;

mkdir /var/run/amavis
chown -R vscan:vscan /var/run/amavis

(or whatever you have set for $daemon_user and $daemon_group)

You may need to change entries in your initscript too.

Gary V



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] AM.PDP connection trouble

2007-07-30 Thread Brian Wong
On 7/30/07, Sergio Restrepo [EMAIL PROTECTED] wrote:
 Hello,

 I am working with mailzu and I have the following lines in the amavis config
 file:


 ## Policy
 $interface_policy{'9998'} = 'AM.PDP';

 $policy_bank{'AM.PDP'} = {
 protocol = 'AM.PDP',
 #inet_acl = [qw( 127.0.0.1 [::1] 192.168.0.ip_equipo_donde_este_ezu )],
 inet_acl = [qw( 127.0.0.1 [::1] 192.168.0.254 )],
 };


 If I telnet to localhost:9998 I get a response, however when I telnet into
 domain.name:9998 I get a connection closed by foreign host message.
 domain.name resolves to 192.168.0.254

 What do I have to change so that the connection on 192.168.0.254 is
 accepted?

 Sergio Restrepo

You may want to look into the $inet_socket_bind variable. Check the
amavisd.conf-sample that comes with the distribution. When you
configure this to have amavisd listen on other interfaces, make sure
that your global $inet_acl is more restrictive than the $inet_acl
specified within a policy bank.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Taking note of map changes while amavisd-new is running?

2007-07-30 Thread Patrick Ben Koetter
Here's something I can't come up with an answer:

The scenario:
1. amavisd reads in a file upon startup e.g. using read_hash for
   @local_domains_maps to read in a list of domains and subdomains
2. The file is edited while amavisd is running

Question:
Will amavisd children take notice of the changes when they restart after
$max_request or do I need to restart the master server process?

[EMAIL PROTECTED]

-- 
The Book of Postfix
http://www.postfix-book.com
saslfinger (debugging SMTP AUTH):
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] PID disappearance

2007-07-30 Thread Luis Hernán Otegui
2007/7/30, Gary V [EMAIL PROTECTED]:
 Luis wrote:

  2007/7/30, Gary V [EMAIL PROTECTED]:
  Jason wrote:
 
  Running Debian 4.x.My /var/amavis/amavisd.pid file keeps
disappearing.  I'm sure something in cron is doing it, but I have
   not
located it yet.  Does anyone know?

  I've had a similar problem over two servers (debian Sarge), and it was
  tracked down to Logrotate requesting a reload of Amavis (and Amavis
  being unable to do it). Search the list files for it.
  See if this is your case. Anyway, it looks better to leave the pid
  file outside Amavis home dir, and throw it in /var/run/amavis.

  Luix

 The cure for that is to log to syslog and not use logrotate.
 $DO_SYSLOG = 1;

 I do remember where someone has trying to HUP amavisd-new in the
 logrotate script but this has been deprecated for some time:

 http://marc.info/?l=amavis-userm=117916137901389

 Gary V

Yup... That was me... It happened because I ran the updated
Amavisd-new with the old Debian startup script. As Gary and Marc
pointed on that thread, HUPping isn't supportted anymore. Also, I set
$DO_SYSLOG=1 because it makes it easier for my amavis-logwatch and
some other cron-based statistics scripts to correctly compute and
present the evolution of the mail traffic for my servers...

Luix


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 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/



-- 
-
GNU-GPL: May The Source Be With You...
Linux Registered User #448382.
When I grow up, I wanna be like Theo...
-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] (no subject)

2007-07-30 Thread Luke Fahey
Hi All

Im running postfix, clamav, spamasssasin and amavisd-new-2.5.1. Im
trying to get a sender whitelist working.

I have added the following in my amavisd.conf file, what im wondering is
how do i tell if this is actually working and reading my whitelist table

@whitelist_sender_maps = (
read_hash($MYHOME/whitelist),
);

Is the above the correct way to do it???

Regards,
Luke Fahey

Network Engineer

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Taking note of map changes while amavisd-new is running?

2007-07-30 Thread Gary V
Patrick wrote:

 Here's something I can't come up with an answer:

 The scenario:
 1. amavisd reads in a file upon startup e.g. using read_hash for
@local_domains_maps to read in a list of domains and subdomains
 2. The file is edited while amavisd is running

 Question:
 Will amavisd children take notice of the changes when they restart after
 $max_request or do I need to restart the master server process?

 [EMAIL PROTECTED]


If you set:
$max_servers = 1;
$max_requests = 1;

so a new child is created for each message, then you make changes to a
static map, you will see that changes to static maps require a reload.


Gary V



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] (no subject)

2007-07-30 Thread Gary V
Luke wrote:

 Hi All

 Im running postfix, clamav, spamasssasin and amavisd-new-2.5.1. Im
 trying to get a sender whitelist working.

 I have added the following in my amavisd.conf file, what im wondering is
 how do i tell if this is actually working and reading my whitelist table

 @whitelist_sender_maps = (
 read_hash($MYHOME/whitelist),
 );

The X-Spam header should show something like:
X-Spam-Status: No, score=x required=6.5 WHITELISTED tests=[]

You could also get detailed logging for one particular sender:

@debug_sender_maps = ( ['[EMAIL PROTECTED]'] );

then grep the log as you send a message through:
tail -f /var/log/maillog | grep white

Remember, amavisd-new works on the envelope sender.

 Is the above the correct way to do it???

It should work. There are other ways to whitelist:
http://marc.info/?l=amavis-userm=117337179307450

In your whitelist file:
[EMAIL PROTECTED]
.example.net

 Regards,
 Luke Fahey

 Network Engineer

Gary V


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] (no subject)

2007-07-30 Thread Luke Fahey
Thanks Gary, I will check this out

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gary V
Sent: Tuesday, 31 July 2007 12:28 PM
To: amavis-user@lists.sourceforge.net
Subject: Re: [AMaViS-user] (no subject)

Luke wrote:

 Hi All

 Im running postfix, clamav, spamasssasin and amavisd-new-2.5.1. Im
 trying to get a sender whitelist working.

 I have added the following in my amavisd.conf file, what im wondering
is
 how do i tell if this is actually working and reading my whitelist
table

 @whitelist_sender_maps = (
 read_hash($MYHOME/whitelist),
 );

The X-Spam header should show something like:
X-Spam-Status: No, score=x required=6.5 WHITELISTED tests=[]

You could also get detailed logging for one particular sender:

@debug_sender_maps = ( ['[EMAIL PROTECTED]'] );

then grep the log as you send a message through:
tail -f /var/log/maillog | grep white

Remember, amavisd-new works on the envelope sender.

 Is the above the correct way to do it???

It should work. There are other ways to whitelist:
http://marc.info/?l=amavis-userm=117337179307450

In your whitelist file:
[EMAIL PROTECTED]
.example.net

 Regards,
 Luke Fahey

 Network Engineer

Gary V



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] /var/virusmails -- cleanup?

2007-07-30 Thread Tomas Macek
Try this for example in /etc/crontab:

 0 3 * * * root find /var/virusmails/ -mtime +2 -type f -exec rm -f {} \;

This deletes for me at 3:00am every morning all the files in /var/virusmails 
older than 2 days.


On Mon, 30 Jul 2007, lartc wrote:

 hi all,

 this directory keeps filling up, so i am using tmpwatch to keep its size
 within reason.

 is there a directive to tell amavis to nuke these file automagically ??
 as my server is becoming busier, this directory is quickly becoming
 difficult to manage ...

 thanks

 charles


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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/