clamav plugin: Return DENYSOFT when clamd not available

2005-12-16 Thread Filippo Carletti
If clamdscan cannot connect to clamd, clamdscan plugin returns DECLINED and the virus is delivered to the user. A safer option would be to return DENYSOFT when clamd is not reachable. Proposed patch: --- clamdscan.orig 2005-11-04 01:50:21.0 +0100 +++ clamdscan 2005-12-16 11:50:1

Re: [announce] qpsmtpd 0.32 - clamdscan

2006-02-27 Thread Filippo Carletti
0.32 - 2006/02/26 ... A few fixes to the clamdscan plugin (Dave Rolsky) The patch I suggested to return DENYSOFT if clamd is not pingable was reverted. Sorry to have discovered it too late. http://svn.perl.org/viewcvs/qpsmtpd/trunk/plugins/virus/clamdscan?r1=587&r2=588 Ciao, Filippo

Re: Per user configs with the Spamassassin plugin?

2007-01-12 Thread Filippo Carletti
> (autolearning doesn't work with spamd) Off topic here, but I think that's not true. 2007-01-08 20:58:00.044811500 [3632] info: spamd: result: Y 23 - BAYES_99,DRUGS_ERECTILE,HELO_DYNAMIC_IPADDR2,HTML_30_40,HTML_IMAGE_ONLY_12,HTML_MESSAGE,MY_CID_AND_ARIAL2,RCVD_FORGED_WROTE,RCVD_IN_XBL,SARE_GIF_A

Re: Problem with number of concurrent outbound sessions

2008-07-02 Thread Filippo Carletti
> I am not a user of qpsmtpd, but one of customers is (they use smeserver > which I think I am right in saying using qpsmtpd). They are a PR company > and so every now and then need to send out mailshots to journalists etc. smeserver uses qmail for outbound mail. qpsmtpd is for inbound mail. > S

PATCH [1/5] Disconnect badhelo

2009-06-17 Thread Filippo Carletti
I'm sending 5 patches we are using on smeserver (contribs.org), developed by different authors. See our bug tracker for reference (link in each mail). If the patches are accepted, I can offer them via my git repo. This patch has no bug associated, but I think it's clear. :-) --- qpsmtpd-0.40/pl

PATCH [2/5] rhsbl_disconnect

2009-06-17 Thread Filippo Carletti
See http://bugs.contribs.org/show_bug.cgi?id=3390 for discussion. diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/rhsbl mezzanine_patched_qpsmtpd-0.40/plugins/rhsbl --- qpsmtpd-0.40/plugins/rhsbl 2007-06-14 13:57:24.0 -0400 +++ mezzanine_patched_qpsmtpd-0.40/plugins/rhsbl200

PATCH [3/5] spamassassin noise

2009-06-17 Thread Filippo Carletti
http://bugs.contribs.org/show_bug.cgi?id=3340 diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/spamassassin mezzanine_patched_qpsmtpd-0.40/plugins/spamassassin --- qpsmtpd-0.40/plugins/spamassassin 2007-06-14 11:57:24.0 -0600 +++ mezzanine_patched_qpsmtpd-0.40/plugins/spamassassin 2

PATCH [4/5] clamdscan parameter change

2009-06-17 Thread Filippo Carletti
This is needed to use clamav-0.95 which changed an option. http://bugs.contribs.org/show_bug.cgi?id=5108 --- qpsmtpd-0.40/plugins/virus/clamav.fixClamscanParameterChange 2009-03-28 08:47:34.0 +0100 +++ qpsmtpd-0.40/plugins/virus/clamav 2009-03-28 08:54:50.0 +0100 @@ -187,

PATCH [5/5] clamav denied on fail

2009-06-17 Thread Filippo Carletti
http://bugs.contribs.org/show_bug.cgi?id=3098 --- qpsmtpd-0.40/plugins/virus/clamav 2007-06-14 11:57:23.0 -0600 +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav 2007-06-14 17:46:23.0 -0600 @@ -139,6 +139,9 @@ elsif (/back_compat/) { $self->{_back_compat} = '-i

spamassassin plugin doesn't send full mail to spamd

2009-07-15 Thread Filippo Carletti
I think I'm experiencing the same problem described here: http://www.nntp.perl.org/group/perl.qpsmtpd/2006/11/msg5815.html Environment is the same, behavior identical. But I'm able to reproduce the problem at will, I have a mail that is sent partially to spamd. The symptoms are: 1. spam mail is n

Re: spamassassin plugin doesn't send full mail to spamd

2009-07-16 Thread Filippo Carletti
> The mail has only two body lines, the first is very long. Here it is: ... > If I cut that line after Code)" the mail arrives to spamd, if I don't Please, read: if the line is more than 311 chars long, spamd doesn't receive it. I modified the spamassassin plugin duplicating each print to SPAMD s

Re: spamassassin plugin doesn't send full mail to spamd

2009-07-23 Thread Filippo Carletti
> Time to ask to spamassassin developers? Solved. The ipp2p (p2p block) firewall rules were active on localhost and blocking connection to spamd via socket on port 783 for that particular mail. Sorry for the noise. -- Ciao, Filippo

Re: RPM status

2009-07-30 Thread Filippo Carletti
> The procedure to build the RPMs is as follows: > >        cd packaging/rpm >        # edit VERSION / RELEASE as appropriate >        make rpm > > The RPMs are put in the build directory. It doesn't work for me. I think that it's missing al least a Makefile. Here's the list of files you committed

Peers plugin

2009-09-22 Thread Filippo Carletti
The peers plugin by Charlie Brady permits different plugins for connecting clients. It's used in thousand of sme server installations since he presented it to the list: http://www.nntp.perl.org/group/perl.qpsmtpd/2006/02/msg4475.html Here is the patch actually needed to the core: http://github.com

Re: Peers plugin

2009-10-29 Thread Filippo Carletti
> in 2006, we'd need to think a little more about implementation. Actually, the peers plugin doesn't work in qpsmtpd-0.82. Shad Lords tracked down the problem and found that we need to revert a change made by Matt here: 59b826d4bbdb1bc7e1d895dfefdceb612425531c Here's how we "fixed it": http://git

Revert 59b826d4bbdb1bc7e1d895dfefdceb612425531c ?

2009-11-04 Thread Filippo Carletti
Please, could any experienced qpsmtpd developer comment on this change? Actually, the peers plugin doesn't work in qpsmtpd-0.82. Shad Lords tracked down the problem and found that we need to revert a change made by Matt here: 59b826d4bbdb1bc7e1d895dfefdceb612425531c Here's how we "fixed it": http

Re: Revert 59b826d4bbdb1bc7e1d895dfefdceb612425531c ?

2009-11-04 Thread Filippo Carletti
> Here's how we "fixed it": > http://github.com/filippocarletti/qpsmtpd/commit/7eb8f28f7b2588c2d7a39b94b6b125f3cf787cc7 The brackets are not needed (thanks Shad). http://github.com/filippocarletti/qpsmtpd/commit/121e8a2e83a7b2af43e26c7a4ac4d9e6027300ec -- Ciao, Filippo

sme server patch to allow relay to badrcptto

2009-11-04 Thread Filippo Carletti
In sme server we have some email aliases defined as visible=internal, that is internal users (relayclients) could write to them, but from outside the lan (non relay clients) the email address is not reachable (non existent). (http://github.com/filippocarletti/qpsmtpd/blob/0c8c3fbd4a79d4ef3536ff90e

plugins/virus/clamav typo

2009-11-04 Thread Filippo Carletti
(http://github.com/filippocarletti/qpsmtpd/blob/0c8c3fbd4a79d4ef3536ff90e3bb1595bbad0fe9/packaging/rpm/files/qpsmtpd-0.83-clamd_conf.patch) - $self->{_clamd_conf} ||= '/etc/clamd/conf'; # make sure something is set + $self->{_clamd_conf} ||= '/etc/clamd.conf'; # make sure something is set -- C

Move clamav headers at top

2009-11-04 Thread Filippo Carletti
http://github.com/filippocarletti/qpsmtpd/blob/0c8c3fbd4a79d4ef3536ff90e3bb1595bbad0fe9/packaging/rpm/files/qpsmtpd-0.83-clamav-headers.patch I don't know the details, but headers have to be at top or problems with digitally signed mail arise. -- Ciao, Filippo

Re: sme server patch to allow relay to badrcptto

2009-11-24 Thread Filippo Carletti
> As I suggested before, a plugin wrapper is the way to do these site > specific customizations.  See "Inheritance" in docs/plugin.pod I did my homework. :-) Would you please check if the attached plugin is what we need? -- Ciao, Filippo check_badrcptto_relay Description: Binary data

Re: sme server patch to allow relay to badrcptto

2009-11-24 Thread Filippo Carletti
> Off the top of my head which got two hours of sleep last night, it > looks right.  Does it work? Yes, it works. -- Ciao, Filippo