white-listing in hosts_allow plugin

2010-12-09 Thread Robin Bowes
Hi, I'd like to add the capability to white-list in the hosts_allow plugin. Specifically, we have a relay that we expect to get multiple connections from so I don't want to restrict connections from that IP. I was looking at the hosts_allow code, trying to work out the best way to implement this

Re: white-listing in hosts_allow plugin

2010-12-09 Thread Robin Bowes
On 09/12/10 13:10, Robin Bowes wrote: Hi, I'd like to add the capability to white-list in the hosts_allow plugin. Specifically, we have a relay that we expect to get multiple connections from so I don't want to restrict connections from that IP. I was looking at the hosts_allow code

Re: Exim alternatives?

2010-09-16 Thread Robin Bowes
On 14/09/10 21:41, Pedro Melo wrote: Hi, On Tue, Sep 14, 2010 at 7:17 PM, Ask Bjørn Hansen a...@develooper.com wrote: On Sep 14, 2010, at 7:49, David Favor wrote: My primary challenge with exim is it's difficult to understand configuration system and the random nature of exim suffering

DKIM with qmail/qpsmtpd ?

2010-08-02 Thread Robin Bowes
Hi all, What's the latest regarding using DKIM with qmail + qpsmtpd? Anyone using it in anger? If so, what patches/plugins are you using? Thanks for any pointers... R.

Re: new plugin - hash_greylist

2010-05-24 Thread Robin Bowes
On 23/05/10 17:57, Michal H wrote: Here is monthly statistics from host which works as backup MX and gets about 50 messages a month: 13check_earlytalker 22429 require_resolvable_fromhost 41rhsbl 132091check_badmailfrom 559 count_unrecognized_commands 81641

Re: new plugin - hash_greylist

2010-05-24 Thread Robin Bowes
On 24/05/10 12:46, Rasmus Skaarup wrote: I don't know what Michael uses, but I created dlog because I couldn't find anything that worked for me. http://dlog.gal.dk There are CLI tools available, some nice graphs (http://dlog.gal.dk/demo) and plugins for munin. Michael pointed me at

Re: perltidy, bike sheds, and asbestos suits

2010-05-12 Thread Robin Bowes
On 12/05/10 07:00, Ask Bjørn Hansen wrote: On May 11, 2010, at 21:25, Robert Spier wrote: Does anyone else have any opinions on doing a massive perltidy? I'm on the fence. I'm on the fence, too. My concern is mostly for the people with private patches / hacked up versions. (Maybe

Re: auth_vpopmaild added to repo

2010-05-10 Thread Robin Bowes
On 10/05/10 20:25, Matt Simerson wrote: For people running the vpopmaild daemon, I suspect that its a better solution than either auth_vpopmail or auth_vpopmail_sql. And for anyone not running the vpopmaild daemon, you should start running the vpopmaild daemon :) My personal view is that

Re: auth_vpopmaild added to repo

2010-05-10 Thread Robin Bowes
On 10/05/10 22:01, Matt Simerson wrote: Merged into my branch. Not sure why we post such info the list, but I've been seeing others do it. So I'm doing it too. I think it's more relevant when the guys who have write access to the master repo post that sort of info :) R.

auth_vpopmaild added to repo

2010-05-08 Thread Robin Bowes
host [host] port [port] + +=head1 LINKS + +[1] http://www.qmailwiki.org/Vpopmaild + +=head1 AUTHOR + +Robin Bowes robin.bo...@yo61.com + +=head1 COPYRIGHT AND LICENSE + +Copyright (c) 2010 Robin Bowes + +This plugin is licensed under the same terms as the qpsmtpd package itself. +Please see

Re: Working vpopmail valid user checker

2010-03-29 Thread Robin Bowes
On 21/03/10 18:50, Frank Precissi wrote: Hi everyone! Long time lurker/qpsmtpd user, first time poster. I've searched everywhere, checked the repos, and the pages for plugin writers. Is there a good working vpopmail valid-email plugin for qpsmtpd? One that will: 1. Search .qmail

Re: badmailfrom per domain

2010-01-23 Thread Robin Bowes
On 22/01/10 15:19, Matt Sergeant wrote: Also consider using Enemies List on the HELO. It's very effective. Matt, How would I go about doing that? R.

Re: Trying apache with multiple configs.

2009-12-08 Thread Robin Bowes
On 05/12/09 05:23, Peter Eisch wrote: Consider the first config loaded: -- Listen 10.1.200.28:25 smtp AcceptFilter smtp none LoadModule perl_module lib/httpd/mod_perl.so Perl use lib qw( /home/smtpd/qpsmtpd.1/lib ); use Apache::Qpsmtpd;

Qpsmtpd::Apache - connections not timing out

2009-08-30 Thread Robin Bowes
Hi, I'm looking into moving my setup to use Qpsmtpd::Apache. But, I'm finding that connections are not timing out. I'm using an apache config fragment like this: Listen 0.0.0.0:25 smtp AcceptFilter smtp none Perl use Apache::Qpsmtpd; $ENV{QPSMTPD_CONFIG} = /etc/qpsmtpd; /Perl

Re: Qpsmtpd::Apache - connections not timing out

2009-08-30 Thread Robin Bowes
On 30/08/09 21:06, Sydney Bogaert wrote: Yes, me. It is like if the timeout begins counting after the first byte received. If you hit any key after the timeout, you will receive a connection closed on the client side. Good catch - I seem the same thing. So, the timeout timer is not being

Re: Qpsmtpd::Apache - connections not timing out

2009-08-30 Thread Robin Bowes
On 30/08/09 21:32, Sydney Bogaert wrote: Err, I did the tests over a year ago. If I remember correctly, the timer begins correctly. The fact is that it seems there is no code exiting the connection if no data is received. I put a warning in Qpsmtpd::Apache::start_connection (in file

Re: Qpsmtpd::Apache - connections not timing out

2009-08-30 Thread Robin Bowes
On 30/08/09 21:58, Robin Bowes wrote: I put a warning in Qpsmtpd::Apache::start_connection (in file Apache/Qpsmtpd.pm) .. and noticed that it was being triggered multiple times on just one connection at approximately 5 minute intervals: OK, I think there are two issues here: 1. It seems

Re: RPM status

2009-07-31 Thread Robin Bowes
On 31/07/09 08:19, Ask Bjørn Hansen wrote: On Jul 30, 2009, at 16:13, Robin Bowes wrote: Thanks for working on this Robin. A couple of comments: Could the VERSION stuff not be hardcoded? It could. It's done this way so the Makefile is generic, ie. it can be used with any project

Re: RPM status

2009-07-30 Thread Robin Bowes
On 30/07/09 15:56, Filippo Carletti wrote: 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

Re: how to write a plugin to smtp forwad to multiple servers in RR mode

2009-07-25 Thread Robin Bowes
On 25/07/09 04:25, Junyi-HUANG wrote: Thanks a million , Charlie . Actually , the problem i am trying to solve is : [snip] Take a look at the queue/smtp-forward plugin. I'm pretty sure it would be trivial to modify that to deliver to specific servers based on header content. R.

minimal apache config for qpsmtpd-apache

2009-07-21 Thread Robin Bowes
Hi, I was wondering about how best to install+configure the latest qpsmtpd-apache on a clients machine that already has httpd on it and using php. I figured the best way (for me) would be to include separate apache config in the qpsmtpd-apache RPM. This would use a custom config file in

qmail-ext plugin?

2009-07-20 Thread Robin Bowes
Hi, I seem to remember someone mentioning a plugin that munges address to remove the local part of the recipient after the qmail-ext char. e.g. foo-...@example.com would get replaced with f...@example.com. I've looked in the archives, but I can't find it - probably because I'm not searching for

Re: qmail-ext plugin?

2009-07-20 Thread Robin Bowes
On 20/07/09 09:06, Julien wrote: Hello, I use check_goodrcptto plugins with the following configuration : check_goodrcptto extn - http://www.openfusion.com.au/of/labs/qpsmtpd/check_goodrcptto Julien, Thanks for the suggestion. I actually have my own check_validrcptto_cdb plugin [1]

Re: RPM status

2009-07-14 Thread Robin Bowes
On 14/07/09 03:13, Ask Bjørn Hansen wrote: On Jul 13, 2009, at 14:35, Robin Bowes wrote: Well, I've done a fair bit of work on the existing spec file, and have an 0.82 RPM, which builds directly from the git repository. I'd be happy to make it all available, or even for it to be checked

Re: apache config file for qpsmtpd-apache

2009-07-13 Thread Robin Bowes
On 13/07/09 03:45, Guy Hulbert wrote: On Mon, 2009-13-07 at 00:25 +0100, Robin Bowes wrote: On 12/07/09 23:29, Robin Bowes wrote: On 12/07/09 23:22, Robin Bowes wrote: Hi, The attached file is a sample config which can be dropped into /etc/httpd/conf.d on Redhat-flavoured boxes to enable

RPM status

2009-07-12 Thread Robin Bowes
Hi, Has anyone done any work on the qpsmtpd RPM(s) recently? I've got 2-3 systems I'll be updating/installing over the next couple of months and I would prefer to use packages to streamline/unify the installation process. If there's been no changes recently, I'll get stuck in and update them

Re: RPM status

2009-07-12 Thread Robin Bowes
On 12/07/09 09:58, Robin Bowes wrote: Hi, Has anyone done any work on the qpsmtpd RPM(s) recently? I've got 2-3 systems I'll be updating/installing over the next couple of months and I would prefer to use packages to streamline/unify the installation process. If there's been no changes

Suggested new README file for qpsmtpd-apache

2009-07-12 Thread Robin Bowes
Hi, You might like to include the attached README file in a future release. It explains how to allow apache to listen on an arbitrary port when SELinux is enabled. R. If you run qpsmtpd-apache on a box with SELinux enabled, you'll need to allow apache to listen to your SMTP port, typically port

apache config file for qpsmtpd-apache

2009-07-12 Thread Robin Bowes
Hi, The attached file is a sample config which can be dropped into /etc/httpd/conf.d on Redhat-flavoured boxes to enable qpsmtpd-apache. Please feel free to include in a future release. R. Listen 0.0.0.0:25 smtp AcceptFilter smtp none ## smtp and the AcceptFilter are required for Linux, FreeBSD

Re: apache config file for qpsmtpd-apache

2009-07-12 Thread Robin Bowes
On 12/07/09 23:22, Robin Bowes wrote: Hi, The attached file is a sample config which can be dropped into /etc/httpd/conf.d on Redhat-flavoured boxes to enable qpsmtpd-apache. Please feel free to include in a future release. sigh And that one seems to have some errant UTF8 characters

Re: Who wants to play holy war over -ce ?

2009-04-03 Thread Robin Bowes
David Nicol wrote: On Fri, Apr 3, 2009 at 3:05 PM, Matt Sergeant m...@sergeant.org wrote: I don't. And I'm fairly sure the rest of us probably don't either. I use them; they appear in plenty of CPAN modules, production code, examples in mailing lists. Hehe, ok three of you then ;-) By the

Re: TLS Plugin - Problem with chained certificate

2009-01-23 Thread Robin Bowes
Ask Bjørn Hansen wrote: On Jan 23, 2009, at 4:41, John Peacock wrote: From a quick google, I think the solution is that you have to include the certificate chain in the same file as the server cert itself, in reverse order (so the CA is first, followed by any intermediate CA's, and the

Re: relaying

2008-08-18 Thread Robin Bowes
Hans Sandsdalen wrote: Hi I want my authenticated users to be able to relay. How? I use auth/auth_flat_file Hans, Look at the check_relay plugin. R.

Re: aut_vpopmail

2008-05-14 Thread Robin Bowes
Lucas -LandM- wrote: Hi Robin, It works !!! Thank you for your help. No problem. I must put that up on a web page somewhere. Probably http://projects.robinbowes.com/auth_vpopmaild when I get round to it. R.

Re: Vpopmail check

2008-05-07 Thread Robin Bowes
Markus Ullmann wrote: [EMAIL PROTECTED] schrieb: Hi Lucas, that's what I meant.. the one you refer to is for smtp auth. The one I posted verifies whether the RCPT TO: is a valid account and errors out if not. So slightly different ;) I would suggest that *any* plugin that needs to

Re: Next steps to release?

2008-05-07 Thread Robin Bowes
Steve Kemp wrote: On Wed May 07, 2008 at 19:58:46 +, Matt Sergeant wrote: So what's missing and what would you like to see before the next release? A decent guide / example on how to use the async setup? apache :) R.

[PATCH] to add qpsmtpd-prefork to the list of EXE_FILES in the Makefile

2008-03-12 Thread Robin Bowes
For some reason, only qpsmtpd and qpsmtpd-forkserver are defined as EXE_FILES in Makefile.PL. This trivial patch adds qpsmtpd-prefork. Perhaps qpsmtpd-async should be added too? --- Makefile.PL 2008-03-10 16:42:30.0 + +++ Makefile.PL.new 2008-03-12 15:07:56.0 + @@

Re: Changes to RPM

2007-12-16 Thread Robin Bowes
Charlie Brady wrote: On Sat, 15 Dec 2007, Robin Bowes wrote: Anyway, the purpose of this thread is to suggest and discuss some changes/improvements to the RPM. ... 1. Drop an apache config file into /etc/httpd/conf.d, e.g. qpsmtpd.conf: ... 2. Don't automatically set qpsmtpd-forkserver

qpsmtpd config with apache - from RPMs

2007-12-15 Thread Robin Bowes
Hi, I'm setting up qpsmtpd with apache, the RPMs. Is this the right use lib ... line: use lib qw( /usr/lib/perl5/site_perl/Qpsmtpd ); And what do I use for the QpsmtpdDir? Would that be: PerlSetVar QpsmtpdDir /etc/qpsmtpd i.e. pointing to the config dir? Thanks, R.

Re: qpsmtpd config with apache - from RPMs

2007-12-15 Thread Robin Bowes
Peter Eisch wrote: On 12/15/07 8:26 AM, Robin Bowes [EMAIL PROTECTED] wrote: Hi, I'm setting up qpsmtpd with apache, the RPMs. Is this the right use lib ... line: use lib qw( /usr/lib/perl5/site_perl/Qpsmtpd ); And what do I use for the QpsmtpdDir? Would that be: PerlSetVar

Changes to RPM

2007-12-15 Thread Robin Bowes
Hi, I'm in the process of migrating my home mail setup onto a better connected server and am moving to use qpsmtpd under apache (you may have noticed a previous post from me on this subject!) Anyway, the purpose of this thread is to suggest and discuss some changes/improvements to the RPM. So, I

Re: Overview of rcpt checkers

2007-12-06 Thread Robin Bowes
You forgot my plugin: http://robinbowes.com/projects/check_validrcptto_cdb R.

Re: Hi, bug report/feature request

2007-10-03 Thread Robin Bowes
John Peacock wrote: I'm sure that there is a platform-independent way to get the hostname How about: use Sys::Hostname; $host = hostname; R.

yum repo and RPM for trunk

2007-09-12 Thread Robin Bowes
Hi, For my own needs, I've created an RPM for trunk from Peter's RPM, built on Centos 5, i386 SRPM and RPMS are available here: http://repo.yo61.net/centos/5/yo61/stable/i386 If you use yum, you can put the following file in /etc/yum.repos.d: http://repo.yo61.net/yo61.repo

Re: rcpt_ok - max relay attempts

2007-09-05 Thread Robin Bowes
Hanno Hecker wrote: On Wed, 5 Sep 2007 00:33:46 +0200 Peter J. Holzer [EMAIL PROTECTED] wrote: On 2007-09-04 10:25:49 -0700, Ask Bjørn Hansen wrote: It'd be more appropriate in a separate plugin, no? I think so. In fact I wrote a very similar plugin for my qpsmtpd tutorial in 2004:

Re: High system load

2007-08-16 Thread Robin Bowes
Geoff Shang wrote: My questions are these: 1. Does anyone have any idea why our system load is running so high? and 2. Which version of qpsmtpd should I be running? There seems to be 4 different server programs now and I don't really appreciate the difference between the various

Re: Relaying to external server

2007-08-14 Thread Robin Bowes
vvitkov wrote: Hello, I am looking for a lightweight and preferably fast solution for my problem and looks that qpsmtpd can do the job (at least for the lightweight and fast) Now the idea of the setup I have a mail relay machine on which i want simple checks performed. Checks like

Re: another log analyzing tool (with munin plugins)

2007-06-12 Thread Robin Bowes
Rasmus Skaarup wrote: Any input is much appreciated! Hi Rasmus, I just tried the 0.98 beta package. Here's my feedback. 1. Use #!/usr/bin/env perl as the shebang in configure.pl (not everyone has perl in /usr/local/bin) 2. I ran with the following configure command: ./configure.pl \

Re: PATCH: Check relayclient in dnsbl

2007-05-25 Thread Robin Bowes
Gordon Rowell wrote: --- plugins/dnsbl.orig 2005-07-02 12:17:32.0 +1000 +++ plugins/dnsbl 2005-07-02 17:17:00.0 +1000 @@ -17,6 +17,8 @@ sub connect_handler { my ($self, $transaction) = @_; + return (DECLINED) if $self-qp-connection-relay_client(); + my

auth_ok plugin

2007-05-25 Thread Robin Bowes
Hi, Further to my earlier brain-fade, I'm writing a plugin that will skip rcpt checks if the client has authenticated. I'm using John Peacock's suggested code for a relay_ok plugin: sub register { my ($self, $qp) = @_; $self-register_hook(mail, relay_ok); $self-register_hook(rcpt,

Re: PATCH: Check relayclient in dnsbl

2007-05-25 Thread Robin Bowes
Robin Bowes wrote: Gordon Rowell wrote: --- plugins/dnsbl.orig 2005-07-02 12:17:32.0 +1000 +++ plugins/dnsbl 2005-07-02 17:17:00.0 +1000 @@ -17,6 +17,8 @@ sub connect_handler { my ($self, $transaction) = @_; + return (DECLINED) if $self-qp-connection

Re: New release?

2007-04-22 Thread Robin Bowes
Michael Holzt wrote: Is it perhaps time for another release? Absolutely. 0.32 is now over 1 year old and my impression is that it is lacking lots of cool innovations done since then. I run from svn so I get all the cool innovations! :) R.

Re: Filter bounce mails with forged domains

2007-04-19 Thread Robin Bowes
Werner Fleck wrote: I'm using a different email address for almost every party I communicate with. This way I can trace who is giving away my email address and I can block an address if it is misused. The drawback is, that I cannot use something like check_goodrcptto because I do not know all

Re: Newbie question (sorry!)

2007-02-02 Thread Robin Bowes
Jim Murray wrote: Firstly, apologies if this question's been asked a hundred times already but I'm new to qpsmtpd (having just switched from qmail-smtpd to gain improved filtering capabilities) and can't find a definitive answer either in Google or the list archives. What I'm looking for is

Re: badmailfrom or ignoring mail with from

2007-01-21 Thread Robin Bowes
Guy Hulbert wrote: On Sun, 2007-21-01 at 11:57 +0100, Peter J. Holzer wrote: You may be thinking of some unofficial patch for qmail-smtpd. I'm using the 1.03-38 from Debian. It has a number of patches applied. I think most other people running qmail actually use net-qmail, which has a

Re: badmailfrom or ignoring mail with from

2007-01-20 Thread Robin Bowes
Les Mikesell wrote: One of the domains I handle has been getting about 50,000 messages a day to invalid addresses in what appears to be a distributed dictionary attack for the last several years. What qmail did with them was no fun at all. I've got to say, the most effective qpsmtpd plugin

Re: Don't run plugins for connections from localhost

2007-01-18 Thread Robin Bowes
Charlie Brady wrote: On Thu, 18 Jan 2007, Robin Bowes wrote: So, if I understand it correctly, I would: - move config/plugins to config/peers/0 (this is the default) - create config/peers/127.0.0.1 containing a minimal set of plugins for connections from localhost Is this correct? Yes

Don't run plugins for connections from localhost

2007-01-17 Thread Robin Bowes
Hi, I'm using trac and sending mail notifications via qpsmtpd. However, the qpsmtpd plugins are slowing trac ticket commits down considerably. How would I configure qpsmtpd to not run plugins for connections from localhost? Thanks, R.

Re: Don't run plugins for connections from localhost

2007-01-17 Thread Robin Bowes
Charlie Brady wrote: On Wed, 17 Jan 2007, Robin Bowes wrote: I'm using trac and sending mail notifications via qpsmtpd. However, the qpsmtpd plugins are slowing trac ticket commits down considerably. How would I configure qpsmtpd to not run plugins for connections from localhost? See

Re: Don't run plugins for connections from localhost

2007-01-17 Thread Robin Bowes
Robin Bowes wrote: Charlie Brady wrote: On Wed, 17 Jan 2007, Robin Bowes wrote: I'm using trac and sending mail notifications via qpsmtpd. However, the qpsmtpd plugins are slowing trac ticket commits down considerably. How would I configure qpsmtpd to not run plugins for connections from

Re: handle multiple recipients differently?

2007-01-14 Thread Robin Bowes
Peter J. Holzer wrote: On 2007-01-14 02:19:27 +0100, Joe Knall wrote: You are right, I checked it with telnet, it's the way you said! After receiving 550 for one RCPT TO the client seems to have given up, the hooks do as supposed to. Gonna hack on with telnet from now on :) I recommend

Re: Future of the wiki in 2007?

2007-01-04 Thread Robin Bowes
Michael Holzt wrote: As some of you might or might now know, i'm the holder of the qpsmtpd.org domain and also host the qpsmtpd wiki on wiki.qpsmtpd.org. Now while the wiki still seems to be a good idea, i've noticed that there have been next to no contributions to it lately. This is a bit of

Re: Future of the wiki in 2007?

2007-01-04 Thread Robin Bowes
Guy Hulbert wrote: There are better python wikis than trac. In particular moin-moin is quite close to the present docu-wiki. Moin-moin versus trac: http://www.wikimatrix.org/compare/MoinMoin+TracWiki Trac is missing a lot. I don't entirely disagree, but trac is more than just a wiki -

Re: qmail port

2007-01-03 Thread Robin Bowes
Marcus Brim wrote: IMO, nobody should run qmail's smtp daemon these days. I run it in the configuration that Charlie's asking about, and it seems to work well. Forwards to port 2525 where qmail picks it up. If there's a better way to run qpsmtpd without qmail, please post - I'd be

Re: Hardware failure

2006-11-16 Thread Robin Bowes
John Peacock wrote: Just FYI - The drive on my primary [Linux] dev machine failed on Friday (tick, tick, tick). I can recommend RAID1 :) R.

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-24 Thread Robin Bowes
John Peacock wrote: Brian Szymanski wrote: The problem is this: $mechanism has been made lowercase, and keys of %auth_mechanisms have all been made uppercase. I swear that I tested this, but I had two different changes in my working copy and I backed out both and applied one at a time, so I

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-24 Thread Robin Bowes
John Peacock wrote: Robin Bowes wrote: I'm now getting a 500 Internal server error when trying to authenticate: OK, I think I've finally figured out the tangled web: 1) the keys of %auth_mechanism are used to display the capabilities string, so by convention, they are all displayed upper

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-23 Thread Robin Bowes
Brian Szymanski wrote: Can you send a copy of your config/plugins and any custom auth/ plugins you are using? Sure. See attached. The patch is quite simple, I'd be quite surprised if it turns out to be a bug in the code - more likely the patch (me) or your auth plugins made some bad

WTF does this do???

2006-09-22 Thread Robin Bowes
Hi, Sometime ago I wrote this code in my check_validrcptto_cdb plugin: sub register { my ( $self, $qp, %args ) = @_; $self-{_cdb_file} = q{config/validrcptto.cdb}; if ( defined( $args{cdb_file} ) ) { if ( $args{cdb_file} =~ /^\d+$/ ) { $self-{_cdb_file} =

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-22 Thread Robin Bowes
John Peacock wrote: Brian Szymanski wrote: Summary: qpsmtpd tries to get authentication information for methods which it has no registered hooks. To follow up, I committed a change based on your patch, but with the %auth_mechanisms has as a package global as I discussed. John, This has

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-22 Thread Robin Bowes
Robin Bowes wrote: John Peacock wrote: Brian Szymanski wrote: Summary: qpsmtpd tries to get authentication information for methods which it has no registered hooks. To follow up, I committed a change based on your patch, but with the %auth_mechanisms has as a package global as I discussed

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-22 Thread Robin Bowes
Robin Bowes wrote: Hmmm. I svn up'd back to 660 to check out some things and now when I try to svn -r 559 up I get this error: # svn -r 559 up svn: REPORT request failed on '/qpsmtpd/!svn/vcc/default' svn: Cannot replace a directory from within What's up? Ignore me - 559 != 659 R.

Re: Subject: patch for correct behavior with unimplemented auth mechanisms

2006-09-22 Thread Robin Bowes
Robin Bowes wrote: John Peacock wrote: Brian Szymanski wrote: Summary: qpsmtpd tries to get authentication information for methods which it has no registered hooks. To follow up, I committed a change based on your patch, but with the %auth_mechanisms has as a package global as I discussed

Re: system capacity

2006-09-20 Thread Robin Bowes
Matt Sergeant wrote: I seriously recommend you check out running under Apache. I suspect it's the fastest way to run qpsmtpd (barring experimenting with the poll server). It's how apache.org have been running qpsmtpd for a long time now. Matt, Can you point me at a document describing how

Re: system capacity

2006-09-20 Thread Robin Bowes
Matt Sergeant wrote: On 20 Sep 2006, at 05:34, Robin Bowes wrote: Can you point me at a document describing how to set this up? There's pod documentation in the .pm file itself. Basically you need Apache2 and mod_perl2 installed, and then you just add something like this to httpd.conf

Re: Repeated mail from hotmail

2006-08-28 Thread Robin Bowes
Charlie Brady wrote: On Sat, 26 Aug 2006, Robin Bowes wrote: I sent my sister a msg containing a large (1.5MB) text file attachment. She replied and hotmail quoted the entire text file below her (one line) reply. I'll be having words with her about trimming quotes but, in the meantime

Re: Repeated mail from hotmail

2006-08-28 Thread Robin Bowes
Peter J. Holzer wrote: On 2006-08-28 02:07:06 -0400, Charlie Brady wrote: On Sat, 26 Aug 2006, Robin Bowes wrote: [...] Hotmail is resending her reply to me again and again, complete with the first 438Kb of the message. I don't see a success status being returned to hotmail at the end

Re: Repeated mail from hotmail

2006-08-28 Thread Robin Bowes
Matt Sergeant wrote: On 28-Aug-06, at 1:05 PM, Robin Bowes wrote: That's my interpretation of what happened - hotmail gives up after a certain period of time and re-tries later. So forkserver needs a SIGPIPE handler? Sorry, I don't understand. How would that help? Ah, you mean cancel

Repeated mail from hotmail

2006-08-26 Thread Robin Bowes
Hi, I sent my sister a msg containing a large (1.5MB) text file attachment. She replied and hotmail quoted the entire text file below her (one line) reply. I'll be having words with her about trimming quotes but, in the meantime ... Hotmail is resending her reply to me again and again, complete

Re: Persistent backend connections in plugins

2006-08-09 Thread Robin Bowes
Emmanuel Lacour wrote: If it is possible to keep this connection for more than one message, this would be great :) But I really can't see how to do that :( I ran into a similar issue with MySQL connections. The trouble is that there are several instances of qpsmtpd so any persistent

Re: Account testing in Outlook fails with check_basicheaders

2006-06-30 Thread Robin Bowes
Michael Holzt wrote: c.) Reintroduce per-user-configuration and make it part of the core. Ok, ok, i'm somewhat confused. Shouldn't write emails while peeking with one eye at the world cup game (at which we germans are at risk to get kicked out). Nah, you'll get to the final, only to be

Re: Patch max_rcpt

2006-06-20 Thread Robin Bowes
Michael Holzt wrote: The trick is to use anchors: /\A \d+ \z/. Whats \A and \z? Wouldn't be /^\d+$/ sufficient? Aha, someone who has yet to read PBP! [1] \A start of string \z end of string Also, Conway recommends always using the /x /m /s flags, so the above regex would be: /\A \d+

Perl regex standards (was:Re: Patch max_rcpt)

2006-06-20 Thread Robin Bowes
Juerd wrote: Robin Bowes skribis 2006-06-20 13:01 (+0100): Also, Conway recommends always using the /x /m /s flags, so the above regex would be: /\A \d+ \z/xms I unreservedly recommend this book. Let's not discuss this in too much detail, Heh, you hope. :) but my strong opinion

Re: Perl regex standards

2006-06-20 Thread Robin Bowes
Juerd wrote: Robin Bowes skribis 2006-06-20 14:16 (+0100): Let's not discuss this in too much detail, but my strong opinion is that including /xms by default is a very bad idea. Use them when you *need* them, and only then. Why do you think that? It's carco cult programming. ? Ah, car*g

Re: pollserver status?

2006-06-16 Thread Robin Bowes
Matt Sergeant wrote: On 15-Jun-06, at 3:37 PM, Brian Grossman wrote: Thanks both of you. I'll rebase mine to trunk. Yup. I have a feeling I stumbled across a perl bug or something. I got very strange happenings in my server. I want to try again with a more recent perl at some point, but

Re: [PATCH] High-performance qpsmtpd daemon

2006-05-31 Thread Robin Bowes
John Peacock wrote: Lars Roland wrote: This would be ideal in order to minimize code duplication and give users maximum choice (supervice/rnuit/deamonize/...). OK, I committed the code that Lars submitted (with my little change), then I applied the patch that Matt proposed (minus some

Re: Wiki update

2006-04-03 Thread Robin Bowes
John Wang wrote: Feel free to add to, modify, or remove from the wiki since you seem to really care about DJB's exact syntax and unreferenced / incompatible licensing requirements. In any event, the current instructions work and I've decided stay away, far away, from DJB code after all of

Re: Wiki update

2006-04-02 Thread Robin Bowes
Charlie Brady wrote: On Sun, 2 Apr 2006, John Wang wrote: I did a brief update of several pages, primarily due to the install issues I mention on the tcpserver page: http://wiki.qpsmtpd.org/tcpserver http://wiki.qpsmtpd.org/daemontools http://wiki.qpsmtpd.org/inetd Please check for

Re: Apache::Qpsmtpd

2006-04-02 Thread Robin Bowes
Matt Sergeant wrote: On 2-Apr-06, at 1:13 AM, John Wang wrote: Also, are there any known problems with Apache::Qpsmtpd aside from not working with check_earlytalker. I've read that apache.org uses Apache::Qpsmtpd so I assume it's reasonably stable. Is this true? The post also indicates

Re: How to configure qpsmtpd with pperl

2006-04-01 Thread Robin Bowes
John Wang wrote: I'm trying to get qpsmtpd working with pperl and was wondering how to do it. I tried following the README instructions by commenting out the softlimit/tcpserver line and replacing it with the pperl line: pperl -Tw -- --prefork=$MAXCLIENTS --maxclients=$MAXCLIENTS \

Migration mail server

2006-03-22 Thread Robin Bowes
Hi, I'm about to do a mail server migration. This is a hardware upgrade, i.e. the software will remain pretty much the same (qmail,vpopmail,bincimap,qpsmtpd, etc). I'm thinking about how best to do the cutover between mail servers. At some stage, I want to stop mail being delivered to server A

Re: Migration mail server

2006-03-22 Thread Robin Bowes
Matt Sergeant wrote: If so, I've been thinking of how best to re-direct any connections arriving at server A over to server B. plugins/queue/smtp-forward ? You know, I was thinking about writing something that did this, maybe using qmqp. I'll check out smtp-forward and see if I can

Re: Migration mail server

2006-03-22 Thread Robin Bowes
Robin Bowes wrote: Matt Sergeant wrote: If so, I've been thinking of how best to re-direct any connections arriving at server A over to server B. plugins/queue/smtp-forward ? You know, I was thinking about writing something that did this, maybe using qmqp. I'll check out smtp-forward

Re: Logging of message receiver (Qpsmtpd 0.28)

2006-03-21 Thread Robin Bowes
John Peacock wrote: Timo wrote: I'm using Qpsmtpd 0.28 and a while ago I changed my loglevel from 8 to 7 and after that change receivers email address wasn't shown in the log anymore. What you changed is fine; I committed something like that to the core some time ago. On that note,

Re: logging concurrent connection count

2006-03-17 Thread Robin Bowes
[EMAIL PROTECTED] wrote: On Fri, 17 Mar 2006, Robin Bowes wrote: I still see those messages: 2006-03-17 17:08:13.322595500 23910 Accepted connection 0/20 from 70.84.143.100 / lists.rubyonrails.org I'm using LOGNOTICE = 5 and it doesn't show up. I am also using the qpsmtpd

Re: clamav - specify a different config file

2006-03-16 Thread Robin Bowes
Ask Bjørn Hansen wrote: On Mar 15, 2006, at 5:21 PM, Robin Bowes wrote: Ok, attached is a patch that adds an additional parameter (clamd_conf) to the clamav plugin. It is used as follows: virus/clamav clamscan_path=/usr/bin/clamdscan clamd_conf=/etc/clamd.d/qpsmtpd.conf action=reject

Re: clamav - specify a different config file

2006-03-15 Thread Robin Bowes
. Robin Bowes said the following on 16/11/2005 20:45: Hi, I'm trying to get qpsmtpd + clamav setup on a new FC4 install. The clamav install has changed recently and I'm try to get to grips with how to get it working with qpsmtpd. For example, it is recommended to set up individual clamd

dnsbl pod wrong

2006-03-14 Thread Robin Bowes
Just noticed that the dnsbl plugin has two lots of pod - the one at the top of the file is from the spamassassin plugin and should be deleted. R.

Using MySQL persistently with plugin

2006-03-10 Thread Robin Bowes
Hi, I'm writing an accepted plugin using the queue_post hook recently added. I'm doing something like this: = sub init { my ( $self, $qp ) = @_; use DBI; my $dsn='DBI:mysql:database=qpsmtpd;host=localhost'; my

Re: Split plugins dir

2006-03-08 Thread Robin Bowes
[EMAIL PROTECTED] wrote: What I do is copy 'plugin' to 'pluginnew' and have an appropriate entry in my config/plugins file, but only one gets run at a time. I can make changes to 'pluginnew', test it by changing which is commented and which is run, in the config/plugins file, and when

  1   2   3   >