Running Multiple Copies of QPSMTP

2006-05-13 Thread Larry Nedry
Hi Folks, I need to run two copies of qpsmtpd on different IP addresses on the same server and each will be configured differently. Has anyone tried this? Are there any potential problems? Thanks, Nedry

Re: Running Multiple Copies of QPSMTP

2006-05-14 Thread Larry Nedry
On 5/14/06 at 9:45 AM Peter J. Holzer wrote: >Not only a discussion, it has also been implemented: Simply set the >QPSMTPD_CONFIG environment variable. It looks like QPSMTPD_CONFIG won't work with forkserver. I need to deploy two instances with different IP addresses and forkserver seems to ignor

Re: Running Multiple Copies of QPSMTP

2006-05-14 Thread Larry Nedry
On 5/14/06 at 4:51 PM Elliot Foster wrote: >If you're using the --listen-address below to specify the listening >addresses, then you don't have to worry about the config/IP file. He also wrote: >What is the problem you're seeing? You don't say what problem you're >running into. I need two instan

Trouble with transaction

2006-05-30 Thread Larry Nedry
Hi Folks, Fedora 2 qpsmtpd-0.32 I working on a plugin and am having trouble with $transaction->notes() and $transaction->header->add(). Here is my pared down code. sub hook_rcpt { my ($self, $transaction, $recipient) = @_; $transaction->notes('note-test', 'Hello World');

Order of Plugins in config/plugins

2006-07-01 Thread Larry Nedry
Folks, I've been using qpsmtpd for about three months and overall am happy with it. Most of my frustrations have come from either lack of documentation or difficulty in finding it. A forced crash course in Perl has been somewhat helpful but not enough. My current problem is, in what order do th

Re: Munin plugins for qpsmtpd

2007-05-23 Thread Larry Nedry
On 5/23/07 at 3:44 PM +0200 Kjetil Kjernsmo wrote: >Which lead me to http://www.almqvist.net/johan/blog/qpsmtpd/stats/howto/ >which is empty right now. FWIW, I've tried viewing this page in six different browsers on my Mac Pro. Firefox is the only browser that could view the page. With the other

Re: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-13 Thread Larry Nedry
On 2/13/08 at 10:08 PM +0100 Peter J. Holzer wrote: >With "redirect" I assume you want to send the message to some other >address(es). Just alter the list of recipients. See for example the >spamassassin plugin or the aliases_rewrite plugin (in contrib). > >To drop just write a queueing plugin whic

Re: [qpsmtpd] how to accept msg and drop or redirect?

2008-02-14 Thread Larry Nedry
On 2/13/08 at 5:08 PM -0600 Larry Nedry wrote: >On 2/13/08 at 10:08 PM +0100 Peter J. Holzer wrote: >>To drop just write a queueing plugin which doesn't actually queue the >>message. > >If you don't queue the message, how does it get delivered? Duh. Missed the keyw

hook_quit

2008-10-20 Thread Larry Nedry
I'm using qpsmtpd-forkserver 4.0 and am trying to figure out how to use hook_quit in a plugin. I've distilled my test plugin down to almost nothing and get this error message: "FATAL PLUGIN ERROR: Can't call method "log" without a package or object reference at ./plugins/check_quit line 4, line

Re: [qpsmtpd] host name of connecting host?

2009-06-22 Thread Larry Nedry
On 6/22/09 at 1:23 PM + b-sub-0bfe...@rope.net wrote: >I'd like to retrieve the HOSTNAME. Can someone please point out how to get >that information into a plugin? Thanks. sub hook_mail { my ($self, $transaction, $sender) = @_; my $host = $sender->host; return DECLINE

Re: [qpsmtpd] host name of connecting host?

2009-06-22 Thread Larry Nedry
On 6/22/09 at 8:50 AM -0500 Larry Nedry wrote: >On 6/22/09 at 1:23 PM + b-sub-0bfe...@rope.net wrote: >>I'd like to retrieve the HOSTNAME. Can someone please point out how to get >>that information into a plugin? Thanks. > > >sub hook_mail { >

Patching require_resolvable_fromhost

2009-07-29 Thread Larry Nedry
Hi All, The require_resolvable_fromhost plugin returns DENYSOFT when a host doesn't resolve. This makes sense with a well behaved host. But I've noticed that some hosts that don't resolve will continuously retry and never seem to disconnect. Sometimes this goes on for days. Is there a good rea

Re: Patching require_resolvable_fromhost

2009-07-30 Thread Larry Nedry
On 7/30/09 at 11:18 AM -0400 Charlie Brady wrote: >Do they really fail to disconnect *and* continuously retry? That >combination seems umlikely to me. Of course this has caused my log files to rollover much faster than usual but I did capture the logs for a stretch of 6.0 hours for a single connec

make test

2009-12-28 Thread Larry Nedry
I'm installing qpsmtpd 0.83 on a new server running CentOS 5.4. When I run make test I get an unexpected message, "command not performed". Is this an issue that I need to resolve? Nedry [r...@x2 qpsmtpd]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,

Re: Patching require_resolvable_fromhost

2010-02-06 Thread Larry Nedry
On 7/30/09 at 3:37 PM -0500 Larry Nedry wrote: >This "woodpeckering" has been going on non-stop for the last 4 days. On >average each connection was retrying about 25 times per minute. At its >peaks there were about 30 connections, each retrying at about 60 times per >minut

Required Perl Modules

2010-02-15 Thread Larry Nedry
I'm wondering if Net::IP should be added to the list of required modules. It is used in check_relay, p0f and require_resolvable_fromhost plugins. Also "make test" fails if it is missing. I've pushed my Makefile.PL changes out to github. Nedry