|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: pop-before-smtp qpopper support
From: Adam Shand (larry
alaska.net)Date: Fri Jun 09 2000 - 22:04:25 CDT
- Next message: Tan Swee Heng: "Content Filtering - macofida 0.4 available"
- Previous message: Jonathan Bartlett: "Re: aliases problem"
- In reply to: Piotr Klaban: "Re: pop-before-smtp qpopper support"
- Next in thread: Bennett Todd: "Re: pop-before-smtp qpopper support"
- Reply: Adam Shand: "Re: pop-before-smtp qpopper support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> On Fri, Jun 09, 2000 at 09:05:29AM +0400, Alexander Nosenko wrote:
> > (slightly offtopic) note: all maillog-watching-Perl-script based
> > pop-before-smtp implementations I saw have (small) common problem: they
> > don't track maillog rotation. The script should be stopped/restarted in
>
> This is not the case with poprelayd. This script can work fine for
> several months without rotation. It can find out that the log was
> rotated by looking at inode of the file.
the version of poprelayd on cynic.net has this problem, but it depends on
how you roll your logs. if you:
# mv log log.0
# touch log
then it works fine because it watches for inode changes. however if you
(which is more syslog friendly):
# cp log log.0
# cp /dev/null log
then the inode doesn't ever change and poprelayd pukes. not only do you
have to stop and start poprelayd but you have to clear the database before
it will start working again. to fix this we simply added another check
(it does the inode lookup already so it's no big deal) to make sure that
the size of the log file hasn't gotten smaller since the last time.
if anyone would like a copy of our code i am happy to post it but it is
currently setup to work with sendmail not postfix. we also fixed several
logic errors in the code, and removed a lot of code which wasn't being
used which made it run noticably faster.
adam.
- Next message: Tan Swee Heng: "Content Filtering - macofida 0.4 available"
- Previous message: Jonathan Bartlett: "Re: aliases problem"
- In reply to: Piotr Klaban: "Re: pop-before-smtp qpopper support"
- Next in thread: Bennett Todd: "Re: pop-before-smtp qpopper support"
- Reply: Adam Shand: "Re: pop-before-smtp qpopper support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]