Re: Newbie Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-27 Thread Alexey Kovirshin
On Fri, Aug 27, 2004 at 09:47:30AM +0100, lnx wrote:
> I would like to use this script, but not sure which directory to use or
> where to install it, could someone enlighten me?

Oh, feel free to install it anywhere you want.

For example, i use /etc/postfix/filter.sh.

 master.cf:
---[cut]---
smtp  inet  n   -   n   -   -   smtpd
-o content_filter=filter
---[cut]---

 at the end of master.cf:
---[cut]---
filter  unix-   n   n   -   -   pipe
  flags=Rq user=clamav argv=/etc/postfix/filter.sh -f ${sender} -- ${recipient}
---[cut]---

Take a look at http://regions.rgs.ru/dist/postfix/, there are some
examples.

-- 
Best regards,
Alexey Kovirshin


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-27 Thread Alexey Kovirshin
On Wed, Aug 25, 2004 at 07:56:46AM -0700, Ajay Sharma wrote:
> Hey, thanks your script is really straightforward.  Isn't it probably a 
> good idea not to bounce the message back to the sender since the sender 
> address is most likely spoofed anyway?

Worms spoof "from" address... It was a good idea to chek if virus is a
worm. Users tied of getting mails with notifications about undeliverable
mail.

-- 
Best regards,
Alexey Kovirshin


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Newbie Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-27 Thread lnx
I would like to use this script, but not sure which directory to use or
where to install it, could someone enlighten me?

Thanks

lnx



- Original Message - 
From: "Ajay Sharma" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 25, 2004 3:56 PM
Subject: Re: [Clamav-users] postfix+clamav without amavisd-new


> Alex V. Kovirshin wrote:
> > On Tue, Aug 24, 2004 at 07:39:20PM -0700, Ajay wrote:
> >
> >>Hi,
> >>
> >>What are some other ways to get clamd support in postfix without using
> >>amavisd-new because I don't need all the features of amavisd-new.
> >
> >
> > Hi. Try my script, it's simple.
>
> Hey, thanks your script is really straightforward.  Isn't it probably a
> good idea not to bounce the message back to the sender since the sender
> address is most likely spoofed anyway?
>
> --Ajay
>
> -
> Satyajot (Ajay) Sharma
> REVShare Corp
> System Administrator
>
>
> ---
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> ___
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-26 Thread Ajay Sharma
Alex V. Kovirshin wrote:
On Tue, Aug 24, 2004 at 07:39:20PM -0700, Ajay wrote:
Hi,
What are some other ways to get clamd support in postfix without using 
amavisd-new because I don't need all the features of amavisd-new.

Hi. Try my script, it's simple.
Hey, thanks your script is really straightforward.  Isn't it probably a 
good idea not to bounce the message back to the sender since the sender 
address is most likely spoofed anyway?

--Ajay
-
Satyajot (Ajay) Sharma
REVShare Corp
System Administrator
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread John Fleming

> > What are some other ways to get clamd support in postfix without using
> > amavisd-new because I don't need all the features of amavisd-new.

Google for clamassassin.  Called from procmail, then procmail the results to
wherever you want.  Works with clamscan or clamdscan.  - John



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread Alex V. Kovirshin
On Wed, Aug 25, 2004 at 03:38:53PM +0200, Lionel Bouton wrote:
> Alex V. Kovirshin wrote the following on 08/25/2004 02:50 PM :
> 
> >On Tue, Aug 24, 2004 at 07:39:20PM -0700, Ajay wrote:
> > 
> >
> >>Hi,
> >>
> >>What are some other ways to get clamd support in postfix without using 
> >>amavisd-new because I don't need all the features of amavisd-new.
> >>   
> >>
> >
> >Hi. Try my script, it's simple.
> > 
> >
> 
> Don't use it in this current state : this script will spam innocent 
> bystanders whose adresses were used for the return-path.
> At least add a regexp which match worms using a fake "From:" like 
> amavisd-new or prepare to be buried alive under e-mails from surprised 
> or angry people getting virus warnings from your mail server...

Right. Thanx. I fixed a bit it using "grep -i worm"

> 
> Cheers
> 
> -- 
> Lionel Bouton - inet6
> -
>   o  Siege social: 51, rue de Verdun - 92158 Suresnes
>  /  _ __ _   Acces Bureaux: 33 rue Benoit Malon - 92150 Suresnes
> / /\  /_  / /_   France
> \/  \/_  / /_/   Tel. +33 (0) 1 41 44 85 36
>  Inetsys S.A.Fax  +33 (0) 1 46 97 20 10
> 
> 
> 
> 
> ---
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> ___
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users

-- 
Best regards,
Alex V. Kovirshin 


filter.sh
Description: Bourne shell script


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread Lionel Bouton
Alex V. Kovirshin wrote the following on 08/25/2004 02:50 PM :
On Tue, Aug 24, 2004 at 07:39:20PM -0700, Ajay wrote:
 

Hi,
What are some other ways to get clamd support in postfix without using 
amavisd-new because I don't need all the features of amavisd-new.
   

Hi. Try my script, it's simple.
 

Don't use it in this current state : this script will spam innocent 
bystanders whose adresses were used for the return-path.
At least add a regexp which match worms using a fake "From:" like 
amavisd-new or prepare to be buried alive under e-mails from surprised 
or angry people getting virus warnings from your mail server...

Cheers
--
Lionel Bouton - inet6
-
  o  Siege social: 51, rue de Verdun - 92158 Suresnes
 /  _ __ _   Acces Bureaux: 33 rue Benoit Malon - 92150 Suresnes
/ /\  /_  / /_   France
\/  \/_  / /_/   Tel. +33 (0) 1 41 44 85 36
 Inetsys S.A.Fax  +33 (0) 1 46 97 20 10

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread John Madden
> My setup is really basic where everyone has a shell account so in order
> for everyone to have their own bayes databases, I need to run
> spamassassin outside of amavisd-new.  If there aren't any decent
> alternative then I'll just run amavisd-new without the spamassassin
> settings.

This is how we run as well -- just run spamassassin via procmail during
delivery, use amavisd for clamav.  Procmail comes with its own overhead,
so if you're doing tons of deliveries for lots of users, this may not be
ideal.

What we need in the long run is for postfix to send a hint (header?)
through amavisd as to the intended point of delivery (if local) so that
spamassassin, then spawned via amavisd, knows which bayes database to use.

John




-- 
John Madden
UNIX Systems Engineer
Ivy Tech State College
[EMAIL PROTECTED]




---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread Alex V. Kovirshin
On Tue, Aug 24, 2004 at 07:39:20PM -0700, Ajay wrote:
> 
> Hi,
> 
> What are some other ways to get clamd support in postfix without using 
> amavisd-new because I don't need all the features of amavisd-new.

Hi. Try my script, it's simple.

> 
> My setup is really basic where everyone has a shell account so in order 
> for everyone to have their own bayes databases, I need to run 
> spamassassin outside of amavisd-new.  If there aren't any decent 
> alternative then I'll just run amavisd-new without the spamassassin 
> settings.
> 
> Thanks,
> Ajay
> 
> 
> 
> 
> ---
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> ___
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users

-- 
Best regards,
Alex V. Kovirshin 


filter.sh
Description: Bourne shell script


Re: [Clamav-users] postfix+clamav without amavisd-new

2004-08-25 Thread Bart Silverstrim
On Aug 24, 2004, at 10:39 PM, Ajay wrote:
Hi,
What are some other ways to get clamd support in postfix without using 
amavisd-new because I don't need all the features of amavisd-new.

My setup is really basic where everyone has a shell account so in 
order for everyone to have their own bayes databases, I need to run 
spamassassin outside of amavisd-new.  If there aren't any decent 
alternative then I'll just run amavisd-new without the spamassassin 
settings.
You can use amavis and shut off the spamassassin settings, that would 
be one way.

I'm in the process of researching the setup of a Mac OS X (client) 
system to be used as a mail server, and am leaning towards using 
Postfix (since it comes with Panther) in conjunction with procmail, 
feeding the mail messages to s script that scans the messages and if 
they're re-headered as infected a procmail recipe will quarantine them. 
 There's a couple scripts meant to work with procmail off the ClamAV 
site.

-Bart

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] postfix+clamav without amavisd-new

2004-08-24 Thread Ajay
Hi,
What are some other ways to get clamd support in postfix without using 
amavisd-new because I don't need all the features of amavisd-new.

My setup is really basic where everyone has a shell account so in order 
for everyone to have their own bayes databases, I need to run 
spamassassin outside of amavisd-new.  If there aren't any decent 
alternative then I'll just run amavisd-new without the spamassassin 
settings.

Thanks,
Ajay

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users