qmail-smtpd-viruscan ?

2004-07-12 Thread Robin Bowes
Hi, I'm just getting started with qpsmtpd having run stock qmail for some years. I wonder, has anyone written a plugin that replicates Russ Nelson's qmail-smtpd-viruscan functionality (http://qmail.plig.org/qmail-smtpd-viruscan-1.3.patch) ? i.e. something that "looks at the first line of MIME

Re: qmail-smtpd-viruscan ?

2004-07-13 Thread Robin Bowes
On Tue, July 13, 2004 8:05, Hans Sandsdalen said: > Hi > > > I'm using qmail-smtpd, but are evaluating qpsmtpd. I found exe_filter > here: http://www.openfusion.com.au/labs/qpsmtpd/ > Hans, Thanks. I'll give it a shot. R. -- http://robinbowes.com

Re: qmail-smtpd-viruscan ?

2004-07-13 Thread Robin Bowes
On Tue, July 13, 2004 16:20, Mark Powell said: > On Tue, 13 Jul 2004, Robin Bowes wrote: >> I'm just getting started with qpsmtpd having run stock qmail for some years. >> > > Welcome, wanderer :) ;o) I roam around, around, etc. etc. >> I wonder, has anyone

Couple of issues with qpsmtpd

2004-07-20 Thread Robin Bowes
Hi, I've run into a couple of issues with qpsmtpd that I'd like some help with (I'm back on qmail-smtpd until I can sort these problems) Problem 1 = qpsmtpd bounces qsecretary messages from the [EMAIL PROTECTED] mailing list Here's the debug log for such a message: 2004-07-20 12:55:39.

Re: Couple of issues with qpsmtpd

2004-07-20 Thread Robin Bowes
On Tue, July 20, 2004 13:21, Robin Bowes said: > Problem 2 > = > The MTA running on sourceforge seems to reverse resolve the domain in the envelope > sender address, look up the MX record for that domain and attempt to connect to an > server at that address. If it can

Re: Couple of issues with qpsmtpd

2004-07-20 Thread Robin Bowes
On Tue, July 20, 2004 13:48, Ask Bjørn Hansen said: > On Jul 20, 2004, at 5:21 AM, Robin Bowes wrote: > > >> I've run into a couple of issues with qpsmtpd that I'd like some help >> with (I'm back on qmail-smtpd until I can sort these problems) > >

"keeping" all mail bounced by qpsmtpd?

2004-07-20 Thread Robin Bowes
Hi, Is there some way to "keep" all messages that were/would have been bounced by qpsmtpd? I'd like to do this while I'm trialling qpsmtpd so I don't lose any important mail. Any suggestions? R. -- http://robinbowes.com

Re: 'keeping' all mail bounced by qpsmtpd?

2004-07-20 Thread Robin Bowes
On Tue, July 20, 2004 19:58, Matt Sergeant said: > On 20 Jul 2004, at 14:24, Robin Bowes wrote: > > >> Is there some way to "keep" all messages that were/would have been >> bounced by qpsmtpd? >> >> I'd like to do this while I'm tr

Re: Couple of issues with qpsmtpd

2004-07-20 Thread Robin Bowes
On Tue, July 20, 2004 14:22, Robin Bowes said: > > I was using an older snapshot of the CVS version. I've upgraded to the latest version > and it seems to have fixed the problem. (Thanks Mr. P!) > Hmmm. Still having problems. Here's the log for a message sent to my

denylog - logging denied mail to separate file

2004-11-17 Thread Robin Bowes
Hi, I'm using Michael Holzt's denylog plugin which works well but I would like to log denied mail somewhere other than the qpsmtpd log file. I'd also like to have all the information in a single line but that's trivial. One quick hack would be to simply write to a file instead of writing to the

clamav plugin

2004-11-17 Thread Robin Bowes
Hi, I've just installed clamav and configured the clamav plugin. I ran into a couple of problems which I thought I'd share with you. 1. I installed clamav from an rpm (http://crash.fce.vutbr.cz/crash-hat/1/clamav/clamav-0.80-2.i386.rpm). By default, this runs clamd as the user clamav. This means

Loads of warnings "trying to get config for timeout"

2004-11-17 Thread Robin Bowes
Hi, Whilst debugging my clamav problems (see separate post) I had the loglevel up at 8. I noticed loads of these messages: 2004-11-18 01:36:24.373353500 26704 trying to get config for timeout 2004-11-18 01:36:24.373992500 26704 trying to get config for timeout 2004-11-18 01:36:24.374631500 26704

Re: Loads of warnings "trying to get config for timeout"

2004-11-18 Thread Robin Bowes
Matt Sergeant wrote: On 18 Nov 2004, at 01:57, Robin Bowes wrote: Hi, Whilst debugging my clamav problems (see separate post) I had the loglevel up at 8. I noticed loads of these messages: 2004-11-18 01:36:24.373353500 26704 trying to get config for timeout 2004-11-18 01:36:24.373992500 26704

Re: Loads of warnings "trying to get config for timeout"

2004-11-18 Thread Robin Bowes
Matt Sergeant wrote: On 18 Nov 2004, at 08:22, Robin Bowes wrote: I'm actually using a very recent CVS version - checkecd out on 17th November 2004 at about 17;40 GMT. In fact, I've just run a cvs update and I'm totally up-to-date. In that case it's a bug :-) Anything

Re: Loads of warnings "trying to get config for timeout"

2004-11-19 Thread Robin Bowes
Matt Sergeant wrote: On Thu, 18 Nov 2004, Robin Bowes wrote: Matt Sergeant wrote: On 18 Nov 2004, at 08:22, Robin Bowes wrote: I'm actually using a very recent CVS version - checkecd out on 17th November 2004 at about 17;40 GMT. In fact, I've just run a cvs update and I'm totally

Re: Loads of warnings "trying to get config for timeout"

2004-11-19 Thread Robin Bowes
Matt Sergeant wrote: On 19 Nov 2004, at 08:14, Robin Bowes wrote: Ah, I see. Letme know when you check in the updated code and I'll give it a whirl. Done. ..and checked out. Did you also modify the clamav plugin as per my other recent post? R. -- http://robinbowes.com

Re: dspam considered as an example of a shared-corpus statistical

2005-02-16 Thread Robin Bowes
John Peacock wrote: Justin Mason wrote: wow -- that's massive! ;) How many users does that account for? ~400 users, some of whom get lots of e-mail. Since inception (August 2004) I have personally received the following: DSPAM has caught 33343 spams ...learned 292 spams ...scanned

Re: dspam considered as an example of a shared-corpus statistical

2005-02-16 Thread Robin Bowes
John Peacock wrote: Robin Bowes wrote: I use bogofilter and I don't get *any* false positives! Bully for you then! ;-) :) bogofilter is another one of those solutions which was designed to work well for individuals, but doesn't scale terrifically well for large numbers of people (for

Re: clamav plugin broken

2005-02-24 Thread Robin Bowes
John Peacock wrote: Peter Eisch wrote: The newer clamav (0.80 I think) changed the way some things are done. Here's my line for how it's called which works quite nicely: my $cmd = $self->{_clamscan_loc}." --stdout --disable-summary $filename 2>&1"; The -i has been deprecated. FWIW, I just committ

Re: clamav plugin broken

2005-02-24 Thread Robin Bowes
John Peacock wrote: > Robin Bowes wrote: > >> (whoops - to the list this time, witg debug level=9) >> >> Two things: >> >> 1. where is back_compat set? > > > Like every other option, on the config/plugins line: > >> virus/clamav clamscan_path

Re: clamav plugin broken

2005-02-24 Thread Robin Bowes
John Peacock wrote: Robin Bowes wrote: OK, I've changed to "User smtpd" in /etc/clamd/conf. It seems to work OK now. Great! I improved the documentation and added a little code tweak which should fix it so you can run with user clamav, as long as that user is a member of the same

Re: clamav plugin broken

2005-02-24 Thread Robin Bowes
John Peacock wrote: Robin Bowes wrote: usermod -G smtpd clamav chmod g+x /home/smtpd /home/smtpd/tmp That should be: chmod g+r /home/smtpd/tmp OK, changed to that. you should't /need/ to change the parent directory. clamd only needs group _read_ access to the folder. For testing purposes,

Re: clamav plugin broken

2005-02-24 Thread Robin Bowes
John Peacock wrote: John Peacock wrote: Robin Bowes wrote: usermod -G smtpd clamav Oh, and another thing. Did you stop and restart clamd after changing the group??? For testing, I build clamav with --enable-debug, so I get lots of useful information in the log file, including the UID/GID it

Switching to latest SVN version

2005-04-01 Thread Robin Bowes
Hi, I'm currently looking at switching over to the latest SVN version (402) from an older CVS version of qpsmtpd (0.28 or 0.29 - not sure as 0.29 is listed in the Changes file, but qpsmtpd reports 0.28 when I telnet to port 25). I'm aware that the logging has changed - I'd like to setup adaptive

Re: Switching to latest SVN version

2005-04-01 Thread Robin Bowes
On Fri, April 1, 2005 15:46, John Peacock said: > Robin Bowes wrote: > >> I'm aware that the logging has changed - I'd like to setup adaptive >> logging - and I use clamav. > > Here's my upgrade procedure (somewhat simplified): John, Thanks, I'll g

smtp auth with vpopmail

2005-05-09 Thread Robin Bowes
Hi, Can anyone point me at a "how-to" guide for using smtp auth with qpsmtpd and vpopmail? Thanks, R.

Re: smtp auth with vpopmail

2005-05-10 Thread Robin Bowes
John Peacock wrote: Robin Bowes wrote: Can anyone point me at a "how-to" guide for using smtp auth with qpsmtpd and vpopmail? 1) Are you running vpopmail with MySQL? No. 2) If YES on #1, did you compile vpopmail with the [recommended] "--enable-clear-passwd=y" option?

Re: smtp auth with vpopmail

2005-05-10 Thread Robin Bowes
Bob wrote: Robin Bowes wrote: Hi, Can anyone point me at a "how-to" guide for using smtp auth with qpsmtpd and vpopmail? Thanks, R. So far qpsmtpd has auth plugins to do lookups in a flat file, consult an ldap server, or sql. How does vpopmail store your user database? Bob, vpopm

Re: smtp auth with vpopmail

2005-05-10 Thread Robin Bowes
Robin Bowes wrote: > Bob, vpopmail uses a passwd-like flat file, hashed into a cdb for speed. A sample line is as follows: robin:"encrypted password":1:0:Robin Bowes:/home/vpopmail/domains/ robinbowes.com/robin:NOQUOTA:"plain text password" This file is in /home/vpopmail

Re: SMTP auth checkpassword plugin

2005-06-07 Thread Robin Bowes
Michael Holzt wrote: I've programmed an plugin for the SMTP auth system which can use a regular checkpassword binary. One need to configure the full path of the binary in config file 'smtpauth-checkpassword'. The code is attached. Picking up on rather an old thread here... Am I right in thinki

Re: SMTP auth checkpassword plugin

2005-06-07 Thread Robin Bowes
chael, I posted the following to the list on 10th May: Robin Bowes wrote: Thinking a little further about this, how about a plugin that interfaces to various checkpassword implementations, i.e. runs an external program with a username/password pair and returns success or fail depending on the exit

Re: Loop detection

2005-06-20 Thread Robin Bowes
Keith Ivey wrote: I had another situation where a message was looping forever, being repeatedly delivered from my server to itself, and causing a high load. The problem is that the MX record looks like this: conservation.com. 3600IN MX 1000 0.0.0.0. I've previously encoun

Re: trunk - time to run perltidy?

2005-07-16 Thread Robin Bowes
Ask Bjørn Hansen wrote: I was going to suggest waiting for Robert to sync the perl.org installation; but he can just sync to 0.31. Does it do if (...) { ... } else { ... } or if (...) { ... } else { ... } In the general case I find the latter much better. I believe it can do eith

Re: MX pointing to localhost

2005-07-28 Thread Robin Bowes
Keith Ivey wrote: Hanno Hecker wrote: we had some (smaller) troubles with a spammer sending mails with a resolvable MX, but that MX pointed to 127.0.0.1... after blacklisting these sending IP for a short time I added a check to the require_resolvable_fromhost plugin... I used to have my req

Re: Switching to latest SVN version

2005-08-23 Thread Robin Bowes
John Peacock wrote: I'm in the midst of rolling out the following: logging/adaptive accept LOGERROR reject LOGDEBUG prefix ! and I'm going to use multilog's filtering to store the good mail (without a !) in seperate log files from the bad mail (guess). John, I've finally got round to lo

Re: Switching to latest SVN version

2005-08-23 Thread Robin Bowes
Charlie Brady wrote: On Tue, 23 Aug 2005, Robin Bowes wrote: In the pod for the logging/adaptive plugin, you suggest changing the log run file to (something like): #! /bin/sh export LOGDIR=./main mkdir -p $LOGDIR/failed exec multilog t n10 \ '-*` *' $LOGDI

Re: 0.31 released

2005-11-16 Thread Robin Bowes
Peter J. Holzer said the following on 16/11/2005 15:04: > > RPM packages based on RC3 are available from > http://www.hjp.at/apt/redhat/RPMS.qpsmtpd/ [snip] > I also haven't cleaned up the architecture for the plugin RPMs yet: Most > still claim to be for i386 instead of noarch. I can be convinc

clamav - specify a different config file

2005-11-16 Thread Robin Bowes
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 instances for each application. This is good in that I can cre

Re: clamav - specify a different config file

2005-11-16 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 i

Help me understand adaptive logging

2005-11-16 Thread Robin Bowes
Hi, I'm trying to use adaptive logging on a new qpsmtpd install and I'm not sure I understand what it's supposed to be doing. My qpsmtpd log run file is setup as follows: #! /bin/sh LOGDIR=/var/log/qpsmtpd PREFIX='`' mkdir -p $LOGDIR/detailed mkdir -p $LOGDIR/accepted chown -R qmaill:qmail $LOGD

Re: Help me understand adaptive logging

2005-11-20 Thread Robin Bowes
John Peacock wrote: > Robin Bowes wrote: > >>I was expecting to get little or no output in the detailed log for a >>message that was delivered successfully. > > > No, the detailed log is exactly like running the standard logging with > LOGDEBUG. > My initial

Re: Help me understand adaptive logging

2005-11-20 Thread Robin Bowes
Robin Bowes wrote: >> Michael Holtz's denylog plugin may be of some use. Perhaps I can >> modify that to write a leading character to each line logged and >> filter into a separate log file using multilog? OK, I've revisited this. Am I right in thinking that to rec

check_delivery plugin

2005-11-21 Thread Robin Bowes
Hi, Can anyone point me at the latest version of the check_delivery plugin? I've checked the list archives and found this: http://www.redhotpenguin.com/check_delivery Is that the latest? Thanks, R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still

Re: Help me understand adaptive logging

2005-11-21 Thread Robin Bowes
John Peacock said the following on 21/11/2005 14:32: > Robin Bowes wrote: > >> Am I right in thinking that to recreate denylog using adaptive I just >> need to add code to the sub hook_deny? > > > Yes, I believe that should be sufficient. If you do this, send it to

Re: clamav - specify a different config file

2005-11-21 Thread Robin Bowes
Anybody had chance to check this yet? R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still wrong?

Re: check_delivery plugin

2005-11-22 Thread Robin Bowes
Fred Moyer said the following on 21/11/2005 23:28: > Robin Bowes wrote: > >> Hi, >> >> Can anyone point me at the latest version of the check_delivery plugin? >> >> I've checked the list archives and found this: >> >> http://www.redh

Re: clamav - specify a different config file

2005-11-22 Thread Robin Bowes
Robert Spier said the following on 22/11/2005 01:05: >>Anybody had chance to check this yet? > > > I thought I sent a note. > > I don't like the 'clamd_conf' parameter name. We already know it's > for clamav. Just call it 'conf' ? If you follow the same reasoning, you might argue that 'clamsc

Errors from spamassassin plugin

2005-11-22 Thread Robin Bowes
Hi, I'm seeing the following errors from the spamassassin plugin: @400043830dae2c91c464 Use of uninitialized value in substitution (s///) at ./plugins/spamassassin line 188, line 4. @400043830dae2c9b3e2c Use of uninitialized value in concatenation (.) or string at ./plugins/spamassassin

Re: Help me understand adaptive logging

2005-11-22 Thread Robin Bowes
Robin Bowes said the following on 21/11/2005 16:40: > John Peacock said the following on 21/11/2005 14:32: > >>Robin Bowes wrote: >> >> >>>Am I right in thinking that to recreate denylog using adaptive I just >>>need to add code to the sub hook_d

Re: clamav - specify a different config file

2005-11-22 Thread Robin Bowes
Robert Spier said the following on 22/11/2005 15:47: >>>I don't like the 'clamd_conf' parameter name. We already know it's >>>for clamav. Just call it 'conf' ? >> >>If you follow the same reasoning, you might argue that 'clamscan_path' >>should be just 'path'. > > Actually, I'd argue that it sho

Re: Help me understand adaptive logging

2005-11-22 Thread Robin Bowes
Robin Bowes said the following on 22/11/2005 16:17: > However, the following doesn't work: > > warn "$self->{_rejectprefix} tcp client: > $self->qp->connection->remote_host [$self->qp->connection->remote_ip]\n"; > > Is the remote host/ip inf

Re: Help me understand adaptive logging

2005-11-22 Thread Robin Bowes
Robin Bowes said the following on 22/11/2005 16:53: > Robin Bowes said the following on 22/11/2005 16:17: > >>However, the following doesn't work: >> >> warn "$self->{_rejectprefix} tcp client: >>$self->qp->connection->remote_host [$self->qp

Re: Errors from spamassassin plugin

2005-11-22 Thread Robin Bowes
Ask Bjørn Hansen develooper.com> writes: > On Nov 22, 2005, at 4:29 , Robin Bowes wrote: > > > I'm seeing the following errors from the spamassassin plugin: > > > > 400043830dae2c91c464 Use of uninitialized value in substitution > > (s///) at ./

Re: clamav - specify a different config file

2005-11-23 Thread Robin Bowes
Robert Spier said the following on 23/11/2005 08:04: > >>"bikeshed" - not heard that expression before. > > > http://producingoss.com/html-chunk/bikeshed-full.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#BIKESHED-PAINTING Gotcha. >>Anyway, like I said, I don't really m

Re: Help me understand adaptive logging

2005-11-24 Thread Robin Bowes
John Peacock said the following on 22/11/2005 19:44: > Can you please type slower? I'm having trouble keeping up with your > posts... ;-) Heh - I'm having a bit of a push getting my mail setup sorted at the moment as I'm about to implement for a client. > Robin Bowe

Re: Errors from spamassassin plugin

2005-11-24 Thread Robin Bowes
John Peacock said the following on 22/11/2005 20:38: > Robin Bowes wrote: > >> I'm following up John's suggestion that I need to tell spamassassin to >> return details of the tests after "Spam: True ". However, I >> can't see where this is config

smtp auth with vpopmail

2005-11-24 Thread Robin Bowes
Hi, I need to provide smtp auth with qpsmtpd and vpopmail. I tried modifying the auth_checkpassword plugin to use vchkpw but I couldn't get it to work. I did notice an anomally with the printf call. The following illustrates what might be the problem: $ perl -e 'printf "%s\0%s\0Y123456\0","[EMAI

Re: smtp auth with vpopmail

2005-11-24 Thread Robin Bowes
Juerd said the following on 24/11/2005 12:03: > Robin Bowes skribis 2005-11-24 11:50 (+): > >>$ perl -e 'printf "%s\0%s\0Y123456\0","[EMAIL PROTECTED]","password"' >>robin.compasswordY123456 >>i.e. the @ sign causes something

Plugin output to log

2005-11-25 Thread Robin Bowes
Hi, I've been using "warn" to produce output from my mods to the adaptive logging plugin, e.g.: # message size, if > 0 my $mail_size = $transaction->body_size || 0; warn $self->{_rejectprefix} . ' mail size:' . $mail_size . " bytes\n"; Looking th

Re: Plugin output to log

2005-11-25 Thread Robin Bowes
Robin Bowes said the following on 25/11/2005 16:54: > Of course, the logging plugin is the one procesing the logging so the > log method won't work, will it? I'm now using this code: warn( $self->{_rejectprefix} . ' ' . join ",", ${

Re: Plugin output to log

2005-11-25 Thread Robin Bowes
John Peacock said the following on 25/11/2005 19:44: > Robin Bowes wrote: > >>Any suggestions as to the best way to log all this information on a >>single line so it can be easily parsed by a script for statistical purposes? > > > When I wrote the adaptive logging f

Re: Plugin output to log

2005-11-25 Thread Robin Bowes
John Peacock said the following on 25/11/2005 19:44: > Robin Bowes wrote: > >>Any suggestions as to the best way to log all this information on a >>single line so it can be easily parsed by a script for statistical purposes? > > > When I wrote the adaptive logging f

Re: Plugin output to log

2005-11-26 Thread Robin Bowes
John Peacock said the following on 26/11/2005 21:57: > Matt Sergeant wrote: > >>If we want logging to be parse-able by anything, the perhaps we should >>consider the option of outputting key/value pairs, probably separated by >>equals signs. >> >>That's kind of horrible for anyone adding in ad-hoc

Re: Plugin output to log

2005-11-26 Thread Robin Bowes
John Peacock said the following on 26/11/2005 23:18: > Robin Bowes wrote: > >>Right. I'd like to end up with three files: I thought it would be useful to state why I want this: >>1. normal log file For "normal" debugging, information, etc. >>2. accept

Re: Plugin output to log

2005-11-27 Thread Robin Bowes
John Peacock said the following on 27/11/2005 03:01: > Robin Bowes wrote: > >>Is it possible to call the subs in the parent plugin? > > > That's in the example in the README.plugins: > > $self->SUPER::hook_reset_transaction( $transaction, @args ); Ah, OK.

pperl? high_perf?

2005-11-28 Thread Robin Bowes
Hi, I've got a client on an underpowered box (Duron 1100) on whcih I'm running qpsmtpd 0.31. Load averages are ~5 permanently with 50/50 tcpserver connections. I'm using the following run command: #!/bin/sh QMAILDUID=`id -u qpsmtpd` NOFILESGID=`id -g qpsmtpd` PORT=25 MAXSMTPD=`cat /var/qmail/con

Re: pperl? high_perf?

2005-11-29 Thread Robin Bowes
John Peacock said the following on 29/11/2005 02:41: > > My advice mirrors Ask's; here is my run file: > > #!/bin/sh > exec 2>&1 \ > envdir ./env \ > sh -c ' > exec \ > softlimit ${DATALIMIT+"-d$DATALIMIT"} \ > ${PERL-perl} -T ./qpsmtpd-forkserver \ > --listen-address

Re: pperl? high_perf?

2005-11-29 Thread Robin Bowes
Ok, answering my own questions here :) qppoprelay seems to do what I need: http://qpsmtpd.kju.de/qpsmtpd/created_by_me/qppoprelay/ Michael, you might like to add to the install notes that you need to have suidperl installed to run qppoprelay-unlock. Also, if you're using softlimit, you'

Re: pperl? high_perf?

2005-11-29 Thread Robin Bowes
John Peacock said the following on 29/11/2005 02:41: > Don't bother (as Ask says); run forkserver instead. My primary MX boxes are > Cobalt RaQ3's which are about as lightweight as you can get (AMD-K6 @998 > bogomips). Try to max out the RAM, though, since it is usually dirt cheap for > older box

Re: pperl? high_perf?

2005-11-29 Thread Robin Bowes
Matt Sergeant said the following on 29/11/2005 13:38: > On 28 Nov 2005, at 21:41, John Peacock wrote: > >>> Is it worth me trying the high_perf branch? >> >> >> The high_perf branch was merged to trunk and currently doesn't >> function as a >> complete system (like tags/0.31 does) since not all of

Re: pperl? high_perf?

2005-11-30 Thread Robin Bowes
John Peacock said the following on 29/11/2005 18:01: > Robin Bowes wrote: > >> One thing: I currently use tcpserver to enable relaying using >> pop-before-smtp, i.e.: >> >> -x /etc/tcp.smtp.cdb >> >> Is there anyway to do this using qpsmtpd-forkserve

Re: pperl? high_perf?

2005-11-30 Thread Robin Bowes
David Nicol said the following on 30/11/2005 20:15: > pop-before-smtp implies two things: > > 1: the pop server maintains a table of good remote peer IP addresses > > 2: the smtp system is able to consult that table when making a relay decision > > Writing a forkserver-suitable plugin that does

Re: Problem sending

2005-11-30 Thread Robin Bowes
John Peacock said the following on 30/11/2005 20:17: > Matt Sergeant wrote: > >> I still need to do some work on the logging - it currently only logs >> the fd# with the lines to distinguish them. So you have to find the >> connecting IP, and find the fd# and grep out lines for that fd#. Kind >> o

Re: forkserver and logging

2005-11-30 Thread Robin Bowes
John Peacock said the following on 30/11/2005 22:14: > Max Clark wrote: > >> Two quick questions with the forkserver... >> >> - What is the best methodology for starting it? I am assuming that I >> should be using daemontools - does anyone have an example run file? I tried forkserver and, while i

require_resolvable_fromhost not working

2005-11-30 Thread Robin Bowes
Hi, I've just noticed that the require_resolvable_fromhost is not working correctly. @4000438e378500de407c 10434 Plugin require_resolvable_fromhost, hook mail returned DENYSOFT, Could not resolve newsletter.nectar.com @4000438e37850112b244 10434 denysoft mail from <[EMAIL PROTECTED]> (Cou

Re: Any plans to support vpopmail without requiring MySQL?

2005-12-19 Thread Robin Bowes
FX said the following on 19/12/2005 06:26: > Hi, > > I noticed that for vpopmail, qpsmtpd requires MySQL. > > Are there any plans to support non-MySQL vpopmail? I've written a plugin that authenticates against vpopmaild (available from CVS, planned for release in the next version of vpopmail).

Re: Any plans to support vpopmail without requiring MySQL?

2005-12-19 Thread Robin Bowes
FX said the following on 19/12/2005 16:59: > Robin Bowes wrote: > >> >> I've written a plugin that authenticates against vpopmaild (available >> from CVS, planned for release in the next version of vpopmail). >> >> It could do with being seen by a few more

Re: Plugin output to log

2005-12-26 Thread Robin Bowes
Robin Bowes said the following on 27/11/2005 14:39: > John Peacock said the following on 27/11/2005 03:01: > >>Robin Bowes wrote: >> >> >>>Is it possible to call the subs in the parent plugin? >> >> >>That's in the example in the REA

Re: Plugin output to log

2005-12-26 Thread Robin Bowes
Robin Bowes said the following on 26/12/2005 18:25: > When I try and use this be specifying logging/parseable in > config/logging, I get the following error when a connection is made to > the SMTP port: > > @400043b034d83ab51744 Can't locate object method "ne

Delay at startup

2005-12-27 Thread Robin Bowes
Hi, I'm building a new qmail/qpsmntpd installation on an x86_64 platform. All seemed to be going well until I tried connecting to qpsmtpd on port 2525. It takes slightly longer than 30 secs to respond with the smtp greeting. Here's my run file: #!/bin/sh QMAILDUID=`id -u qpsmtpd` NOFILESGID=`i

Re: Delay at startup

2005-12-27 Thread Robin Bowes
Robin Bowes said the following on 27/12/2005 15:19: > Hi, > > I'm building a new qmail/qpsmntpd installation on an x86_64 platform. > > All seemed to be going well until I tried connecting to qpsmtpd on port > 2525. > > It takes slightly longer than 30 secs to r

Re: Delay at startup

2005-12-27 Thread Robin Bowes
Bob Dodds said the following on 27/12/2005 18:08: > > Is tcpserver not loading qpsmtpd for those 30 seconds? It wasn't. > Can't be check_earlytalker's delay then. Nope. > Check your tcpserver dns-related options "-v -R -p". I think > that "-p" could be requiring a reverse ip lookup for ptr > r

Auth against existing htpasswd file?

2005-12-29 Thread Robin Bowes
Hi, I'd like to enable SMTP Auth against an existing htpasswd-generated file. Passwords in the auth file are encrypted using MD5, e.g.: htpasswd -c -m -b htpasswd user1 pass1 htpasswd -m -b htpasswd user2 pass2 Resulting file: user1:$apr1$I8RWV...$hMZbY.7S1n3ccgUKySa141 user2:$apr1$7W/ed/..$rg

Re: Auth against existing htpasswd file?

2005-12-29 Thread Robin Bowes
Robin Bowes said the following on 29/12/2005 13:20: > Hi, > > I'd like to enable SMTP Auth against an existing htpasswd-generated file. > > Passwords in the auth file are encrypted using MD5, e.g.: > > htpasswd -c -m -b htpasswd user1 pass1 > htpasswd -m -b htpass

Re: Auth against existing htpasswd file?

2005-12-29 Thread Robin Bowes
Robin Bowes said the following on 29/12/2005 15:54: > > in config/plugins: > > auth/auth_htpasswd auth_file=/path/to/htpasswd/file MD5=1 Ooops. This should be: auth/auth_htpasswd auth_file /path/to/htpasswd/file MD5 1 R.

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-02 Thread Robin Bowes
Andrew W. Donoho said the following on 02/01/2006 23:38: > On Jan 2, 2006, at 15:37, Robert Spier wrote: >> The "proper" way to do an install on FC4 is likely to use (or >> create) a RPM package. FWIW, here's how I install qpsmtpd on a FC4 system: Create qpsmtpd user with home dir /var/qp

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-02 Thread Robin Bowes
Rusty Conover said the following on 03/01/2006 01:15: > > On Jan 2, 2006, at 5:20 PM, Robin Bowes wrote: > >> >> I find I often need to run >1 instance of qpsmtpd (e.g. one on port 25 >> and another on port 2525). I currently simply use different run files >&

Re: check_delivery and dot-qmail-default

2006-01-03 Thread Robin Bowes
Göran Thyni said the following on 03/01/2006 08:39: > I have written a plugin we use on a mailserver with > users in /etc/passwd + multiple vpopmail (no sql) domains. > It works well with 0.28 > Attached. So, presumably qpsmtpd has to have read access to /home/vpopmail ? R. -- http://robinbowes.

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-03 Thread Robin Bowes
Robin Bowes said the following on 03/01/2006 00:20: > 1. a softlimit value of 3500 works for me on x86_64 (qpsmtpd process > is ~30M) I just enabled the tls plugin and memory usage jumped to ~45M! 7086 qpsmtpd 15 0 44112 12m 2788 S 0.0 0.6 0:00.31 qpsmtpd That's kinda

Relaying with tls

2006-01-03 Thread Robin Bowes
Hi, I've just started playing around with the tls plugin with the latest 0.31.1 branch and it seems to break relaying support. I'm using swaks for testing. Here's a couple of sample runs (I've replaced my email address and the hostname): [EMAIL PROTECTED] ~]# swaks --server localhost --port 2525

Re: Relaying with tls

2006-01-03 Thread Robin Bowes
Robin Bowes said the following on 03/01/2006 13:11: > Hi, > > I've just started playing around with the tls plugin with the latest > 0.31.1 branch and it seems to break relaying support. I forgot to add, relaying is enabled for localhost using tcpserver and /etc/stcp.smtp.cdb t

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-03 Thread Robin Bowes
Matt Sergeant said the following on 03/01/2006 15:09: > On 3 Jan 2006, at 07:35, Robin Bowes wrote: >> I'm going to be installing a mail server on an x86_64 box soon with an >> incoming concurrency of around 50. That's 2250MB RAM just for the >> qpsmtpd processes. E

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-03 Thread Robin Bowes
Robert Spier said the following on 03/01/2006 15:20: >>>1. a softlimit value of 3500 works for me on x86_64 (qpsmtpd process >>>is ~30M) >> >>I just enabled the tls plugin and memory usage jumped to ~45M! >> 7086 qpsmtpd 15 0 44112 12m 2788 S 0.0 0.6 0:00.31 qpsmtpd >>That's kinda big,

Re: check_delivery and dot-qmail-default

2006-01-03 Thread Robin Bowes
John Peacock said the following on 03/01/2006 15:40: > Pascal Dreissen wrote: > >> I realy think qpsmtpd is a little useless right now without a plugin >> wich checks if an e-mail address is correct on the local system! > > > Obviously your concerns are a little overblown, as others have already

Re: Relaying with tls

2006-01-03 Thread Robin Bowes
John Peacock said the following on 03/01/2006 15:50: > Robin Bowes wrote: > >> Robin Bowes said the following on 03/01/2006 13:11: >> >>> Hi, >>> >>> I've just started playing around with the tls plugin with the latest >>> 0.31.1 branch a

Re: Relaying with tls

2006-01-03 Thread Robin Bowes
John Peacock said the following on 03/01/2006 15:50: > The problem is that the RELAYCLIENT stuff is checked during the connect > hook, but TLS takes place later than that, and the appropriate bits were > not copied when the new TLS sessions is started. Try the following patch: > > Index: plugins/

Re: Relaying with tls

2006-01-04 Thread Robin Bowes
John Peacock said the following on 04/01/2006 01:26: > Robin Bowes wrote: > >>Any idea why remote_host and remote_ip are not making it through? > > > I banged on this for more than an hour today, and I cannot see what is going > on. > At one point, everything is se

Re: Fix for tls problems

2006-01-04 Thread Robin Bowes
John Peacock said the following on 04/01/2006 16:54: > Attached please find a proposed patch to fix the TLS/relaying problems. Cool. > -$self->qp->connection(Qpsmtpd::Connection->new( > - map { $_ => $conn->$_ } > -qw( D'you know, I thought that code looked just

Re: Fix for tls problems

2006-01-04 Thread Robin Bowes
John Peacock said the following on 04/01/2006 17:19: > John Peacock wrote: > >> I'm going to work on some other changes and apply them to the 0.3x >> branch (and then merge back to trunk), since it is odd that >> Qpsmtpd::Connection->new() doesn't do anything with any initializing >> parameters pa

Re: Fix for tls problems

2006-01-05 Thread Robin Bowes
John Peacock said the following on 05/01/2006 15:07: > John Peacock wrote: > >> Actually, how do the following patches look. I abstracted out the >> "hard" parameters of a Qpsmtpd::Connection object and added a clone() >> method. I don't like that plugins/tls needs to know what parameters >> of

  1   2   3   >