From: Richard Foley (no email)
Date: Thu Jul 03 2008 - 03:12:25 EDT
On Thursday 03 July 2008 05:05:57 Gary V wrote:
>
> > 8CA46141702C 77984 Wed Jul 2 13:09:27 root
> > (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:
> > Connection refused)
>
> So most likely amavisd-new has stopped or is otherwise not responding.
>
I don't know how you get to amavisd-new from the above postfix error message. Although I suspect many people using postfix have come across something similar before, and hence were able to help me identify the real source of the problem, or rather the place where the problem manifested itself.
> amavisd debug
>
Having identified amavisd as the culprit, via another route, and the many helpful suggestions on this postfix list, yes, this is clearly the next place to look.
> Amavisd-new does not use spamd, it loads the Mail::SpamAssassin Perl module
> directly. Unless you are scanning mail twice, you typically do not, and
> should not start up spamd.
>
Thanks for this tip.
> It cannot be determined what the cause of the amavisd-new failure is without
> seeing log entries or the result of debugging.
>
Correct - it turns out that it may actually be a memory problem unrelated (directly) to amavis or postfix, but to the system itself.
#> amavisd-new debug
Jul 3 06:58:50 blix.rfi.net /usr/sbin/amavisd-new[15341]: starting. /usr/sbin/amavisd-new at blix.rfi.net amavisd-new-2.4.2 (20060627), Unicode aware
Jul 3 06:58:50 blix.rfi.net /usr/sbin/amavisd-new[15341]: user=, EUID: 0 (0); group=, EGID: 0 0 (0 0); log_level=
Jul 3 06:58:50 blix.rfi.net /usr/sbin/amavisd-new[15341]: Perl version 5.008008
<snip>
Jul 3 06:58:58 blix.rfi.net /usr/sbin/amavisd-new[15341]: SpamControl: init_pre_fork done
Jul 3 06:58:58 blix.rfi.net /usr/sbin/amavisd-new[15341]: Net::Server: Beginning prefork (2 processes)
Jul 3 06:58:58 blix.rfi.net /usr/sbin/amavisd-new[15341]: Net::Server: Starting "2" children
Jul 3 06:58:58 blix.rfi.net /usr/sbin/amavisd-new[15341]: Net::Server: 2008/07/03-06:58:58 Bad fork [Cannot allocate memory]\n at line 159 in file /usr/share/perl5/Net/Server/PreForkSimple.pm
Jul 3 06:58:58 blix.rfi.net /usr/sbin/amavisd-new[15341]: Net::Server: 2008/07/03-06:58:58 Server closing!
And I'm including this here as a final footnote, so that other people may benefit from our pooled experience.
The problem is not postfix, but postfix (thankfully) gave us the original error message and a place to start looking for the actual problem.
The problem is not amavisd-new, but amavis identified the real problem in the end (see above).
> I suggest that the result of what you find in the log or the debugging
> session is directed to the amavis mailing list.
>
Even if this was an amavis problem in the end, which it was not, this is a bit like closing the stable door after the horse has bolted, but again, thanks for the tip.
;-)
-- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/
|
|
|